Files
Carbon/src/main/java/net/draycia/carbon/storage/UserChannelSettings.java
T
2020-08-21 22:04:21 -07:00

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);
}
}