Single module setup

This commit is contained in:
Draycia committed 2020-08-21 22:04:21 -07:00
1 parent ad9a794156
commit 66217f6534
70 files changed
+92 -138

No files matched your search

@@ -0,0 +1,26 @@
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);
}
}