Thanks for your reply, but now I have a different error: [17:37:06 ERROR]: Could not load 'plugins\DatabaseManager.jar' in folder 'plugins'...
Hi, I have a main jar, called MCServerMain.jar, and other called DatabaseManager.jar. MCServerMain uses DatabaseManager. There are no errors in...
else if (args[0].equalsIgnoreCase("give")) { sender.sendMessage(ChatColor.translateAlternateColorCodes('&', "&c(!) You might wanted to...
Hi Is there a way to have multiple team prefixes? I have several ranks on my server and the players can choose a team so currently I have a...
Yes, I know that, but I want the function to take the enum type as a parameter, then return (the given enum).valueOf(s)
I mean I want to pass the enum type as a parameter, then get the value from that
Hi, Let's say I have the following: EntityType type = EntityType.ENDERMAN; String stringRepresentation = type.name(); Then, regardless which...
Excellent, thanks!
Hi, Just as you can send a packet to the client saying a block is a different type, and when they right-click it, it updates, is that possible...
@MisterMel p.getOpenInventory() always returns their player inventory regardless whether it's open or not @Caderape2 I would like to check...
Hi, Is there any way to tell whether a play has an inventory open with a direct check as opposed to the following: InventoryOpenEvent: invOpen =...
Pathfinding has changed a lot I tried moving the code to the spawn() function instead, because "this" was being used in initAttributes() which...
Hi There's no sign of documentation anywhere on earth for up-to-date minecraft plugin development. I want to make my CustomSkeleton target...
I've used this code many times and it's very reliable. It creates an empty list of strings, then opens the file and reads each line into the...
This should do the job. 1) You don't need to tell "hit" anything because only "hitter" hits. 2) I've corrected "hitter" 3) I modified the HashMap...
I need it only for players, unfortunately :/ I've written the following code but the head movement is crazy and the player gets teleported...
Hi How can you set an entity's head direction without teleporting it? Teleporting is glitchy.
The best way is to download a hacked client and see what it's capable of. For example, with Killaura, get a few friends to PVP on your server,...
I haven't tested but instead of setting the boots etc to null, do: p.getEquipment().getArmorContents().clear();
I did exactly the same thing yesterday. import org.bukkit.block.Sign; int taskID = 0; // inside your event or whatever, paste everything past...
Separate names with a comma.