Establezca GamEmode de Player Spigot
// Available gamemodes: SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR
player.setGameMode(GameMode.CREATIVE);
Nervous Narwhal
// Available gamemodes: SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR
player.setGameMode(GameMode.CREATIVE);