WorldRestrict
Features
- Set a limit on the amount of players that can join a given world
- Commands to add/edit/remove limits
- Use permissions to bypass limit
Details
WorldRestrict is used to limit the amount of players that can be in a world at a time. It's extremely light weight, simply listening on teleport events and cancelling them if the world is at its limit.
Permissions
Node | Function |
---|---|
worldrestrict.bypass.<world> | Allows player to bypass player limit on <world> |
worldrestrict.cmd.wr | Allow usage of /worldrestrict without any arguments |
worldrestrict.cmd.list | Allows user to list players in a world, and count them |
worldrestrict.cmd.set | Allows user to set a world's limit |
worldrestrict.cmd.remove | Allows user to remove a world's limit |
Commands
Command | Args | Description |
---|---|---|
/worldrestrict list | [world] | List & count players of [world] |
/worldrestrict set | [world] [limit] | Set the limit of [world] |
/worldrestrict remove | [world] | Remove the limit of [world] |
Configuration
Default configuration: List worlds and their limit under "worlds" with format: world: limit
Set deny message if world is full in deny_message. You can use colours and <world> for the world name.
worlds: world: 30 world_nether: 30 world_the_end: 30 deny_message: '&cYou can not enter &7<world>&c because it is full!'