Omniessentials — 适用于 Paper 的一体化插件
等级、标签、TAB 列表/名称标签、经济、商店、GUI 菜单、等级、每日任务、家园、出生点、大厅模式、可自定义的链接/公告、NPC、生成器、玩家间传送 (/tpa)、快速出售 (/sell) 和拍卖行 (/ah)。配置文件位于 config.yml、links.yml 和 spawn-build.yml。
2. 在 [My Server] 上安装
- 面板 [My Server]:服务器需运行 Paper(版本与 pom.xml 中一致)。
- 文件管理器 / FTP:将
.jar 文件放入 plugins/ 文件夹。
- 重启服务器。
config.yml 将在 plugins/monServeur/ 中创建。
- 授予自己管理员权限:从面板控制台运行
op YourUsername,然后在游戏内执行 /rank set YourUsername admin。
3. 命令
| 命令 |
描述 |
权限 |
/menu(或右键点击星星) |
主菜单 |
所有人 |
/shop |
商店(左键购买,右键出售,Shift = x64 / 全部) |
所有人 |
/balance [player], /pay <player> <amount>, /baltop |
经济 |
所有人 |
/eco <give|take|set> <player> <amount> |
管理金钱 |
monserveur.admin |
/sethome [name], /home [name], /delhome <name>, /homes |
家园 |
所有人 |
/spawn |
返回出生点 |
所有人 |
/setspawn |
定义出生点 |
monserveur.admin |
/level |
等级和经验值 |
所有人 |
/quests |
每日任务 |
所有人 |
/tag |
选择/购买标签 |
所有人 |
/rank list, /rank set <player> <rank> |
等级 |
monserveur.admin |
/tpa <player>, /tpahere <player> |
传送请求 |
所有人 |
/tpaccept, /tpdeny, /tpacancel |
响应请求 |
所有人 |
/back |
返回上一个位置(传送前或死亡前) |
所有人 |
/sell hand, /sell all |
不打开菜单的快速出售 |
所有人 |
/ah, /ah my, /ah collect, /ah sell <price> |
玩家间拍卖行 |
所有人 |
/monserveur reload |
重载 config.yml 和 links.yml |
monserveur.admin |
/monserveur buildspawn [confirm|undo] |
在你周围构建出生点 / 撤销 |
monserveur.admin |
/npc ... |
管理 NPC 和全息图 |
monserveur.admin |
/discord /youtube /store /website /links /rules /aide |
links.yml 中的命令(可修改) |
所有人 |
附加权限:monserveur.teleport.bypass(忽略传送延迟),
monserveur.lobby.bypass(忽略大厅保护),
monserveur.tag.fondateur(示例:保留的标签)。
3 bis. 可自定义的链接、公告和欢迎界面 (links.yml)
文件 plugins/MonServeur/links.yml 在首次启动时创建。
variables:在此添加你的链接(Discord、YouTube、商店、网站、服务器名称)。
它们可以在任何地方使用 {discord}、{youtube}、{server-name}...
commands:每个条目变成一个命令(/discord、/rules...)。可以按需添加任意数量。
announcements:定期自动发送的聊天消息。
welcome:每次连接时显示的标题和消息。
{server-name} 同样适用于 TAB 列表头部(config.yml 的 tab 部分)。
编辑后:执行 /monserveur reload(无需重启服务器)。
3 ter. NPC
NPC 是一个不可移动且无敌的村民,头顶有浮动文本。
右键(或左键)点击 = 执行其动作。
/npc create <id> <profession> <MENU|COMMAND|LINK> <value>
例如:/npc create merchant toolsmith MENU shop
/npc create yt butcher LINK youtube
/npc create hub cleric COMMAND spawn
/npc name <id> <text> (MiniMessage 格式,例如:<gold>Merchant)
/npc subtitle <id> <text> (- 用于清除)
/npc action <id> <type> <value>
/npc profession <id> <profession>
/npc move <id> (将其移动到你所在的位置)
/npc remove <id> /npc list /npc respawn
/npc hologram <id> <text> (独立的浮动文本,不带 NPC)
可用菜单:main、shop、homes、quests、tags。对于 LINK 类型,值为 links.yml 中变量的名称。NPC 保存在 npcs.yml 中。
限制:这些是村民(不支持玩家皮肤,这需要外部插件如 Citizens)。
3 quater. 生成出生点
- 前往你希望作为出生点中心的位置(在一个大致平坦的区域)。
/monserveur buildspawn:显示警告信息和区域大小。
/monserveur buildspawn confirm:开始构建(需要几秒钟)。
- 不满意?执行
/monserveur buildspawn undo(只要服务器未重启即可撤销)。
出生点包含一个圆形棋盘广场、喷泉、4 条路径、4 个传送门、8 盏灯、
4 个亭子、4 棵樱花树、一个浮动标题以及 7 个 NPC(向导、商店、任务、标签、家园、Discord、YouTube)。
它将成为世界的出生点及插件的默认出生点(/spawn)。样式和 NPC 配置位于 spawn-build.yml。
警告:该区域会被替换(地形、树木、建筑均被覆盖)。
3 quinquies. 玩家间传送和 /back
/tpa <player> 发送一个请求(接收方需执行 /tpaccept 或 /tpdeny,默认一分钟后过期)。/tpahere <player> 则相反:对方玩家来到你身边。/back
返回到你上一个位置:在 /home、/spawn、/tpa 之前,
或死亡之后。可在 config.yml 的 teleport 部分进行调整。
3 sexies. 快速出售和拍卖行
/sell hand 出售手中物品,/sell all 出售背包中所有可售卖的物品(价格与 /shop 相同,包含等级加成)。已重命名的物品不会被出售(用于防止特殊物品被误卖)。
/ah 打开拍卖行:玩家可将物品出售给其他玩家。点击“Sell”按钮(将物品置于手中,并在聊天栏输入价格)或使用命令 /ah sell <价格>。
/ah my:你的拍卖列表,需要时可移除。/ah collect 或 /ah mailbox:你的邮箱,用于接收离线时收到的物品、过期的拍卖列表或被移除的物品,或者在购买时你的背包已满的情况。
config.yml 中的设置,auction 部分:自动返回前的时间、每位玩家的活动拍卖数量、销售时的佣金比例、最低/最高价格。
4. 根据服务器类型的使用方式
- 生存 / 经济:保持默认配置,调整商店价格。
- RPG:使用
levels(经验值、曲线、奖励)和 quests。
- 大厅 / 枢纽:设置
lobby.enabled: true,spawn.teleport-on-join: true,并在你希望迎接玩家的位置执行 /setspawn。
- 小游戏:该插件提供了排名、Tab 栏、经济系统、菜单和大厅功能,但不包含小游戏引擎本身(如竞技场、队伍、回合制等)。这些需要在此基础之上单独开发。
5. 自定义
- 文本:采用 MiniMessage 格式,颜色示例如
<red>,渐变示例如 <gradient:red:gold>text</gradient> 等。
- 排名:在
ranks 部分中配置(前缀、颜色、家园数量上限、销售加成等)。
- 商店:在
shop.categories 部分中配置(使用大写形式的 Minecraft 材质名称)。
- 菜单(图标、槽位)位于
src/main/java/dev/monserveur/gui/ 目录下。
6. 注意事项
-
玩家数据:plugins/MonServeur/players/<uuid>.yml(每 5 分钟自动保存)。
-
拍卖行:商品列表位于 plugins/MonServeur/auctions.yml,邮箱在 mailbox.yml。请勿手动编辑这些文件。
-
方块经验可通过放置或破坏方块获取;任务同样适用。
-
商店:每个分类最多 45 个物品,最多支持 21 个分类。
-
家园:菜单最多显示 14 个家园(/home <名称> 命令适用于所有家园)。
-
更新插件:在服务器关闭时,用同名 .jar 文件替换。如果 links.yml 和 spawn-build.yml 不存在则会自动创建,但绝不会覆盖已有文件;config.yml 中的新默认值会自动添加。
Omniessentials — all-in-one plugin for Paper
Grades, tags, tab/nametag, économie, boutique, menus GUI, niveaux, quêtes
quotidiennes, homes, spawn, mode lobby, liens/annonces personnalisables,
PNJ, générateur de spawn, téléportation entre joueurs (/tpa), vente rapide
(/sell) et hôtel des ventes (/ah). Réglages dans config.yml, links.yml et spawn-build.yml.
2. Install on [My Server]
- Panel [My Server]: server on Paper (same version as in the pom).
- File manager / FTP: place the
.jar in the plugins/ folder.
- Restart the server.
config.yml is created in plugins/monServeur/.
- Grant yourself the admin rank: from the panel console, run
op YourUsername
then in-game /rank set YourUsername admin.
3. Commands
| Command |
Description |
Permission |
/menu (or right-click the star) |
Main menu |
everyone |
/shop |
Shop (left click to buy, right click to sell, Shift = x64 / all) |
everyone |
/balance [player], /pay <player> <amount>, /baltop |
Economy |
everyone |
/eco <give|take|set> <player> <amount> |
Manage money |
monserveur.admin |
/sethome [name], /home [name], /delhome <name>, /homes |
Homes |
everyone |
/spawn |
Return to spawn |
everyone |
/setspawn |
Define the spawn |
monserveur.admin |
/level |
Level and XP |
everyone |
/quests |
Daily quests |
everyone |
/tag |
Choose / buy a tag |
everyone |
/rank list, /rank set <player> <rank> |
Ranks |
monserveur.admin |
/tpa <player>, /tpahere <player> |
Teleport request |
everyone |
/tpaccept, /tpdeny, /tpacancel |
Respond to a request |
everyone |
/back |
Return to previous position (before tp or death) |
everyone |
/sell hand, /sell all |
Quick sale without opening the menu |
everyone |
/ah, /ah my, /ah collect, /ah sell <price> |
Player-to-player auction house |
everyone |
/monserveur reload |
Reload config.yml and links.yml |
monserveur.admin |
/monserveur buildspawn [confirm|undo] |
Builds the spawn around you / cancels it |
monserveur.admin |
/npc ... |
Manage NPCs and holograms |
monserveur.admin |
/discord /youtube /store /website /links /rules /aide |
Commands from links.yml (modifiable) |
everyone |
Additional permissions: monserveur.teleport.bypass (ignores teleport delay),
monserveur.lobby.bypass (ignores lobby protections),
monserveur.tag.fondateur (example of a reserved tag).
3 bis. Customizable links, announcements and welcome screen (links.yml)
The file plugins/MonServeur/links.yml is created on first startup.
variables: add your links here (Discord, YouTube, shop, website, server name).
They can be used everywhere with {discord}, {youtube}, {server-name}...
commands: each entry becomes a command (/discord, /rules...). Add as many as you want.
announcements: automatic chat messages at regular intervals.
welcome: title and messages displayed on each connection.
{server-name} also works in the TAB header (config.yml, tab section).
After editing: /monserveur reload (no need to restart).
3 ter. NPCs
An NPC is an immobile and invulnerable villager, with floating text above it.
Right click (or left click) = it executes its action.
/npc create <id> <profession> <MENU|COMMAND|LINK> <value>
ex : /npc create merchant toolsmith MENU shop
/npc create yt butcher LINK youtube
/npc create hub cleric COMMAND spawn
/npc name <id> <text> (MiniMessage, ex : <gold>Merchant)
/npc subtitle <id> <text> (- to clear)
/npc action <id> <type> <value>
/npc profession <id> <profession>
/npc move <id> (moves it to where you are)
/npc remove <id> /npc list /npc respawn
/npc hologram <id> <text> (floating text alone, without NPC)
Available menus: main, shop, homes, quests, tags. For a LINK, the value is the
name of a variable from links.yml. NPCs are saved in npcs.yml.
Limit: these are villagers (no player skin, this requires an external plugin such as Citizens).
3 quater. Generate the spawn
- Go where you want the center of the spawn (on a roughly flat area).
/monserveur buildspawn: displays the warning and the size of the area.
/monserveur buildspawn confirm: builds it (takes a few seconds).
- Not happy?
/monserveur buildspawn undo (possible as long as the server has not restarted).
The spawn contains a round checkered plaza, a fountain, 4 paths, 4 portals, 8 lamps,
4 pavilions, 4 cherry trees, a floating title, and 7 NPCs (guide, shop, quests, tags, homes, Discord, YouTube).
It becomes the spawn of the world and the plugin (/spawn). Style and NPCs: spawn-build.yml.
Warning: the area is replaced (terrain, trees, constructions).
3 quinquies. Teleportation between players and /back
/tpa <player> sends a request (/tpaccept or /tpdeny on the recipient side, expires after
one minute by default). /tpahere <player> does the opposite: the other player comes to you. /back
returns to your previous position: before /home, /spawn, /tpa,
or after death. Adjustable in config.yml, teleport section.
3 sexies. Quick sell and auction house
/sell hand sells the item in hand, /sell all sells everything sellable in
the inventory (same prices as /shop, rank bonus included). Renamed items are not sold
(protection against special items).
/ah opens the auction house: players sell their items to other players.
"Sell" button (hold the item in hand, the price is entered in chat) or /ah sell <price>.
/ah my: your listings, removable if needed. /ah collect or /ah mailbox: your mailbox,
for items received offline, expired listings, or removed items, or when your inventory was full at the time of purchase.
- Settings in
config.yml, auction section: time before automatic return, number
of active listings per player, commission taken on sale, min/max price.
4. Usage depending on server type
- Survival / economy: leave the default config, adjust shop prices.
- RPG: use
levels (XP, curve, rewards) and quests.
- Lobby / hub:
lobby.enabled: true, spawn.teleport-on-join: true,
do /setspawn where you want to welcome players.
- Minigames: the plugin provides ranks, tab, economy, menus and lobby, but not
the minigame engine itself (arenas, teams, rounds). That is coded separately, on this base.
5. Customize
- Texts: MiniMessage format (),
colors like
<red>, gradients like <gradient:red:gold>text</gradient>, etc.
- Ranks:
ranks section (prefix, color, number of homes, sale bonus).
- Shop:
shop.categories section (Minecraft material name in uppercase).
- Menus (icons, slots) are in
src/main/java/dev/monserveur/gui/.
6. Good to know
- Player data:
plugins/MonServeur/players/<uuid>.yml (auto-saved every 5 minutes).
- Auction house: listings are in
plugins/MonServeur/auctions.yml, the mailbox in mailbox.yml. Do not edit them manually.
- Block XP can be farmed by placing/breaking blocks; quests as well.
- Shop: max 45 items per category, max 21 categories.
- Homes: menus display max 14 homes (the
/home <name> command works for all).
- Updating the plugin: replace the
.jar (same name) with the server stopped. links.yml and spawn-build.yml
are created if they do not exist, but are never overwritten; new default values in config.yml are added automatically.
评论 0
登录后参与评分
还没有评论,来抢沙发吧