WGExtender
下载
WGExtender 是一个插件,通过额外的区域保护功能、领地辅助命令和可配置的聊天消息来扩展 WorldGuard。
此仓库是一个经过维护的分支,包含更新的依赖项、对现代 Paper 版本的支持,以及通过 config.yml 实现的可配置消息格式。
分支亮点
- 适配 Paper
1.21.11
- 基于 Java
21 构建
- 使用 WorldGuard
7.0.15
- 使用 WorldEdit
7.4.1
- 支持传统颜色代码和 MiniMessage
- 将面向玩家的聊天消息保存在
config.yml 中
主要功能
- 针对液体、火焰和爆炸的区域保护行为增强
- 领地命令增强
- 选中区域的自动垂直扩展
- 区域大小和方块数量限制检查
- 区域内的命令限制
- 扩展的 WorldEdit 向导棒支持
- 可配置的玩家消息和项目显示名称
消息格式
消息在 resources/config.yml 中进行配置。
支持的序列化器:
LEGACY 用于传统的 & 颜色代码
MINIMESSAGE 用于 Adventure MiniMessage 标签,如 <green>、<bold>
所有玩家可见的聊天消息均从配置文件中加载,因此可以在不修改 Java 代码的情况下更改消息文本和样式。
要求
- Java
21
- Paper
1.21.11
- WorldGuard
7.0.15
- WorldEdit
7.4.1
- Vault(如果你的设置使用基于权限的限制或集成)
安装
- 在服务器上安装 WorldEdit 和 WorldGuard。
- 如果权限设置依赖于它,请安装 Vault。
- 从 Releases 下载最新的 JAR 文件,或者自行构建插件。
- 将 JAR 文件放入服务器的
plugins/ 目录中。
- 启动或重启服务器。
- 查看
plugins/WGExtender/config.yml 并根据需要调整设置。
构建
在项目根目录下使用 Maven 进行构建:
mvn package
在此分支中,项目也在 IntelliJ IDEA 中使用 Maven 和 Java 21 进行构建。
输出产物:
target/wgextender-3.2.1.jar
配置
主配置文件为:
resources/config.yml
其中包含:
- 领地限制
- 区域保护开关
- 自动标志
- 受限命令
- 向导棒设置
- 消息格式和文本
许可证
本项目采用 GNU AGPL v3.0 许可证。详情请参阅 LICENSE。
分支仓库
sokolovskiyoleg/WGExtender
WGExtender
Downloads
WGExtender is a plugin that extends WorldGuard with additional region protection features, claim helpers, and configurable chat messages.
This repository is a maintained fork with updated dependencies, support for modern Paper versions, and configurable message formatting via config.yml.
Fork Highlights
- Updated for Paper
1.21.11
- Built with Java
21
- Uses WorldGuard
7.0.15
- Uses WorldEdit
7.4.1
- Supports both legacy color codes and MiniMessage
- Keeps player-facing chat messages in
config.yml
Main Features
- Additional region protection behavior for liquids, fire, and explosions
- Claim command enhancements
- Automatic vertical expansion for selected regions
- Region size and block limit checks
- Command restrictions inside regions
- Extended WorldEdit wand support
- Configurable player messages and item display names
Message Formatting
Messages are configured in resources/config.yml.
Supported serializers:
LEGACY for classic & color codes
MINIMESSAGE for Adventure MiniMessage tags like <green>, <bold>
All player-visible chat messages are loaded from the config, so message text and styling can be changed without editing Java code.
Requirements
- Java
21
- Paper
1.21.11
- WorldGuard
7.0.15
- WorldEdit
7.4.1
- Vault, if your setup uses permission-based limits or integrations
Installation
- Install WorldEdit and WorldGuard on your server.
- Install Vault if your permissions setup depends on it.
- Download the latest JAR from Releases or build the plugin yourself.
- Put the JAR into the server
plugins/ directory.
- Start or restart the server.
- Review
plugins/WGExtender/config.yml and adjust settings if needed.
Build
Build from the project root with Maven:
mvn package
In this fork, the project is also built in IntelliJ IDEA with Maven using Java 21.
Output artifact:
target/wgextender-3.2.1.jar
Configuration
The main configuration file is:
resources/config.yml
It contains:
- claim limits
- region protection toggles
- automatic flags
- restricted commands
- wand settings
- message formatting and texts
License
This project is licensed under the GNU AGPL v3.0. For details, see LICENSE.
Fork Repository
sokolovskiyoleg/WGExtender
评论 0
登录后参与评分
还没有评论,来抢沙发吧