1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 14:59:20 +00:00

Added a way to get the Floodgate prefix using the API

This commit is contained in:
Tim203
2021-03-26 18:13:04 +01:00
parent bdcc7795c4
commit d27cc9479f
5 changed files with 27 additions and 5 deletions

View File

@@ -40,6 +40,12 @@ public interface FloodgateApi {
return InstanceHolder.getApi();
}
/**
* Returns the character(s) that will be added in front of a Bedrock player's name to prevent
* username duplicates.
*/
String getPlayerPrefix();
/**
* Returns all the online Floodgate players.
*/