Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'BungeeCord Plugin Development' started by aquathickshell, May 20, 2015.
Is there anyway of using the world name in a sign?
I am struggling to find out how. Pls help
If you don't know, is there a way to do something along the lines of:
Bukkit.getWorld(serverPlayers = worldPlayers);
Bukkit.getWorlds(serverPlayers = worldPlayers);
What're you trying to do? I don't understand
This code makes no sense (invalid syntax). I'm not sure what you're asking.
If you want to get the world that a sign belongs to, you can simple use getWorld() from the block that the sign belongs to:
If you want to get all loaded worlds in a server, you can use Bukkit.getWorlds(), which will return List<World>. You can call getName() on a world to get the name of a world.
I am wanting to find the world from another server where all of the players on that server are playing