LyrboxCore
LyrboxCore 是一款专为 Spigot、Bukkit 及兼容服务器软件设计的全能型 Minecraft 服务器核心插件。
LyrboxCore 旨在通过一个轻量级插件提供常用的服务器功能,无需为基本经济系统、等级、商店、出生点和实用命令等安装多个独立的插件。
功能
经济系统
LyrboxCore 包含一个简单的内置经济系统。
玩家可以:
- 使用
/bal 查看自己的余额
- 使用
/pay <玩家> <金额> 向其他玩家转账
- 使用余额在服务器商店中购买物品
新玩家会获得可配置的初始余额。
服务器商店
使用 /shop 打开内置的图形界面商店。
服务器管理员可以配置:
商店使用内置的 LyrboxCore 经济系统。
等级系统
LyrboxCore 包含一个内置的等级系统。
可用等级:
- OWNER
- ADMIN
- DEV
- HELPER
- VIP
- MEMBER
玩家可以使用以下命令查看自己的等级:
/rank
管理员可以使用以下命令更改玩家的等级:
/setrank <player> <rank>
等级也可以出现在加入和离开服务器的消息中。
出生点系统
服务器管理员可以使用以下命令创建主服务器出生点:
/setspawn
玩家可以使用以下命令传送至已配置的出生点:
/spawn
出生点的位置、方向和世界会自动保存。
加入与离开消息
LyrboxCore 包含可自定义的加入和离开服务器消息。
这些消息可以显示:
消息可以通过插件配置进行修改。
实用命令
LyrboxCore 还包含几个有用的服务器命令:
/heal
恢复玩家的生命值。
/feed
恢复玩家的饥饿值。
/fly
启用或禁用飞行模式。
这些命令受权限保护。
命令
| 命令 |
描述 |
/bal |
查看当前余额 |
/balance |
/bal 的别名 |
/money |
/bal 的别名 |
/pay <玩家> <金额> |
向其他玩家转账 |
/shop |
打开服务器商店 |
/spawn |
传送至服务器出生点 |
/setspawn |
设置服务器出生点 |
/rank |
查看当前等级 |
/setrank <玩家> <等级> |
更改玩家的等级 |
/heal |
恢复生命值 |
/feed |
恢复饥饿值 |
/fly |
切换飞行模式 |
权限
| 权限 |
描述 |
lyrbox.setspawn |
允许使用 /setspawn |
lyrbox.rank.set |
允许使用 /setrank |
lyrbox.heal |
允许使用 /heal |
lyrbox.feed |
允许使用 /feed |
lyrbox.fly |
允许使用 /fly |
管理员权限默认授予服务器操作员。
配置
LyrboxCore 会自动创建 config.yml 文件。
你可以配置:
- 初始余额
- 加入消息
- 离开消息
- 商店标题
- 商店物品
- 商店价格
- 商店物品数量
- 商店 GUI 槽位
示例配置:
starting-balance: 100.0
messages:
join: "&8[&a+&8] {prefix}{player} &7加入了服务器。"
quit: "&8[&c-&8] {prefix}{player} &7离开了服务器。"
LyrboxCore
LyrboxCore is an all-in-one Minecraft server core plugin designed for Spigot, Bukkit, and compatible server software.
The goal of LyrboxCore is to provide commonly used server features in one lightweight plugin, without requiring multiple separate plugins for basic economy, ranks, shop, spawn, and utility commands.
Features
Economy System
LyrboxCore includes a simple built-in economy system.
Players can:
- Check their balance with
/bal
- Send money to other players with
/pay <player> <amount>
- Use their balance to purchase items from the server shop
New players receive a configurable starting balance.
Server Shop
Use /shop to open the built-in GUI shop.
Server owners can configure:
- Shop items
- Item amounts
- Prices
- Display names
- GUI slots
The shop uses the built-in LyrboxCore economy system.
Rank System
LyrboxCore includes a built-in rank system.
Available ranks:
- OWNER
- ADMIN
- DEV
- HELPER
- VIP
- MEMBER
Players can check their rank using:
/rank
Administrators can change player ranks using:
/setrank <player> <rank>
Ranks can also appear in join and quit messages.
Spawn System
Server owners can create a main server spawn using:
/setspawn
Players can teleport to the configured spawn using:
/spawn
The spawn location, direction, and world are saved automatically.
Join & Quit Messages
LyrboxCore includes customizable join and quit messages.
The messages can display:
- Player name
- Player rank prefix
- Join indicator
- Quit indicator
Messages can be changed through the plugin configuration.
Utility Commands
LyrboxCore also includes several useful server commands:
/heal
Restores the player's health.
/feed
Restores the player's hunger.
/fly
Enables or disables flight.
These commands are protected by permissions.
Commands
| Command |
Description |
/bal |
View your current balance |
/balance |
Alias for /bal |
/money |
Alias for /bal |
/pay <player> <amount> |
Send money to another player |
/shop |
Open the server shop |
/spawn |
Teleport to the server spawn |
/setspawn |
Set the server spawn |
/rank |
View your current rank |
/setrank <player> <rank> |
Change a player's rank |
/heal |
Restore health |
/feed |
Restore hunger |
/fly |
Toggle flight |
Permissions
| Permission |
Description |
lyrbox.setspawn |
Allows use of /setspawn |
lyrbox.rank.set |
Allows use of /setrank |
lyrbox.heal |
Allows use of /heal |
lyrbox.feed |
Allows use of /feed |
lyrbox.fly |
Allows use of /fly |
Administrative permissions are granted to server operators by default.
Configuration
LyrboxCore automatically creates a config.yml file.
You can configure:
- Starting balance
- Join messages
- Quit messages
- Shop title
- Shop items
- Shop prices
- Shop item amounts
- Shop GUI slots
Example configuration:
starting-balance: 100.0
messages:
join: "&8[&a+&8] {prefix}{player} &7joined the server."
quit: "&8[&c-&8] {prefix}{player} &7left the server."
评论 0
登录后参与评分
还没有评论,来抢沙发吧