Latest Version: 1.3 for CB 1.1-R6 (compatible with CB 1.2.5-R3.0)
Initially I started this project because I needed a plugin that would let OPs join a server even when it is full, so they could administrate it without kicking people. Then I rewrote the plugin to be able to set the max-players value. It does not set the real max-players value given by server.properties but uses it as the highest value possible. Regular players can join until my plugins max-players is reached. From this point, only OPs can join the server up to the servers max-players.
I can set the max-players before I start the server, you could say. Or ask Why would I want to change max-players? The answer is that Maxplayers serves as a slot-reserver for administrators, and in future versions, moderators or VIPs. Unlike other reservation plugins, Maxplayers does not kick players, or hold them off from filling the server. It rather lets Admins overload the server. By that, I mean that even if the server is full, important people may join it.
Example: The server is full. It has 20 players on it. If there are more, the server starts to lag. You have been said, that there was a griefer on the server. Now you want to undo his deeds. You simply join the server. Now there are 21 people on it. It lags, but you can undo whatever the griefer did. As soon as a player leaves the server, it stops lagging too much.
With other reservers, you would either have to kick someone upon joining the server, or the server is never full, if there are no admins or VIPs on it. With Maxplayers you can always have the maximum amount of players on the server, even if they have no reserved slots and if neccessary, you can "overload" it.
For detailed usage information visit How to use
The first time the plugin loads up, it creates the directory plugins/Maxplayers and a small configuration file named config.yml.
| Property | Default Value | Description |
|---|---|---|
| max-players | 10 | Stores the maximum amount of players on a server |
| overflow-message | The server is full and you just overloaded it. Please hurry up. | The message being sent to users when they "overload" a server |
With this configuration, the server will be full when there are 10 people on it. Although it is full, OPs will still be able to join the server. When there are 15 players on the server, even OPs will be kicked on login.
| Command | Parameters | Description |
|---|---|---|
| maxplayers | reload | Reloads the plugins configuration file |
| maxplayers | Displays the current max-players value | |
| maxplayers | <number> | Sets the maximum amount of players on a server |
| Permission | Description |
|---|---|
| maxplayers.ignore | Players with this node are allowed to join the server even when it is full |
| maxplayers.ignore.<number> | Players with this node may join even if there are max-players + number minus 1 players on the server |
| maxplayers.set | Players with this node can use the /maxplayers command |