for (Player ops : p.getWorld().getPlayers()) { // Ignore a player if they have this permission if (ops.hasPermission(permission))...
The code you have is fine, however the foreach loop does not store the variable. So you'll need to do it like so: // Convert the List<String>...
Try cancelling the event. That has been said to work in the past.
ItemStack[] stack = list.toArray(list.size()); Where list should be a List<ItemStack> object.
p.getWorld().getEntitiesByClass(Wolf.class) will get every Wolf entity in the world. Therefore, you want to do something like this inside your...
In both the errors, you're providing an integer where the replace method requires a string. Easy fix. All you need to do change "a.maxplayers" on...
Because this is now natural Minecraft behaviour, I very much doubt there is any easy way to change it. It would likely mean messing with...
scheduleSyncRepeatingTask is deprecated, use BukkitRunnable.runTaskTimer() instead. Basically all you should need to do is change what you are...
Yeah I know. It's always good to have one to know how it feels to use the app, especially since it's a wearable device :)
How do you plan on integrating Google Glass support? Do you own one of the devices to test it with?
Been looking into reviving this as one of my lighter projects to write after a tiresome day at in the office....
Try this as your plugin.yml file. If it fails, the chances are there is something wrong inside your "Am" class file.
Yeah it would be down to the "Am" and "am" capitalisation. Try registering it without capitals, it's case-sensitive.
Designed for quick and easy setup of an MySQL connection, with the ability to process SQL updates concurrently. Released under GNU GPLv3 License....
Digging this up a bit... Looked into this tonight for my own uses. As far as I can see, it's a deeper issue with Ebean and not Bukkit (the way it...
There's a wiki page which should explain all http://wiki.bukkit.org/Configuration_API_Reference
I've looked into this myself since I do a lot of travelling to/from places where I'm often bored. There doesn't seem to be an easy solution to it,...
Will it send a message if the animal is an adult? If so then you'd be correct in saying that it doesn't work on the current dev builld, if that's...
Sounds like your plugin.yml isn't packaged when you export your plugin to a jar file. When you go to export it in eclipse, make sure that the file...
There's PlayerInteractEntityEvent you could use for getting the Entity from a right-click. In the event method, get the player and then get the...
Separate names with a comma.