Almost all commands operate on the world the player executing the command is currently on. To operate on another world, stick the world name to change at the very end of the command.
If an argument, such as a world name, has spaces in it, surround the argument with quotations. For example:
Many commands are a simple yes/no. Other words such as 'enabled/disabled' and 'true/false' work as well.
An overview of all permissions can be found in plugins/My_Worlds/PermissionDefaults.yml
- worldname: Normal overworld
- worldname_nether: Nether world
- worldname_the_end: End world
- worldname_flat: Flat world. Change layer settings in server.properties (generator-settings)
- worldname/nether: Nether world, but named 'worldname'
- A nether link is automatically created between worldname and worldname_nether, where worldname can be any world name.
- An end-portal gateway link is automatically created between worldname and worldname_the_end.
It is also possible to specify a plugin name that provides the chunk generator to use for the world, followed by the configuration for this chunk generator plugin to use. In the example above, BananaSpace is used.
Search for custom world generator plugins here on Spigot
Use the following command to list plugins on the server that offer a world generator:
World loading and unloading
To load in a world that uses a specific chunk generator, use the third command example above, specifying the plugin name and argument similar to the create command.
- myworlds.world.loadspecial (for specifying custom generator)
World copying, repair and deletion
World autosave and saving
To save all worlds on the server, use /world save *.
- myworlds.world.setsaving (autosave)
Keep world spawn area loaded
Set spawn point
Set default nether portal or end portal behavior
All possible combinations of properties are possible. You can create a nether portal in the end, upon entering an end gateway, for example.
- destination: World name or portal name players are teleported to upon entering the portal
- mode: Portal behavior mode for world destinations. This can be one of the following values:
- default: Players are teleported to the world spawn, or the exact portal coordinates
- respawn: Players respawn at their bed / world anchor, or world spawn
- rejoin: Players are teleported to the last position they had on another world
- nether_link: Players are teleported to the same coordinates (x8 nether) on the other world, where a portal frame is created
- end_platform: Players are teleported to the end platform coordinates (100/50/0), where an obsidian platform is created for them
- showcredits: Whether to show the game end credits upon entering the portal. This is what you see in the end, but you can turn that off there, or have it show these credits on other worlds.
- displayname: Sets the text displayed when players are teleported through the portal
- playeronly: Set whether only players (and not mobs/items) can teleport through the portal
- lastposition: Configures the portal to teleport the player to the last known position of the player on the destination world
- nonplayerscreateportals: Whether non-player entities can create portals upon going through nether portals (nether_link mode). Can be turned off if players are causing lag, or if obsidian farming is unwanted.
Give a portal item
Setting world operators
Allow and deny mobs from spawning
- myworlds.world.ignoregamemode (players with this permission as unaffected by world game modes)
Player versus Player
Teleport to world spawn
Teleport to the last position on a group of worlds
- myworlds.world.rejoin.* - Allows rejoining any world
- myworlds.world.rejoin.[worldname] - Allows rejoining a world by this name
Load or save world configuration
Teleport to portal or world spawn
- myworlds.tpp - Allows the player to teleport himself, or other players, to any world or portal
- myworlds.portal.teleport.[portalname] - Allows a player to use /tpp to teleport to portal [name]. Can not teleport other players.
- myworlds.world.teleport.[worldname] - Allows a player to use /tpp to teleport to world [name]. Can not teleport other players.
- myworlds.world.enter.[worldname] - Allows a player to enter world [name]. Is important for this command, and for entering portals in the world. By default granted.
- worldname: Normal overworld