Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
You would replace it with getPlayer(), which would return the player who is breaking the block.
You can also use the Decimal Format class:
double kdr = (double)kills/(double)deaths;
Decimal Format df = new DecimalFormat("#.##");...
What doesn't work?
Thank you :)
I was wondering if it is possible to set a npc player's skin to a raw base64 texture string.
For example when a skin is being fetched...
It seems to me that you are trying to get the name of a city from the name of one of the citizens. Instead of searching through the config, load...
Can't you give the item a UUID and then save the entity to a config file? When the player clicks the item with the UUID, it generates that...
What is on line 22? I am guessing your "core" variable is null.
make a new TextComponent object then do