Sorry, I'm pretty unexperienced at Java. On top of that, I am coming from C where a lot of the public/private anonymous constructor...
http://wiki.bukkit.org/Configuration_API_Reference
Does anyone know how I can access getConfig() in a repeating task? Here is a section of my code:...
Thanks, I had a bit of a brainfart and didn't think to do that. When saving the date, would using the unix time be easiest, then check if it is...
I want to have a maximum amount of transactions that resets at the end of every week. I can't really schedule an event for a week because the...
I am very new to Java, so this might sound derpy. But if I initialize them inside onEnable, am I correct that other methods can't access it? Just...
Here is the code: ScoreboardManager manager = Bukkit.getScoreboardManager(); Scoreboard board = manager.getNewScoreboard(); //<- Error on...
Whenever I start a server with my plugin, I will get an error on .getNewScoreboard(); and my plugin doesn't load. The error doesn't show up in...
do pi.getTypeId()
Thanks guys, this worked. I'm just wondering, does anyone know why == used to work, but now doesn't?
I have a plugin where you decide what class you are by right clicking with the corresponding book. The book is named "Become a Miner" for example,...
Well I feel stupid, marked as solved. Thanks!
How can you get a player out of the CraftItemEvent? I can only get a HumanEntity out of it, but I need a player so that I can take experience...
From what it looks like (I'm new to coding though), the command will ALWAYS return false, and therefore cancel the effects of the command and then...
Did you include it when exporting the plugin?
Separate names with a comma.