Begin color preference changes

This commit is contained in:
Draycia committed 2020-11-06 02:19:50 -08:00
1 parent af705e7812
commit 77e74d05a3
8 files changed
+155 -96

No files matched your search

@@ -1,6 +1,7 @@
package net.draycia.carbon.api.users;
import net.draycia.carbon.api.channels.ChatChannel;
import net.kyori.adventure.text.format.TextColor;
import net.luckperms.api.model.group.Group;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
@@ -29,6 +30,10 @@ public interface PlayerUser extends CarbonUser {
@NonNull String name();
@Nullable TextColor customChatColor();
void customChatColor(@Nullable TextColor customChatColor);
@NonNull String parsePlaceholders(@NonNull String input);
@NonNull UserChannelSettings channelSettings(@NonNull ChatChannel channel);
@@ -107,15 +112,15 @@ public interface PlayerUser extends CarbonUser {
@NonNull Iterable<UUID> ignoredUsers();
boolean hasGroup(final @NonNull String group);
boolean hasGroup(@NonNull String group);
boolean hasGroup(final @NonNull Group group);
boolean hasGroup(@NonNull Group group);
@NonNull Collection<@NonNull Group> groups();
@Nullable Group primaryGroup();
void sendMessage(final @NonNull PlayerUser sender, @NonNull String message);
void sendMessage(@NonNull PlayerUser sender, @NonNull String message);
@Nullable ChatChannel selectedChannel();