Staff++ overrides the default ban command with its own
bancommand. Next to the permanent ban command it also adds the
tempbancommand. With every ban a reason must be given why this player is getting banned.
# Whether or not the plugin will use "/ban-player" features.
# List of staff ranks. Ordered from low to highest rank.
# when configured, staff members can only ban player with a lower rank.
/ban [player] [reason]
/ban playername He was bothering me
/tempban [player] [amount] [unit] [reason]
/tempban playername 15 MINUTE He was bothering me
The duration of the tempban is specified by [amount] [unit]
Amount must be a positive number > 0 and unit must be one of the following:
The tempban command can also be configured to restrict the duration a staff member can use for a ban. Give the staff member and extra permission with a duration limit as suffix. Example:
staff.bans.tempban.limit.2w, with this permission a staff member can only issue a ban for a maximum duration of 2 weeks.
Possible time values:
- s = second
- m = minute
- h = hour
- d = day
- w = week
- M = month
- y = year
Time values cannot be combined. For example this is invalid: ".1m30s" instead type ".90s"
A ban duration can be extended or reduced by the following commands:
/ban-reduce [player] [amount] [unit]
/ban-extend [player] [amount] [unit]This command can also be limited in duration the same way a tempban is limited. Giving the player the following 2 permissions will limit the extension duration for example:
/unban [player] [reason]
/unban playername We are friends now
-silentcan be used to ban/tempban/unban players without sending out a notification to anyone.
/ban playername -silent He was bothering me
If you want banned players can see the reason why they are banned you can edit the kick message in the lang files:
ban-tempbanned-kick: "[Banned] You have been temporarily banned from this server. Ban ends in: %duration%"
ban-permabanned-kick: "[Banned] You have been permanently banned from this server"
Inside the message the following placeholders can be used