CasualBans 图标

CasualBans

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 v1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/casualbans
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.3 1.21.4 26.1

平台: bukkit paper purpur spigot

标签: management utility

资源介绍
# CasualBans **A modern, feature-rich cross-server punishment management system for Paper 1.21+** ![Paper](https://img.shields.io/badge/Paper-1.21--26.1.2-8c75a5?style=flat-square&logo=minecraft) ![Folia](https://img.shields.io/badge/Folia-✔-468ac9?style=flat-square) ![Java](https://img.shields.io/badge/Java-21-46c98a?style=flat-square&logo=openjdk) ![License](https://img.shields.io/github/license/Kyssta-exe/CasualBans?style=flat-square&color=c98a46) ![Version](https://img.shields.io/github/v/release/Kyssta-exe/CasualBans?style=flat-square&color=8c75a5) [Documentation](https://kyssta-exe.github.io/casualbans)

CasualBans is the modern replacement for LiteBans, AdvancedBan, and similar punishment plugins. It's built from the ground up for Paper 1.21+ with cross-server sync, a powerful template system, Discord integration, and a clean developer API — all in a single zero-dependency JAR.

Features

  • 8 Punishment Types — Ban, TempBan, IP-Ban, Mute, TempMute, IP-Mute, Warn, Kick
  • Cross-Server Sync — Punishments, broadcasts, and notifications sync across all servers sharing a database
  • 3 Storage Backends — JSON (default), H2, MySQL, MariaDB, PostgreSQL
  • Template System — Ladder-based punishment escalation with weighted template groups
  • Staff Tools — Rollback, history pruning, lockdown, mutechat, clearchat, staff notes
  • Investigation Tools — DupeIP alt detection, IP history, name history, last session, GeoIP
  • Discord Webhooks — Real-time notifications for punishments, alts, and staff actions
  • Built-in Web Dashboard — Dark-themed UI with live stats, search, and REST API
  • Plugin Integrations — PlaceholderAPI, ProtocolLib, Vault, LuckPerms
  • Developer API — Full StorageProvider + PunishmentManager for programmatic control
  • Import System — Migrate from LiteBans, AdvancedBan, Vanilla, or JSON
  • Folia Support — Fully compatible with regionized threading
  • Command Flags-s silent, -S extra silent, -p public, -m modify, -d delete, -I IP
  • Staff Groups — Configurable groups with cooldowns, duration limits, and weight hierarchy
  • Customizable Messages — MiniMessage format with hex colors and gradients
  • Zero Runtime Dependencies — HikariCP, Gson, H2, MySQL, PostgreSQL drivers all bundled

Quick Start

# 1. Download the latest release
# 2. Place CasualBans-<version>.jar in your plugins/ folder
# 3. Start the server (config files auto-generate)
# 4. Configure storage and features
# 5. Start moderating
# plugins/CasualBans/config.yml (essential settings)
server:
  name: 'my-server'
  default-scope: '*'
storage:
  driver: JSON  # or MYSQL, MARIADB, POSTGRESQL, H2

Commands

Command Description Permission
/ban <player> [duration] [reason] Ban a player casualbans.ban
/tempban <player> <duration> [reason] Temporarily ban casualbans.tempban
/ipban <player> [duration] [reason] IP ban casualbans.ipban
/mute <player> [duration] [reason] Mute a player casualbans.mute
/tempmute <player> <duration> [reason] Temporarily mute casualbans.tempmute
/warn <player> [reason] Warn a player casualbans.warn
/kick <player> [reason] Kick a player casualbans.kick
/unban <player> [reason] Unban a player casualbans.unban
/unmute <player> [reason] Unmute a player casualbans.unmute
/history <player> [type] [limit] View punishment history casualbans.history
/checkban <player> Check ban status casualbans.checkban
/banlist [page] List active bans casualbans.banlist
/dupeip <player> Find alt accounts casualbans.dupeip
/lockdown [reason\|end] Server lockdown casualbans.lockdown
/mutechat [-s] Toggle chat casualbans.mutechat
/casualbans <reload\|import\|info> Admin commands casualbans.admin

Permissions Overview

Category Key Permissions
Punishment casualbans.ban, .tempban, .ipban, .mute, .tempmute, .warn, .kick
Removal casualbans.unban, .unmute, .unwarn (and .own variants)
Investigation casualbans.history, .checkban, .banlist, .dupeip, .iphistory, .geoip
Staff Tools casualbans.lockdown, .mutechat, .clearchat, .staffrollback, .note
Notifications casualbans.notify, .notify.silent, .notify.broadcast
Exempt casualbans.exempt, .exempt.ban, .exempt.mute
Flags casualbans.silent, .extrasilent, .public, .modify, .delete
Admin casualbans.admin

Configuration

# plugins/CasualBans/config.yml (abbreviated)
server:
  name: 'casualbans'
  default-scope: '*'

storage:
  driver: JSON
  sql:
    host: localhost
    port: 3306
    database: casualbans
    username: root
    password: ''

mutes:
  enabled: true
  command-blacklist: ['/me', '/say', '/msg']

warnings:
  expire-after: 30d
  actions:
    - '3:kick $player Final warning: $reason'
    - '4:tempban $player 7d Reached 4 warnings'

durations:
  limits:
    admin:
      permission: casualbans.group.admin
      tempban: 6 months
      cooldown-ban: 0s
      weight: 100

webhooks:
  enabled: false
  punishment-url: ''
  alt-url: ''
  staff-url: ''

web:
  enabled: false
  port: 8291

Documentation

Full documentation is available at https://kyssta-exe.github.io/casualbans

Page Description
Installation Requirements, build, first setup
Commands Full command reference
Permissions All permission nodes
Configuration config.yml, messages.yml, templates.yml
Storage JSON vs SQL setup
Webhooks Discord webhook setup
Web Interface Dashboard & REST API
Developer API Programmatic integration
Importing Migrate from LiteBans, AdvancedBan, etc.
FAQ Common questions

Built With

License

This project is licensed under the MIT License. See LICENSE for details.

Support

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Useless Sword

价格:0 墨喵币
下载量:0

查看详情
Vanilla Food Hunger Bar HUD Hotbar

价格:0 墨喵币
下载量:0

查看详情
Wild's Horizon

价格:0 墨喵币
下载量:0

查看详情
ScytheMod

价格:0 墨喵币
下载量:0

查看详情