Staff++
<= 1.16.56
<= 1.16.56
  • Staff++
  • General information
    • Quick start
    • Reload Configuration
    • Multi Server Setup
    • General Configuration
  • Permissions & Commands
    • Commands
    • Permissions
  • Features
    • Alerts
      • X-Ray
    • Alt account detection
    • Authentication
    • Banning
      • Fixed Ban Reason
      • Templates
    • Broadcasting
    • Chat module
    • Chest/Inventory Interaction
    • Examine players
    • Infractions
    • Investigate
    • Protection
    • Reporting
      • Finding reports
      • Custom report types
    • Staff Chat
    • Staff Mode
      • Luckperms integration
      • Custom GUI
      • Staff Modules
      • Custom Staff Modules
    • Teleporting
    • Warnings
      • Quick start
      • Severity levels
      • Thresholds
      • Actions (punishments)
      • Appealing
      • Warning workflow
  • Integrations
    • Discord Integration
      • Staff Chat
      • Template Packs
      • Customize Discord Templates
    • Trello Integration
  • Migration guides
    • Staff+ migration guide
    • Migrating to >=V1.16.43
    • Upgrading Discord Integration to 1.16.51
  • Developers
    • API guide
Powered by GitBook
On this page
  • Configuration
  • Integration
  • Examples
  • Permanent banning
  • Temporary banning
  • Unbanning
  • Showing ban reason on ban/rejoin
  • Another plugin is overriding the /ban, /tempban, /unban
  • GUI

Was this helpful?

  1. Features

Banning

PreviousAuthenticationNextFixed Ban Reason

Last updated 4 years ago

Was this helpful?

Staff++ overrides the default ban command with its own ban command. Next to the permanent ban command it also adds the tempban command. With every ban a reason must be given why this player is getting banned.

Configuration

ban-module:
  # Whether or not the plugin will use Staff++ "/ban" features.
  enabled: true

Integration

The plugin supports notifying to a discord channel whenever a player gets banned/unbanned.

Examples

Permanent banning

/ban [player] [reason]

/ban playername He was bothering me

Temporary banning

/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:

  • SECOND

  • MINUTE

  • HOUR

  • DAY

  • WEEK

  • MONTH

  • YEAR

Unbanning

/unban [player] [reason]

/unban playername We are friends now

Showing ban reason on ban/rejoin

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"

You can use the placeholder %reason% to add a reason to the kick message.

Another plugin is overriding the /ban, /tempban, /unban

Configure your server aliases in such a way that the ban commands from Staff++ will always be used. This can be done by editing the commands.yml file and specifying your aliases there.

To enable Staff++ ban commands this would be done in this way:

aliases:
    ban:
    - "staffplus:ban $1-"
    tempban:
    - "staffplus:tempban $1-"
    unban:
    - "staffplus:unban $1-"

GUI

Banned players can be listed and unbanned through the gui hub.

// TODO add screenshots

It is possible that another plugin like 'essentialsx' might get priority over the ban, tempban and unban command. To prevent this we suggest the same solution as is proposed by .

More info on the

discord integration
EssentialsX
bukkit wiki