It does work, but all usernames are case sensitive. IE: setOwner("Timr"); //works setOwner("timr"); //fails
input = ""; input = contents.toString(); If you try and split that, you'll get a String[] with no KVPs. That's why you get an exception. I...
if(!(str == names.get(names.size() - 1))) {}
Please please please use .equals() or .equalsIgnoreCase() to compare Strings.
Are you constructing your MySQL class properly? It seems that the NFE is coming from something above this class
ItemStack is an immuatble object, meaning that you cannot change it using static methods. here's some pseudo-code to redefine a String (which also...
Very nice, excellent work.
Check that the action is interacting with a block before you try and get the block, or you'll get errors like the ones you're experiencing.
public void setBlockFast(int x, int y, int z, String world, int typeID, byte data) { Chunk c = Bukkit.getWorld(world).getChunkAt(x, z);...
Can you show us the code you tried to use?
Heh, HashMap<String, List<List<String>>>;
HashMap<String, List<String>>, The first parameter is the player's name, the second is their string list. Use .get(Player.getName()) to get...
String a = "Hey, my name is Timr!"; a = a.substring(0, a.length() - 2); System.out.println(a); The above will print "Hey, my name is Tim"
String a = "&cHey! &3I like colours, &4do you?!"; //"a" contains a string with colour codes a = ChatColor.translateAlternateColorCodes('&', a);...
Are there two or more players online when you try to use the function? It should work.
Separate names with a comma.