Yeah, in your setLevel method, you concatenate their level to the path name, eg: players.rohan576.level1337 Therefore, as you figured out, you...
Gater12 Just as a note, you don't need to tahg people on their own threads. They automatically are watched unless explicitly un-watched.
Try checking if such a field exists in the config before trying to access it. if (!Core.getInstance().contains("players." + p.getName() +...
If you're using Team objects for prefixes, you can use: String prefix = scoreboard.getPlayerTeam(player).getPrefix(); // replace scoreboard with...
MCForger mythbusterma Thanks for the help! I was thinking, and I assumed that was what I should do. I ended up using MCForger 's method because...
Hey guys. In my plugin, I don't want people to be able to launch fireworks, so I want to cancel some kind of event when it occurs. However, I...
The event very simply checks for it being an arrow damaging a player (verified to be working), and then cancels it. The problem with this is that...
Hey guys, I'm here with a relatively small problem that I just haven't been able to solve. When a player is riding an arrow, at one point in the...
zakarls There isn't enough context for me to tell what's going on. However, I'd highly suggest loading the blocked word list in onEnable(), since...
superchris05326 if (event.getRightClicked() instanceof Witch) { if (event.getRightClicked().getCustomName().contains("Elder Wizard")) {...
Why don't you like... you know... test it? But in all seriousness, what you have posted should work correctly.
Please don't double post. Also, if you wanted to do it yourself... @EventHandler public void onPlayerDrop(PlayerDropEvent event) { if...
While I'm really not sure if this will work, do try setY(1.0), instead of an integer.
You'll need to use a ChatSerializer to achieve that.
Hello! I have a little function that uses packets to change the nametag of a player. Even though I'm positive that I'm using Bukkit 1.7.8,...
Reddcola Here's a method that is almost exactly what you want. First, you'll need evilmidget38's UUIDFetcher, then you can use this (made by...
Hello everyone! I've done a good hour of searching, and no where can I find a way to change the name tag of a player. I suppose you could say I'm...
MordorKing78 Well, that's exactly what it does.
To see if a player has a permission, just do <Player>.hasPermission("permission.permission"); As for coding a custom permissions plugin, you can...
Here, have this. I made this a while ago; perhaps you could format it to your liking. Add an item: public static void addItem(String player,...
Separate names with a comma.