CommandKick 图标

CommandKick

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: fabric

标签: management social utility

资源介绍

CommandKick

Instead of fiddling with permissions,CommandKick takes a different approach: the commands stay fully visible and tab-completable, but the moment a player runs a blocked one, they're kicked with a custom message. Humorous, no?

Features

  • Leaves the command tree intact. Blocked commands still show up and tab-complete; only execution is intercepted.
  • Console-safe. Server console, command blocks, datapack functions, and rcon run blocked commands normally. Only player-initiated runs are caught.
  • Configurable. Edit a JSON file and restart — no rebuild needed.
  • Custom kick message. Set whatever text players see when they get booted.
  • Logging. Every kick records which player ran which command, in the server log.
  • Lightweight. No LuckPerms or other permission-system dependency required.

Configuration

On first launch, CommandKick writes config/commandkick.json with defaults. Edit it and restart the server to apply — the command list is read once at startup, because Brigadier builds the command tree only at boot. (A /reload is not enough.)

{
  "kickMessage": "command verboten.",
  "blockedCommands": [
    "tick",
    "givepokemon",
    "pokespawn"
  ]
}

Each entry blocks that command and all of its subcommands — listing tick covers /tick freeze, /tick rate, and so on.

Installation

  1. Install Fabric Loader and Fabric API.
  2. Install Fabric Language Kotlin.
  3. Drop CommandKick into your server's mods folder.
  4. Start the server once to generate the config, edit it, then restart.

Server-side only — no client installation needed.

Made with the help of Claude

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
MTR Low Effort British Rail Class 150

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

查看详情
Disenchant Command

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

查看详情
Project:Poppa Chinese Localization(中文本地化)

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

查看详情
Stellarity RP 汉化版

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

查看详情