StrawIODOCS
Español
Panel ↗Discord ↗

StrawPunishments v1.0.0

Configuración

Comprar en BuiltByBit ↗

All files are in plugins/StrawPunishments/. Pick a file to see its default content. Edit the file on your server, then run /strawpunishments reload or restart.

This plugin has 19 files.

plugins/StrawPunishments/config.yml

yaml
# Interface and language. GUI layouts, translations and sounds stay separately editable.
language: en
debug: false

# Unique name for this server in punishment and audit records.
# Name shown in ban and mute lists for punishments given on this server.
# With several servers sharing one database, give each server its own name.
server-name: Server
# How often to refresh network bans/mutes. 20 ticks = about one second.
sync-interval-ticks: 40

# single + sqlite: local server. multi + mysql: shared network database.
privacy:
  ip-hash-secret: ''

# The two default punishment buttons. Add your own entries; durations escalate with matching history.
# Units: s, m, h, d; perm means permanent. Keep reason stable to preserve its escalation history.
presets:
  hacking:
    type: ban
    display: Hacking
    reason: Hacking
    icon: DIAMOND_SWORD
    durations: [7d, 14d, 21d, perm]
  chat:
    type: mute
    display: Chat
    reason: Chat misconduct
    icon: PAPER
    durations: [2h, 4h, 8h, perm]

# Limit accounts sharing an IP; requires the shared privacy secret.
account-limit:
  enabled: true
  maximum-accounts-per-ip: 3
# Staff hierarchy protection through optional LuckPerms.
hierarchy:
  enabled: true
  deny-when-unavailable: true
# Also mute supported Simple Voice Chat sessions.
simple-voice-chat-support: true
# Time zone used when displaying punishment dates.
date-time-zone: UTC
# Commands blocked for muted players.
mute:
  blocked-commands: [msg, message, tell, whisper, w, dm, r, reply, me]
# Delay between reports from the same reporter about the same player.
reports:
  cooldown-seconds: 300

# Optional Discord punishment notifications. Keep the webhook URL private.
webhook:
  enabled: false
  url: ''
  username: StrawIO Studios
  avatar-url: ''
  color: 16750592
  timeout-seconds: 5

# Update notifications; automatic downloads are off.
updates:
  check-enabled: true
  console-notify: true
  admin-notify: true
  auto-download: false

# Where short notifications appear.
# Send only the current online player count to the license panel.
metrics:
  enabled: true

notifications:
  chat: true
  actionbar: true
  sound: true

# Quick reference (permissions are registered by the plugin).
# /punish: Open the network punishment menu.
# /ban: Ban a registered player.
# /banip: Ban a registered player's hashed IP identity.
# /mute: Mute a registered player.
# /unban: Revoke a player ban.
# /unbanip: Revoke an IP ban.
# /unmute: Revoke a player mute.
# /kick: Kick an online player.
# /banlist: List active player bans.
# /baniplist: List active IP bans.
# /mutelist: List active player mutes.
# /banhistory: Show all ban history or one player's history.
# /mutehistory: Show all mute history or one player's history.
# /checkban: Check active bans for a player.
# /checkmute: Check active mutes for a player.
# /checkip: Show punishment history linked to a player's IP identity.
# /historyip: Show punishment history linked to a player's IP identity.
# /alts: Show registered accounts linked by hashed IP identity.
# /report: Report a registered player or open the staff report list.
# /strawpunishments: Plugin help and reload.
# strawio.punishments.staff [op]: Allows staff to manage and inspect network punishments.
# strawio.punishments.punish [op]: Open and apply automatic preset punishments.
# strawio.punishments.punish.all [false]: Apply every ban and mute preset in the punishment GUI.
# strawio.punishments.punish.ban [false]: Apply ban presets in the punishment GUI.
# strawio.punishments.punish.mute [false]: Apply mute presets in the punishment GUI.
# strawio.punishments.ban [op]: Apply direct player bans.
# strawio.punishments.ban-ip [op]: Apply direct hashed-IP bans.
# strawio.punishments.mute [op]: Apply direct player mutes.
# strawio.punishments.unban [op]: Revoke player bans.
# strawio.punishments.unban-ip [op]: Revoke hashed-IP bans.
# strawio.punishments.unmute [op]: Revoke player mutes and compatible legacy mute records.
# strawio.punishments.kick [op]: Kick online players.
# strawio.punishments.list.ban [op]: View active player bans.
# strawio.punishments.list.ip-ban [op]: View active hashed-IP bans.
# strawio.punishments.list.mute [op]: View active player mutes.
# strawio.punishments.history.ban [op]: View global and per-player ban history.
# strawio.punishments.history.mute [op]: View global and per-player mute history.
# strawio.punishments.history.ip [op]: Inspect punishment history linked to hashed IP identities.
# strawio.punishments.check.ban [op]: Check a player's active ban.
# strawio.punishments.check.mute [op]: Check a player's active mute.
# strawio.punishments.alts [op]: Inspect accounts linked by hashed IP identity.
# strawio.punishments.clear-history [op]: Allows permanently clearing a player's punishment history after confirmation.
# strawio.punishments.hierarchy.bypass [false]: Bypass LuckPerms punishment hierarchy checks; grant only to the network owner if required.
# strawio.punishments.hierarchy.exempt [false]: Prevent player-issued punishments against this account regardless of rank weight.
# strawio.punishments.report.use [true]: Allows a player to submit reports.
# strawio.punishments.reports.staff [op]: Allows staff to open and review the shared report list.
# strawio.punishments.reload [op]: Reload plugin settings and runtime.
# Placeholders: %strawpunishments_ban_seconds%, %strawpunishments_banned%, %strawpunishments_mute_seconds%, %strawpunishments_muted%
# Documentation: https://docs.strawio.net
# License Panel: https://panel.strawio.net
# Support: https://discord.gg/strawio
StrawIO Docs · StrawPunishments

Buscar en la documentación

Busca entre los plugins y las guías generales.