Setzen Sie den Gamemode von Player -Spigot
// Available gamemodes: SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR
player.setGameMode(GameMode.CREATIVE);
Nervous Narwhal
// Available gamemodes: SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR
player.setGameMode(GameMode.CREATIVE);