Yield 是一款专为 Paper 1.21.1 构建的进度与声望(重生)技能系统。它受到模组化 Rust 服务器中进度和等级动态的启发,用对称的箱子 GUI 取代了玩家和管理员使用的基于文本的聊天命令。
功能
GUI 布局
- 中心轴:围绕槽位 4(管理员命令方块)、槽位 13(信息下界之星分隔符)和槽位 22(屏障关闭按钮)配置。
- 技能网格:左侧(
槽位 10, 11)为伐木与采矿的对称槽位,右侧(槽位 15, 16)为农耕与战斗的对称槽位。
- 冒险组件:完全兼容 Paper 的 Adventure API,用于渲染标题和物品描述。
进度与声望(重生)
- 星级评级:重生次数以黄色星星格式显示在灰色括号内:
&7[&e★...&7]。
- 等级上限:可自定义每个技能的等级限制要求。
- 经验倍数:每次重生都会获得永久且可叠加的经验加成。
管理员控制面板与搜索引擎
- 玩家选择:显示所有在线用户头像的库存界面。
- 指南针搜索引擎 (
Material.COMPASS):通过即时聊天提示的用户名过滤功能,在人口密集的服务器上管理玩家。
- 实时属性编辑:通过聊天会话直接修改属性(经验值、等级、重生次数)。
多语言支持
- 菜单、物品描述、聊天提示和系统消息的动态翻译。
- 内置语言:土耳其语 (tr)、英语 (en) 和 德语 (de)。
- 支持使用自定义
<g:#hex:#hex>text</g> 标签进行渐变文字样式设置。
操作指南
聊天会话
管理员可以在 GUI 中选择操作后,直接在聊天中输入数值来修改玩家的进度。
玩家筛选选择
指南针搜索可根据名称筛选玩家头像。
配置 (config.yml)
插件配置文件:
# Supported: tr, en, de
lang: "en"
xp-settings:
max-level: 50
base-xp: 100.0
exponent: 1.8
custom-levels:
enabled: false
levels:
1: 100.0
2: 250.0
3: 500.0
...
rebirth-settings:
requirements:
1: 10
2: 15
3: 25
4: 40
5: 70
min-level-required:
woodcutting: 10
mining: 10
farming: 10
combat: 10
xp-boost-per-rebirth: 0.20
gather-settings:
chance-multiplier-per-level: 5.0
xp-awards:
woodcutting: 10.0
mining: 15.0
farming: 8.0
combat: 20.0
rare-rewards:
enabled: true
...
命令与权限
| 命令 |
描述 |
权限 |
/yield |
打开图形化技能概览菜单。 |
无(所有玩家) |
/yield reload |
重新加载所有配置文件和语言文件。 |
yield.admin |
Yield is a progression and prestige (Rebirth) skill system built for Paper 1.21.1. Inspired by the progression and leveling dynamics of modded Rust servers, it replaces text-based chat commands for players and admins with a symmetrical Chest GUI.
Features
GUI Layout
- Center Axis: Configured around slot 4 (Admin Command Block), slot 13 (Info Nether Star Divider), and slot 22 (Barrier Close).
- Skill Grid: Symmetrical slots for Woodcutting & Mining on the left (
slots 10, 11) and Farming & Combat on the right (slots 15, 16).
- Adventure Components: Fully compliant with Paper's Adventure API for rendering titles and lores.
Progression & Prestige (Rebirth)
- Star Ratings: Rebirth count formatted with yellow stars inside gray brackets:
&7[&e★...&7].
- Level Caps: Customizable level limits with requirements per skill.
- XP Multipliers: Each Rebirth awards a permanent, stacking XP boost.
Admin Control Panel & Search Engine
- Player Selection: Inventory interface displaying player heads of all online users.
- Compass Search Engine (
Material.COMPASS): Instant chat-prompt username filtering to manage players in populated servers.
- Live Stat Editing: Direct stat modification (XP, Level, Rebirth count) via chat sessions.
Multi-Language
- Dynamic translation of menus, item lores, chat prompts, and system messages.
- Built-in languages: Turkish (tr), English (en), and German (de).
- Gradient text styling supported using custom
<g:#hex:#hex>text</g> tags.
Walkthrough
Chat Sessions
Administrators can modify a player's progress by entering values directly into the chat after selecting an action in the GUI.
Player Filter Selection
Compass search filters player heads by name.
Configuration (config.yml)
The plugin configuration file:
# Supported: tr, en, de
lang: "en"
xp-settings:
max-level: 50
base-xp: 100.0
exponent: 1.8
custom-levels:
enabled: false
levels:
1: 100.0
2: 250.0
3: 500.0
...
rebirth-settings:
requirements:
1: 10
2: 15
3: 25
4: 40
5: 70
min-level-required:
woodcutting: 10
mining: 10
farming: 10
combat: 10
xp-boost-per-rebirth: 0.20
gather-settings:
chance-multiplier-per-level: 5.0
xp-awards:
woodcutting: 10.0
mining: 15.0
farming: 8.0
combat: 20.0
rare-rewards:
enabled: true
...
Commands & Permissions
| Command |
Description |
Permission |
/yield |
Opens the graphical skills overview menu. |
None (All players) |
/yield reload |
Reloads all configuration and language files. |
yield.admin |
评论 0
登录后参与评分
还没有评论,来抢沙发吧