πŸ«—Methods

Send Alerts to the entire network

Method: sendAlert(String message)

Get the Staff List

Method: getStaffList() returns a Map<String, String[]> A map containing Staff names, and an Array with the rank (0) and server (1). If no staff is conected, it returns an empty map.

Get Player List

Method: getList(Boolean byRank) returns Map<String, List> If true, it returns a map containig Rank, and a list with every player with that rank. If false, a map containing Server and a list with every player on that server. If no players connected, returns an empty map

Send a Message to StaffChat or Adminchat

Methods: sendStaffChatMessage(String playerName, String message, @Nullable String serverName) and sendAdminChatMessage(String playerName, String message, @Nullable String serverName) You have to set a player name, the message you want to send and the server the player is connected to. If the last one is null, it will be marked as "Server unknown" with the message in the config

Last updated