I'm saving ItemStacks with the slot in inventory which they belong in added to their serialized Map<String, Object>. After retrieving the Map, do...
for (Entry<String, ArrayList<String>> e : teams.entrySet()) { String teamName = e.getKey(); ArrayList<String> teamMembers = e.getValue(); stuff }...
Caused by: java.lang.IllegalArgumentException: Name cannot be null This is what getWorld(String name) is returning. So clearly, whatever you're...
Nonono, it's a simple matter of, BlockRedstoneEvent is behaving exactly as intended. You just need to check whether the old current was off and...
You're on the right track, but really,...
This is caused by the new getHealth system where the devs have created some trickery to allow the getHealth() functions to return either a double...
assuming that your getStringList is correct, that's how you get a random word, but before attempting to get a random word you have to ensure that...
Java is a compiled language; it cannot be parsed. I am currently developing a plugin that will allow you to parse JavaScript (a different, though...
Uhh that code is not causing the server to freeze. Adding things to arraylists or sets won't do that, unless you're doing async modification. You...
well apparently your array words sometimes has a size of zero...
Well what is line 54? Because that's where the problem is. at com.gmail.marbolgames.CommandExecutorClass.onCommand(CommandExecutorClass.java:54)
You're trying to select one player at random when no players are online.
Test each part of your code individually, with test commands and logging. I'm not going to review your entire plugin without you telling me where...
The problem is that your config is misformatted and cannot be read. This causes plugin.getConfig().getString("Loc.world") to return null, and thus...
http://forums.bukkit.org/threads/common-mistakes.100544/page-5 scroll down to my post But that will only resolve plugin conflicts, it's not...
Oh yeah, don't put players in lists. http://forums.bukkit.org/threads/common-mistakes.100544/
oh lol you had originally put a ScheduleSyncRepeatingTask *inside* of a BukkitRunnable. Though converting it to a BukkitRunnable may make it...
You have to check whether e.getX() is actually a Player (using instanceof) before casting it to Player. Otherwise, if a mob hurts a player, or a...
Unless you're in an async thread (eg. you're listening to AsyncPlayerChatEvent, in which case use .runTask(...)), just use a method call. class...
A quick search doesn't find plugin.getWarpsConfig().getString( anywhere in the code you posted. What class and line number is it? getWarpsConfig()...
Separate names with a comma.