BUNGEEUTILS
FEATURES:
NEED HELP?:
WHAT ARE THE METHODS?:
Also, These Server s and proxiedplayer p's are just variables it basically means that you need to insert a proxiedplayer or a server. so for example BungeeUtil.getServerName(player.getServer, false);
Imports:
net.md_5.bungee.api.connection.ProxiedPlayer
net.md_5.bungee.api.connection.Server
(for the BungeeUtil.)me.birthdates.bungeeutils
TOS:
DOWNLOAD:
FEATURES:
- Simple and easy to use
- Very common methods.
- Easy API.
- a WIP
- First put the BungeeUtils.jar into your bungeecord plugins folder.
- Then start up the server and you go the utils
NEED HELP?:
- Join my discord https://discord.gg/SPrfbym
WHAT ARE THE METHODS?:
Also, These Server s and proxiedplayer p's are just variables it basically means that you need to insert a proxiedplayer or a server. so for example BungeeUtil.getServerName(player.getServer, false);
Imports:
net.md_5.bungee.api.connection.ProxiedPlayer
net.md_5.bungee.api.connection.Server
(for the BungeeUtil.)me.birthdates.bungeeutils
- getServerName(Server s, booelan FirstLetterCaps)
- Example: String name = BungeeUtil.getServerName(server, false);
- Response: (Lets say the server name was hcf) "hcf" (if the FirstLetterCaps is true) "Hcf"
- getRandomGlobalPlayer()
- This one is simple, It just gets a random player on the network(as a proxiedplayer)
- Example: ProxiedPlayer random = BungeeUtil.getRandomGlobalPlayer();
- getRandomPlayer(Server s)
- This one will just give you a random player from a server.
- Example: ProxiedPlayer randomserverplayer = BungeeUtil.getRandomPlayer(server);
- getDisplayName(ProxiedPlayer p)
- Example: String displayname = ServerUti.getDisplayName(p);
- This will just give you them their display name for example a nickname in essentials.
- getServerPlayers(Server s)
- Example: int players = BungeeUtil.getServerPlayers(hcf);
- getGlobalPlayers()
- Example: int globalplayers = BungeeUtil.getGlobalPlayers();
- Response: It will give you all of the current online players on the bungee.
- getPlayerPermissions(ProxiedPlayer p)
- Example: List<String> perms = BungeeUtil.getPlayerPermissions(p);
- Response: This will basically give you all of the permissions for a certain player in an arraylist(basically a list)
- getServerMotd(Server s)
- Example: String motd = BungeeUtil.getServerMotd(hcf);
- Response: This will basically give the server's motd given (from the config).
- getPlayerPing(ProxiedPlayer p)
- Example: int ping = BungeeUtil.getPlayerPing(p);
- Response: It will give you any players ping(only a proxiedplayer).
TOS:
- When you download BungeeUtils you agree to
- Not redistributing any of its code.
- What is the "Server s and ProxiedPlayer p???":
These Server s and proxiedplayer p's are just variables it basically means that you need to insert a proxiedplayer or a server. so for example BungeeUtil.getServerName(player.getServer, false);
DOWNLOAD:
Last edited:
