MinecraftServer#getPlayerList() contains players, a mutable CopyOnWriteArrayList of EntityPlayers. Bukkit#getOnlinePlayers() is a...
I'm not entirely sure about that, though I came up with a simpler solution: change the spawner range in PreSpawnerSpawnEvent (in Paper API) which...
Oh, the reason it is saying this is that you have to be looking at a certain spawner to change its own spawner range. I guess I misunderstood your...
Oh sorry, forgot that Mediafire is not allowed. https://www.dropbox.com/s/n7v3hnkdve92zsq/SpawnerRange-1.0-SNAPSHOT.jar?dl=0
Working on it. Give me a few hours EDIT: Plugin's done. Download it <Edit by Moderator: Redacted mediafire url> here[/URL]. Note: What the...
Have you ever been to the need of creating commands without having to use the plugin.yml? Perhaps you wanted to make your command and permission...
I don't think it's ideal if you write the JSON text yourself. If I recall correctly, gson is bundled inside Bukkit. You could do something like:...
If I recall correctly, runTaskTimer returns an integer representing the task ID, which is required by Bukkit.getScheduler()#cancelTask(int).
Hello. In my plugin (1.14.2), I have to store persistent data on a custom spawner, this allows me to track entities that this spawner spawns and...
Hm it was simpler than I thought; there is PlayerKickEvent and a #getReason(), allowing me to cancel the event if the reason is flight and the...
I'm aware of that, but servers should not disable the flight check just for the plugin, and players will not be flying all the time either. I...
Hello. In a plugin I'm working on, players get launched in the air and whatnot and they occasionally get kicked for the standard "Flying is not...
Hello! I'm sure we all have been attracted to all those nice help menus, or interactive friend list messages, and so on. Such things can be...
Hello. In the development of my plugin, I came to the need to add custom tab suggestions to vanilla commands (such as /gamemode). I've tried...
Separate names with a comma.