mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 22:16:22 +00:00
27 lines
726 B
Java
27 lines
726 B
Java
package net.draycia.carbon.storage;
|
|
|
|
import net.kyori.adventure.text.format.TextColor;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
public interface UserChannelSettings {
|
|
|
|
boolean isSpying();
|
|
void setSpying(boolean spying, boolean fromRemote);
|
|
default void setSpying(boolean spying) {
|
|
this.setSpying(spying, false);
|
|
}
|
|
|
|
boolean isIgnored();
|
|
void setIgnoring(boolean ignored, boolean fromRemote);
|
|
default void setIgnoring(boolean ignored) {
|
|
this.setIgnoring(ignored, false);
|
|
}
|
|
|
|
@Nullable TextColor getColor();
|
|
void setColor(@Nullable TextColor color, boolean fromRemote);
|
|
default void setColor(@Nullable TextColor color) {
|
|
this.setColor(color, false);
|
|
}
|
|
|
|
}
|