mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Begin color preference changes
This commit is contained in:
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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user