Skip to content

Commands

betterphp edited this page Nov 16, 2012 · 12 revisions

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.

ban [b]

Bans a player from the server.

/ban <player_name> <reason_id / reason_keyword>

Local

A local ban is one which only takes affect on the server that the command was issued from.

/ban example_player

Temporary

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.

Global

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

unban [ub, uban]

Removes any bans that a player currently has.

/unban <player_name>

kick [k]

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.

exempt [e, be]

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>

Add

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

Remove

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

minebans [mb, mbans]

Provides various commands relating to the system.

/minebans <option> [args]

Reasons

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

Lookup

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

Status

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

Update

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

Listtemp

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

exec

This is used to execute the auto commands for the last ban that was made.

/minebans exec

Or the short version

/mb e

import

This is used to import any existing bans on the server into the MineBans plugin.

/minebans import

Or the short version

/mb i

Clone this wiki locally