ClaimblockAddon
一款针对 GriefPrevention 的轻量级服务端插件,集成了基于钻石的经济系统用于兑换领地块。该插件允许玩家通过简单的命令将钻石与领地块进行互换(反之亦然)。它还包含全面的管理员工具以辅助服务器管理,支持控制台操作、离线玩家兼容以及细粒度的单世界配置。
⚠️ 必需依赖
本插件为扩展模块,若无其核心依赖则无法运行:
GriefPrevention(请确保安装与您服务器软件版本兼容的版本)
功能特性
钻石交易经济:可配置的汇率,允许玩家使用背包中的实体钻石购买或出售领地块。
按世界保护:默认在所有世界中禁用,以防止在迷你游戏、资源世界或创造模式区域中被滥用。功能可按世界动态启用/禁用。
离线玩家支持:管理员分发命令可为所有玩家、仅在线玩家修改领地块数值,甚至直接保存离线账户数据至磁盘。
游戏内配置:使用管理员命令即可实时修改转换汇率,无需手动修改文件或执行完整的服务器重启。
完整控制台支持:所有管理命令均可直接从服务器控制台窗口安全执行。
命令与权限
玩家命令
/cbuy <amount>
从你的物品栏中交换指定数量的钻石以获得对应的领地块。
/csell <amount>
将你多余的额外领地块交换为实体钻石。
管理员命令
所有管理员命令的权限节点:claimblockaddon.admin
/creload
从磁盘重新加载配置文件设置。
/csetprice <blocks> <diamonds>
即时设置转换汇率(例如 /csetprice 5 1 表示每 1 个钻石兑换 5 个领地块),并直接保存至配置文件。
/cgive <player> <amount>
向指定玩家授予一定数量的额外领地块(支持离线玩家)。
/cgiveonline <amount>
向所有当前在线的玩家分发指定数量的额外领地块。
/cgiveall <amount>
向服务器数据库中注册的每个账号分发指定数量的额外领地块。
/claimenable [world]
显示当前世界的授权状态,或在特定世界中启用商店访问权限。
/claimdisable [world]
显示当前世界的授权状态,或在特定世界中禁用商店访问权限。
ClaimblockAddon
A lightweight server-side addon for GriefPrevention that integrates a diamond-based economy for claim blocks. This plugin allows players to trade their diamonds for claim blocks (and vice versa) via simple commands. It also includes comprehensive admin tools for server management, complete with console support, offline player compatibility, and granular per-world configuration.
⚠️ Required Dependencies
This plugin is an extension and will not function without its core dependency:
GriefPrevention (Ensure you have a version compatible with your server software)
Features
Diamond Exchange Economy: Configurable ratio exchange for buying or selling claim blocks using physical diamonds from player inventories.
Per-World Protection: Disabled everywhere by default to prevent exploitation in minigames, resource worlds, or creative zones. Features can be explicitly enabled/disabled per world dynamically.
Offline Player Support: Admin distribution commands can modify claim block values for all players, online players only, or even offline accounts instantly saving data to disk.
In-Game Configuration: Modify conversion rates live using an admin command without manually modifying files or executing complete server restarts.
Full Console Support: All administrative commands can be executed securely directly from the server console window.
Commands & Permissions
Player Commands
/cbuy <amount>
Exchanges diamonds from your inventory for the specified amount of claim blocks.
/csell <amount>
Exchanges your excess bonus claim blocks for physical diamonds.
Admin Commands
Permission node for all admin commands: claimblockaddon.admin
/creload
Reloads the configuration settings from the disk.
/csetprice <blocks> <diamonds>
Sets the conversion rate instantly (e.g., /csetprice 5 1 sets 5 claim blocks per 1 diamond) and saves directly to the config file.
/cgive <player> <amount>
Grants a specific quantity of bonus claim blocks to a player (Works for offline players).
/cgiveonline <amount>
Distributes a specified quantity of bonus claim blocks to all currently connected players.
/cgiveall <amount>
Distributes a specified quantity of bonus claim blocks to every registered profile on the server database.
/claimenable [world]
Displays the current world authorization status or enables shop access within a specific world.
/claimdisable [world]
Displays the current world authorization status or disables shop access within a specific world.
评论 0
登录后参与评分
还没有评论,来抢沙发吧