Skip to content

PocketMine-MP plugin that limits players in each world

License

Notifications You must be signed in to change notification settings

EvolSoft/WorldPlayerLimiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

start2

WorldPlayerLimiter

PocketMine-MP plugin that limits players in each world

Category

PocketMine-MP plugins

Requirements

PocketMine-MP Alpha_1.4 API 1.4.0

Overview

WorldPlayerLimiter limits player for each world.

EvolSoft Website: http://www.evolsoft.tk

This Plugin uses the New API. You can't install it on old versions of PocketMine.

You can simply limit players for each world using command "/wpl addworld" and you can delete world limits simply using command "/wpl delworld"
You can also place signs to teleport players between worlds. (read documentation)

Commands:

/worldplayerlimiter - WorldPlayerLimiter commands (aliases: [wpl, wl, worldlimit])
/wpl addworld <worldname> <limit> - Add world data (player limit)
/wpl delworld <worldname> - Delete world data (player limit)
/wpl info - Show info about this plugin
/wpl reload - Reload the config
/wpl stats <worldname> - Get world stats

**To-Do:**
- Bug fix (if bugs will be found)
- Fix signs bug
- Automatic sign update

Documentation

Sign Creation:

You must have the permission: "worldplayerlimiter.create-sign" to create signs and you must have the permission "worldplayerlimiter.use-sign" to use signs.

Line 1: [WPL]
Line 2: <worldname>
Line 3 (optional): custom sign name

*Output Examples:*

*Input:*
Line 1: [WPL]
Line 2: world
*Output:*
*if the target world has player limit, the output will be:*
Line 1: world
Line 2: current players/limit
Line 3: Click to join.
(Sign target: world)
*else*
Line 1: world
Line 2: Click to join.
(Sign target: world)

*Input:*
Line 1: [WPL]
Line 2: world
Line 3: custom
*Output:*
*if the target world has player limit, the output will be:*
Line 1: custom
Line 2: current players/limit
Line 3: Click to join.
(Sign target: world)
*else*
Line 1: custom
Line 2: Click to join.
(Sign target: world)

**Commands:**
/worldplayerlimiter - WorldPlayerLimiter commands (aliases: [wpl, wl, worldlimit])
/wpl addworld <worldname> <limit> - Add world data (player limit)
/wpl delworld <worldname> - Delete world data (player limit)
/wpl info - Show info about this plugin
/wpl reload - Reload the config
/wpl stats <worldname> - Get world stats

**Permissions:**

-
worldplayerlimiter.* - WorldPlayerLimiter permissions.
-
worldplayerlimiter.use-sign - Allows player to use WorldPlayerLimiter signs.
-
worldplayerlimiter.create-sign - Allows player to create WorldPlayerLimiter signs.
-
worldplayerlimiter.commands.help - WorldPlayerLimiter command Help permission.
-
worldplayerlimiter.commands.info - WorldPlayerLimiter command Info permission.
-
worldplayerlimiter.commands.reload - WorldPlayerLimiter command Reload permission.
-
worldplayerlimiter.commands.stats - WorldPlayerLimiter command Stats permission.
-
worldplayerlimiter.commands.addworld - WorldPlayerLimiter command Add World permission.
-
worldplayerlimiter.commands.delworld - WorldPlayerLimiter command Delete World permission.