Hey, I'm the developer and HeavySpleef. Please always make sure to update to the latest version (currently 2.3) available on BukkitDev (Also...
@Eggspurt You may download the jar directly from the Maven repository:...
It's actually pretty simple to change a string in the string-pool. I figured this out, by changing the "value" field inside the String class. It...
Maybe you are right. I will try it... Thanks for the help :)
Hello everyone, I'm currently working on a feature to set the player tags longer than 16 characters. I now that this is possible because I have...
Hello everyone, I got a little problem with my API. I've wrote a little API for my Spleef plugin HeavySpleef. Now everytime I try to register...
It can't return null. I tested the plugin without the clone and the itemstacks weren't null (If I don't clone the itemstack, the plugin won't work...
Hello there, I have a little problem with cloning itemstacks. So everytime I want clone a itemstack it gives me a NullPointerException... So,...
Just do it in a loop: if (commandLabel.equalsIgnoreCase("blabla")) { for (Player p : Bukkit.getServer().getOnlinePlayers()) {...
You can get a file as a 'Resource' or as a 'ResourceAsStream'. In your case you should do something like this to get a 'File' File picture = new...
There is an api for the worldguard plugin. It has an method named canBuild(); You can use it to check if a player can build at a location (in...
WorldGuard has a documentation how use the API of it. Maybe you should implement this method to get WorldGuard instead of using the...
Ok, the code now compare the material and the durability. But it did not work. So I have added another debugg code that gives the player an...
Oh sorry, I don't meant your code... I meant the first code from Merciless. Sorry if I quoted wrong, I'm new to the forum :)
I tried it but it don't works :( Another idea how to fix it?
Separate names with a comma.