Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(CoreServer): adjust methods to match the ones in Core #255

Merged
merged 6 commits into from
Dec 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/main/java/minevalley/core/api/CoreServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ public interface CoreServer {

void callEvent(Event event);

User getUser(UUID uuid);

String getName(UUID uniqueId);

UUID getUniqueId(String name);

OnlineUser getOnlineUser(Player player);

void registerCommand(PlayerCommand command);

void sendTeamChatMessage(String message);
Expand Down Expand Up @@ -120,10 +128,6 @@ public interface CoreServer {

double getStatistic(String key);

User getUser(UUID uuid);

OnlineUser getOnlineUser(Player player);

ChatMenu createChatMenu(ChatMenu.Option... options);

ChatMenu createChatMenu();
Expand All @@ -136,10 +140,6 @@ public interface CoreServer {

Gson getGson();

String getName(UUID uniqueId);

UUID getUniqueId(String name);

String removeColorCodes(String text);

String convertColorCodes(String text);
Expand Down
Loading