Skip to content

Ban

Handles permanent/temporary player bans, IP bans, timed suspensions, kick disconnect screens, and persistent audit logging executed via /zn ban or toolkit moderation commands.

Summary

  • Plugin: ZellysNexus
  • Configuration file: modules/ban/config.yml
  • Default enabled state: true
  • Commands: /zn ban (routes to /zn toolkit: ban, tempban, unban, banip, tempbanip, unbanip, suspend, unsuspend, kick, kickall)
  • Permissions: zn.moderation.<action> (ban, tempban, unban, banip, tempbanip, unbanip, suspend, unsuspend, kick, kickall), zn.toolkit.admin, zn.admin (operators)
  • Interfaces (Menus / Dialogs / Bedrock Forms): Paper Dialog suspend flow (/zn suspend <player> without reason) and formatted MiniMessage kick/login-refusal screens.
  • Storage: modules/ban/config.yml, modules/ban/ban-audit.yml

Limits and verification status

When enabled: false, ban/kick/suspend toolkit actions report that the Ban module is disabled.

Configuration keys (modules/ban/config.yml)

Key Type Default Description
enabled boolean true Module switch; requires a restart
server-name string the server Name shown on the ban, kick and suspend screens
default-suspend-duration string 7d Duration applied by /zn suspend when none is given (s, m, h, d, w or perm)
screens boolean true Render the ban, kick and suspend screens on login refusal and kicks
date-format string yyyy-MM-dd HH:mm Date format used on the screens
help-url string https://zaynr-ecosystem.github.io/ Link shown on the screens
appeal-url string https://zaynr-ecosystem.github.io/ Link shown on the screens
store-url string https://zaynr-ecosystem.github.io/ Link shown on the screens