Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else {
- player.closeInventory();
- JSONMessage.create(Variables.server + "Do you like to change the gamemode of " + player_list.get(i).getDisplayName() + " §r§7to survival")
- .then("§a§nyes ")
- .tooltip("Click to go")
- .runCommand("/gamemode survival " + player_list.get(i))
- .then("§r§7or")
- .then("§c§nno§r§7!")
- .tooltip("Click to go")
- .runCommand("/gui")
- .send(player);
- player.playSound(player.getLocation(), Sound.UI_TOAST_OUT, 1f, 1f);
- }
Advertisement
Add Comment
Please, Sign In to add comment