Staff++
latest
latest
  • Staff++
  • General information
    • Quick start
    • Reload Configuration
    • Multi Server Setup
    • General Configuration
    • Other
      • Text parsing
      • Styling the GUIs
        • Gui structure
        • Selectors
      • Configuring command hooks
  • Permissions & Commands
    • Commands
    • Permissions
      • Legacy permissions
  • Features
    • Alerts
      • X-Ray
    • Alt account detection
    • Authentication
    • Banning
      • IP Banning
        • Messages
      • Fixed Ban Reason
      • Templates
    • Blacklist
    • Broadcasting
    • Chat module
    • Chest/Inventory Interaction
    • Command detection
    • Examine players
    • Freezing
      • Command hooks
      • Luckperms integration
      • Chat channels
    • Infractions
    • Investigate
      • Command hooks
    • Join messages
    • Player IPs
    • Kicking
    • Muting
      • Appealing
    • Protection
    • Player information
    • Player notes
    • Reporting
      • Command hooks
      • Messages
      • Finding reports
      • Report types & Reasons
      • Chat channels
    • Staff Chat
    • Staff Mode
      • Multiple modes
      • Staff Modules
      • Custom Staff Modules
        • State dependent modules
      • Command hooks
      • Luckperms integration
    • Staff Locations
    • Teleporting
    • Vanish
      • Luckperms integration
    • Warnings
      • Quick start
      • Severity levels
      • Thresholds
      • Actions (punishments)
      • Appealing
      • Warning workflow
  • Web Platform
    • Register Players
    • Setup Web Platform
    • Architecture
  • Integrations
    • Discord Integration
      • Staff Chat
      • Template Packs
      • Customize Discord Templates
    • Trello Integration
    • PAPI expansion
      • PAPI Examples
  • 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

Was this helpful?

  1. Features
  2. Banning

Fixed Ban Reason

PreviousMessagesNextTemplates

Last updated 4 years ago

Was this helpful?

You can configure custom ban reasons. This will enforce the staff members to use your reasons.

The entire reasons section is optional and not present in the default config

Configuration

ban-module:
  enabled: true
  permban-template: default
  tempban-template: default
  reasons: 
    - name: GRIEFING
      reason: No griefing allowed on this server
    - name: BULLYING
      reason: bullying will not be tolerated
      template: bullying
    - name: CURSING
      reason: Consistent cursing. Temporarily banned.
      template: cursing
      ban-type: TEMP_BAN

In the above config we have defined 3 ban reasons. GRIEFING, BULLYING and CURSING. Every reason configuration must have at least a name and a reason . Optionally you can also define a template . When you define a template you overwrite any other configured template. However staff members can still .

By default ban reasons are applicable to both permanent and temporary ban. You can however define another optional configuration optionban-type . The ban type can be configured with TEMP_BAN or PERM_BAN. When the type is configured, this ban reason will only apply for these types of bans. If no ban reasons are configured, the staff members can provide a custom reason. As soon as at least one ban reason is configured they are obligated to use ban reasons and can no longer fill in a custom message

provide a template in their command