-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
The following in-game commands are used to control the plugin, any command aliases that the commands have a are show in square brackets. More details can be seen by running the command with no arguments in game.
Bans a player from the server.
/ban <player_name> <reason_id / reason_keyword>
A local ban is one which only takes affect on the server that the command was issued from.
/ban example_player
A temporary ban is the same as a a local one, except that it will expire after a given amount of time.
/ban example_player 3d
This would ban the player for 3 days, you can also use h for hours but not a combination of both. There is also a maximum time of 1 week.
A global ban is one which is uploaded to the database.
/ban example_player 2
/ban example_player grief
Both of these do the exact same thing. For a full list of reasons see /minebans reasons
Removes any bans that a player currently has.
/unban <player_name>
Disconnects a player from the server.
/kick <player_name> [reason]
the reason parameter is optional and will be displayed to the player on the disconnect screen if supplied.
Used to manage the exempt list. The exempt lists acts as a list of players that will be made exempt from the join checks meaning they can join even if they are over the servers limits.
/exempt <option> <player_name>
To add a player to the exempt list you can do
/exempt add example_player
Or for the shortest command possible
/e a example_player
To remove a player from the exempt list you can use
/exempt remove example_player
Or for the shortest command possible
/e r example_player
Provides various commands relating to the system.
/minebans <option> [args]
You can lookup a list of ban reasons that are enabled on the server using the reasons option
/minebans reasons
Or the short version
/mb r
This is used to manually search the database for a given players bans.
/minebans lookup example_player
Or the short version
/mb l example_player
This is used to check the status of the API server that stors the bans. It will tell you if the API is available to respond to requests, how long it took to reply to the status request and the load averages of the server.
/minebans status
Or the short version
/mb s
This is used to check for updates of the plugin, you will be notified if there is a new version available.
/minebans update
Or the short version
/mb u
This is used to see all of the players that are temporarily banned from the server and how long they have left before they will be allowed to connect again.
/minebans listtemp
Or the short version
/mb lt
This is used to execute the auto commands for the last ban that was made.
/minebans exec
Or the short version
/mb e
This is used to import any existing bans on the server into the MineBans plugin.
/minebans import
Or the short version
/mb i