Bad: Player player = (Player) sender; ... Do your stuff ... Good: if(sender instanceof Player){ Player player = (Player) sender; .... Do...
@alex3413 Is it only me, or does this make no sence: if(args.length == 0) if(args[0].equalsIgnoreCase("")) ... You only execute that when there...
@space1188 I would guess it's while using /setspawn. You are trying to serialize a World. Try using the worlds name. ;) To be exact: line 24....
Just wanted to say, there is also a tool by S1mpl3x. It's old, but it's still good to use for simple Skelletons. I updated it some years ago....
Well good luck then.
@fatpigsarefat This is not true. It has to run ATLEAST at the version the plugin is compiled. You can run java 7 compiled plugins with java 8....
@DrawThatRedstone are you sure, you are starting with >= java 7? Try using the command java -version in the console (not minecraft, the normal...
1st: with the BukkitRunnable, you get a BukkitTask back. This is much easier to handle than the taskID from the scheduler. Cancle task with...
@Nosma_Stew Not sure, are you thinking of this? zombie.setCanPickupItems(false);
@DrawThatRedstone I would also recomend to not use the /reload command. Many plugins do not support this command. Also if you changed any jar file...
@wesley27 with that insight, I would say you are good to go with one async task executing everything. Something like this: private void...
This would be my guess: List<String> uppercaseWorlds = config.getStringList("world-list"); for(int i=0;...
@wesley27 If you only need it once and it can be done in an async task, then that solution is better of course. The possitive part about callbacks...
@wesley27 You do not get a return value on Callbacks. That's the clue of them. You have to execute your code in the callback (as @mythbusterma)...
@mythbusterma 100% correct. I will edit my example for the variables. @wesley27 EDIT Edited Example above.
Separate names with a comma.