PlayerAPI
Use the PlayerAPI to get a lot of new methods for the player.
Did you ever want to have a method for change the name of
a player? - maybe the PlayerAPI can help you.
(A help for people who started working with the Spigot API)
CustomPlayer - Class
CustomPlayer player = new CustomPlayer(String);
CustomPlayer player = new CustomPlayer(UUID);
isOnline()
getName() | return the name of the player
getUUID | return the UUID of the player
getPing() | return the ping of the player
sendActionbar(String) | send a Message over the Hotbar
hasPermission(String)
getIp() | return the Ip of the player
addPermission(String) | add a permission to a player
removePermission(String) | remove a permission from a player
setName(String) | set a new name for the player (over the head, ...)
setTabListName(String) | set a new name on the TabList for the Player
setSkin(String) | set a new skin for the player
respawn() | auto respawn the player if he is dead
fakeRespawn() | reload all chunks for the player (use e.g. to reload the skin for him self)
setCustomName(String) | set a new CustomName
getCustomName() | return the Custom name of the player
isSwimming() | return if the player is swimming
(also a lot of methods from the normal player class)
Player() | define the CustomPlayer to a Player
CraftPlayer() | define the CustomPlayer to a CraftPlayer
EntityPlayer() | define the CustomPlayer to a EntityPlayer
PlayerUUID - Get the Real Name/UUID of a player
PlayerUUID.getUUID(String) | get the real uuid of a player
PlayerUUID.getName(UUID) | get the real name of a player
You need help?
[email protected]
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta