promotional bannermobile promotional banner

Maxplayers

Ability to change max-players and slot-reservation in one!

About the plugin

Latest Version: 1.3 for CB 1.1-R6 (compatible with CB 1.2.5-R3.0)

Description

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.

Features

  • Set the max-players value on the go
  • Ignore the player limit as an OP
  • Permission support
  • Different max-players values for different permission groups via permissions
  • The current max-players value always shows up properly in peoples server lists

Future Plans

  • Any suggestions are appreciated

Why should I use this plugin?

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.

Usage

For detailed usage information visit How to use

Installation/Configuration

  1. Copy Maxplayers.jar file into the plugins directory of your server.
  2. Change the max-players value in your server.properties file to the highest value you ever want your player limit to be. The plugin can not set it higher than that value.
  3. Start your server.

The first time the plugin loads up, it creates the directory plugins/Maxplayers and a small configuration file named config.yml.

Configuration File

PropertyDefault ValueDescription
max-players10Stores the maximum amount of players on a server
overflow-messageThe server is full and you just overloaded it. Please hurry up.The message being sent to users when they "overload" a server
Example configuration
  1. Go to server.properties and change the max-players value to 15.
  2. Start the server.
  3. Type /max-players 10 in the chat.

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.

Commands

CommandParametersDescription
maxplayersreloadReloads the plugins configuration file
maxplayersDisplays the current max-players value
maxplayers<number>Sets the maximum amount of players on a server

Permission Nodes

PermissionDescription
maxplayers.ignorePlayers 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.setPlayers with this node can use the /maxplayers command

The Maxplayers Team

profile avatar
  • 1
    Projects
  • 16.8K
    Downloads