gabessdsp I've also checked for online players and I didn't get any errors. I've also used it a lot of times for saving player data. When I use...
gabessdsp What are you talking about? Players are kicked after onDisable() is executed.
LegoPal92 I spend a lot of time trying to figure out how to do it without logging it yourself. I've searched CraftBukkit source code and if I...
Technius It's just a template.
- CubieX Why so complicated and inefficient? gamermanh I would do it this way: private ArrayList<Player> joiners = new ArrayList<>();...
Donald8274 These 2 lines are in a good method, you don't need to move it anywhere else.
Shouldn't this only work when player is in creative? @MineDoubleSpace I would do it so. And this would also block from leaping again in air....
getServer().getPluginManager().registerEvents(playerListener, this); or add a line plugin = this;...
Donald8274 You either first initialize it, or simply use "this" as an argument.
Donald8274 You haven't initialized "public static UselessPlugin plugin", but you are use it to register events. Also: You don't need to listen...
This task lets invClose() method to finish, so the inventory actually closes, before opening a new one. Typically this would be done by cancelling...
Simulated this error myself. This should fix it: Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() { public void run() {...
It would be helpful to see the error that won't stop flooding your console.
AranhaGameplayBR I'm afraid to say, but you are missing 6 brackets... If you don't care about readability, then add them after line #73. When you...
That's a lot of nesting and without spacing. You probably forgot to put a curly bracket somewhere.
Separate names with a comma.