TryHart
Guest
Member
So, I am trying to customize a UHC plugin. I would like to make it so that all Online Players with Gamemode.SURVIVAL would be teleported to a different location. The problem is that idk how to get everyone who has Gamemode.SURVIVAL into an arraylist, so I can work with it. This is also the teleporting part which isn't done yet.
Code (Text):
private void startCenterDeathmatch() {
World deathmatch = Bukkit.getWorld("Deathmatch");
Location loc1 = new Location(deathmatch, -24.5,...
Teleporting players from an ArrayList
Continue reading...
Code (Text):
private void startCenterDeathmatch() {
World deathmatch = Bukkit.getWorld("Deathmatch");
Location loc1 = new Location(deathmatch, -24.5,...
Teleporting players from an ArrayList
Continue reading...