mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
34 lines
699 B
Java
34 lines
699 B
Java
package net.draycia.carbon.storage;
|
|
|
|
import net.kyori.adventure.text.format.TextColor;
|
|
import org.checkerframework.checker.nullness.qual.Nullable;
|
|
|
|
public interface UserChannelSettings {
|
|
|
|
boolean spying();
|
|
|
|
default void spying(final boolean spying) {
|
|
this.spying(spying, false);
|
|
}
|
|
|
|
void spying(boolean spying, boolean fromRemote);
|
|
|
|
boolean ignored();
|
|
|
|
void ignoring(boolean ignored, boolean fromRemote);
|
|
|
|
default void ignoring(final boolean ignored) {
|
|
this.ignoring(ignored, false);
|
|
}
|
|
|
|
@Nullable
|
|
TextColor color();
|
|
|
|
default void color(@Nullable final TextColor color) {
|
|
this.color(color, false);
|
|
}
|
|
|
|
void color(@Nullable TextColor color, boolean fromRemote);
|
|
|
|
}
|