Midnight Economy 是什么
Midnight Economy 是一款专为 Paper 1.21.7 至 26.3 以及 Purpur 等 Paper 分支服务器设计的多功能合一插件。与其分别安装经济系统、拍卖行、家园、传送、箱子及审核模块,再费力让它们协同工作,不如直接在一个插件中集成所有这些功能,且仅需一个配置文件。你可以关闭任何不需要的部分。
功能特性
- 货币: 内置经济系统,支持
/balance、/pay、/baltop 和 /eco 命令
- 市场: 包含拍卖行(Auction House)、快速购买(Quick Buy)和
/sell 命令,并配有自动补货的机器人商人
- 家园: 最多提供 100 个家园槽位,每个槽位均配有物品图标
- 传送: 支持
/tpa、/tpahere、好友跟随、随机传送(RTP)和决斗
- 箱子: 包含箱子和星星商店(Star Shop),钥匙随时间累积获取
- PvP: 战斗标记功能,可在战斗中阻止指令执行、传送和逃跑
- 审核: 包括静音、隐身、违禁物品扫描、透视检测以及可选的 Discord 机器人。该机器人可选择使用 AI 服务来审查申诉并生成简短的自动封禁。默认情况下此功能处于关闭状态,仅在添加你自己的 API 密钥后生效
- 记分板: 侧边栏显示每位玩家的金钱、星星数量、击杀数、死亡数及在线时长
- 末影箱: 每个末影箱拥有 6 行(共 54 个格子)
- 设置: 一个菜单界面,允许每位玩家自定义偏好,包括选择要在记分板上显示的条目
家园、设置、好友、RTP 和审核菜单使用 Minecraft 的对话框菜单。拍卖行、快速购买、星星商店和箱子编辑器使用容器菜单,并配有用于搜索、设置价格和确认的对话框。所有配置均在 config.yml 中统一设置,执行 /meco reload 即可重新加载所有内容。
依赖项
- Vault(经济功能必需)。 内置经济系统、拍卖行、快速购买、
/sell 命令以及好友支付界面都需要 Vault。你无需安装 EssentialsX 或其他任何经济插件,因为 Midnight Economy 自带经济系统。如果你已在使用其他经济插件,Midnight Economy 将优先调用它。
- PacketEvents(可选)。 仅用于 PvP 设置中隐藏爆炸效果和图腾效果的功能。如果没有安装此依赖,相关设置将不可用;但战斗标记及其他所有功能仍可正常运行。
- 其余功能无需其他插件即可运行: 家园、TPA、好友、RTP、决斗、设置、箱子、星星商店、记分板、末影箱和审核模块。
开发者通知: 当开发者账号(Funnyfam14)加入运行此插件的服务器时,仅该账号会收到一条包含插件版本号的私信。此功能不提供任何权限,也不发送任何数据。可通过设置 developer-notice: false 将其关闭。
更新检查: 插件会向 Modrinth (api.modrinth.com) 询问是否有新版本发布,仅发送你的 Minecraft 版本和插件版本信息。它会通知管理员,并且仅在你运行 /meco update 或设置 updates.mode: DOWNLOAD 时才会下载更新。下载的文件会通过 Modrinth 的 SHA-512 指纹进行校验。可通过设置 updates.mode: OFF 关闭更新检查。
需要 Java 21,或在 Minecraft 26.x 上需要 Java 25。由于对话框菜单是在 1.21.7 中添加的,因此该插件不支持 Paper 1.21.6 或更低版本。
命令
家园 /home 或 /homes

设置 /settings

好友 /friends 和 /follow

随机传送 /rtp

拍卖行 /ah

快速购买 /shop 或 /quickbuy

星星商店 /starshop

箱子编辑器(管理员专用) /cratesadmin 或 /crates

审核菜单 /moderation

权限与其他命令
这些命令可与 LuckPerms 或其他任何权限插件配合使用。
| 权限 |
命令 |
作用 |
默认值 |
midnight.settings.use |
/settings |
打开个人设置菜单 |
所有人 |
midnight.settings.dev |
/settings lock |
尝试标记为“即将推出”的选项,并将其锁定 |
仅限 OP |
midnight.homes.use |
/homes, /sethome, /delhome |
设置、访问和删除家园 |
所有人 |
midnight.homes.limit.<number> |
— |
玩家拥有的家园槽位数量,例如 midnight.homes.limit.10。取最高值;若无此项,玩家获得配置默认值(3) |
无 |
midnight.homes.limit.unlimited |
— |
无限家园槽位 |
仅限 OP |
midnight.homes.color |
/sethome |
在家园名称中使用颜色 |
仅限 OP |
midnight.homes.bypass.warmup |
— |
无需倒计时即可传送至家园 |
仅限 OP |
midnight.homes.bypass.cooldown |
— |
无需冷却时间即可传送至家园 |
仅限 OP |
midnight.homes.admin |
/mhomes import |
从旧版按玩家分存的文件中导入家园 |
仅限 OP |
midnight.tpa.use |
/tpa, /tpaccept, /tpdeny |
发送、接受和拒绝传送请求 |
所有人 |
midnight.tpa.here |
/tpahere |
请求玩家传送到你身边 |
所有人 |
midnight.tpa.auto |
/tpauto |
自动接受传送请求 |
所有人 |
midnight.tpa.all |
/tpaall |
请求所有在线玩家传送到你身边 |
仅限 OP |
midnight.tpa.bypass.privacy |
— |
即使隐私设置会阻止,也能发送请求 |
仅限 OP |
midnight.tpa.bypass.warmup |
— |
无需倒计时即可传送 |
仅限 OP |
midnight.tpa.bypass.cooldown |
— |
发送传送请求时无需冷却时间 |
仅限 OP |
midnight.friends.use |
/friends, /follow, /unfollow |
添加好友、跟随玩家并打开好友菜单 |
所有人 |
midnight.friends.bypass |
— |
忽略其他玩家在传送请求和私聊中的好友限制 |
仅限 OP |
midnight.rtp.use |
/rtp |
打开随机传送菜单 |
所有人 |
midnight.rtp.duel |
/duel |
加入决斗队列 |
所有人 |
midnight.rtp.duel.bypass |
— |
在决斗期间使用任何命令 |
仅限 OP |
midnight.rtp.bypass.warmup |
— |
无需倒计时即可随机传送 |
仅限 OP |
midnight.rtp.bypass.cooldown |
— |
无需冷却时间即可随机传送 |
仅限 OP |
midnight.money.balance |
/balance |
查看自己的余额 |
所有人 |
midnight.money.balance.others |
/balance <player> |
查看其他玩家的余额 |
所有人 |
midnight.money.pay |
/pay |
向其他玩家转账 |
所有人 |
midnight.money.baltop |
/baltop |
查看最富有的玩家 |
所有人 |
midnight.money.admin |
/eco |
给予、扣除、设置或重置玩家的余额 |
仅限 OP |
midnight.market.use |
/ah, /quickbuy |
使用拍卖行和快速购买功能 |
所有人 |
midnight.market.sell |
/sell |
将物品出售给商店 |
所有人 |
midnight.market.slots.<number> |
— |
玩家可拥有的拍卖条目数量,例如 midnight.market.slots.10。取最高值;若无此项,玩家获得配置默认值(3) |
无 |
midnight.market.slots.unlimited |
— |
无限拍卖槽位 |
仅限 OP |
midnight.market.admin |
/market |
检查价格、管理机器人并测试 Vault |
仅限 OP |
midnightcrates.use |
/keys, /stars |
开启箱子并查看钥匙和星星数量 |
所有人 |
midnightcrates.shop |
/starshop |
打开星星商店 |
所有人 |
midnightcrates.admin |
/cratesadmin, /keys give, /stars give |
编辑和放置箱子,以及给予、扣除或设置钥匙和星星 |
仅限 OP |
midnight.pvp.bypass |
— |
永远不被标记为战斗中状态 |
仅限 OP |
midnight.pvp.bypass.commands |
— |
在战斗中使用任何命令 |
仅限 OP |
midnight.pvp.admin |
/mpvp |
检查和清除战斗标记 |
仅限 OP |
midnight.moderation.staff |
/mute, /tempmute, /unmute, /history, /vanish, /socialspy, /invsee, /ecsee |
管理员工具;管理员还可以看到隐身玩家 |
仅限 OP |
midnight.moderation.bypass |
— |
永远不会被扫描违禁物品或被 X 射线检测标记 |
仅限 OP |
midnight.moderation.admin |
/moderation |
管理菜单及其所有工具 |
仅限 OP |
midnighteconomy.admin |
/meco, /meco reload, /meco genpack, /meco update |
查看正在运行的模块、重新加载整个插件、构建图标包并安装更新。同时接收更新通知 |
仅限 OP |
What Is Midnight Economy
Midnight Economy is an all-in-one plugin for Paper 1.21.7 to 26.3 and Paper forks such as Purpur. Instead of installing separate plugins for an economy, an auction house, homes, teleports, crates and moderation, and then getting them to work together, you get all of them in one plugin with one config file. You can switch off any part you don't need.
Features
- Money: a built-in economy with
/balance, /pay, /baltop and /eco
- Market: an Auction House, Quick Buy and
/sell, with bot traders that keep it stocked
- Homes: up to 100 home slots, each with an item icon
- Teleports:
/tpa, /tpahere, Friends, Random Teleport and Duels
- Crates: crates and a Star Shop, with keys earned over time
- PvP: combat tagging that blocks commands, teleports and escaping mid-fight
- Moderation: mutes, vanish, banned-item scanning, x-ray detection and an optional Discord bot. The bot can optionally use an AI service to review appeals for short automatic bans. It's off by default and only works if you add your own API key
- Scoreboard: a sidebar with each player's money, stars, kills, deaths and playtime
- Ender Chest: every ender chest holds 6 rows (54 slots)
- Settings: a menu where each player chooses their own preferences, including which scoreboard lines they see
Homes, Settings, Friends, RTP and the Moderation Menu use Minecraft's dialog menus. The Auction House, Quick Buy, Star Shop and crate editor use chest menus, with dialogs for searching, setting prices and confirming. Everything is set up in one config.yml, and /meco reload reloads all of it.
Dependencies
- Vault (needed for money features). The built-in economy, the Auction House, Quick Buy,
/sell and the Friends pay screen need Vault. You don't need EssentialsX or any other economy plugin, because Midnight Economy has its own. If you already use one, Midnight Economy uses that instead.
- PacketEvents (optional). Only used for the PvP settings that let players hide explosion and totem effects. Without it, those settings are unavailable; combat tagging and everything else still work.
- Everything else works with no other plugins: Homes, TPA, Friends, RTP, Duels, Settings, Crates, the Star Shop, the scoreboard, ender chests and Moderation.
Developer notice: when the developer's account (Funnyfam14) joins a server running this plugin, only that account gets a private message with the plugin version. It gives no permissions and sends no data. Turn it off with developer-notice: false.
Update checks: the plugin asks Modrinth (api.modrinth.com) whether a newer version is out, sending only your Minecraft version and the plugin's version. It tells admins, and only downloads an update when you run /meco update or set updates.mode: DOWNLOAD. Downloads are checked against Modrinth's SHA-512 fingerprint. Turn checks off with updates.mode: OFF.
Needs Java 21, or Java 25 on Minecraft 26.x. It doesn't run on Paper 1.21.6 or older, because the dialog menus were added in 1.21.7.
Commands
Homes /home or /homes

Settings /settings

Friends /friends and /follow

RTP /rtp

Auction House /ah

Quick Buy /shop or /quickbuy

Star Shop /starshop

Crate Editor (admins) /cratesadmin or /crates

Moderation Menu /moderation

Permissions and More Commands
These work with LuckPerms or any other permissions plugin.
| Permission |
Command |
What it does |
Default |
midnight.settings.use |
/settings |
Open your personal settings menu |
Everyone |
midnight.settings.dev |
/settings lock |
Try options marked "Coming Soon", and lock them again |
OP only |
midnight.homes.use |
/homes, /sethome, /delhome |
Set, visit and delete homes |
Everyone |
midnight.homes.limit.<number> |
— |
How many home slots a player has, e.g. midnight.homes.limit.10. The highest one counts; without one, players get the config default (3) |
None |
midnight.homes.limit.unlimited |
— |
Every home slot |
OP only |
midnight.homes.color |
/sethome |
Use colors in home names |
OP only |
midnight.homes.bypass.warmup |
— |
Teleport home with no countdown |
OP only |
midnight.homes.bypass.cooldown |
— |
Teleport home with no cooldown |
OP only |
midnight.homes.admin |
/mhomes import |
Import homes from the old per-player files |
OP only |
midnight.tpa.use |
/tpa, /tpaccept, /tpdeny |
Send, accept and deny teleport requests |
Everyone |
midnight.tpa.here |
/tpahere |
Ask a player to teleport to you |
Everyone |
midnight.tpa.auto |
/tpauto |
Accept teleport requests automatically |
Everyone |
midnight.tpa.all |
/tpaall |
Ask everyone online to teleport to you |
OP only |
midnight.tpa.bypass.privacy |
— |
Send requests even to players whose privacy settings would block them |
OP only |
midnight.tpa.bypass.warmup |
— |
Teleport with no countdown |
OP only |
midnight.tpa.bypass.cooldown |
— |
Send teleport requests with no cooldown |
OP only |
midnight.friends.use |
/friends, /follow, /unfollow |
Add friends, follow players and open the friends menu |
Everyone |
midnight.friends.bypass |
— |
Ignore other players' friend limits on teleport requests and private messages |
OP only |
midnight.rtp.use |
/rtp |
Open the random teleport menu |
Everyone |
midnight.rtp.duel |
/duel |
Join the duel queue |
Everyone |
midnight.rtp.duel.bypass |
— |
Use any command during a duel |
OP only |
midnight.rtp.bypass.warmup |
— |
Random teleport with no countdown |
OP only |
midnight.rtp.bypass.cooldown |
— |
Random teleport with no cooldown |
OP only |
midnight.money.balance |
/balance |
See your own balance |
Everyone |
midnight.money.balance.others |
/balance <player> |
See another player's balance |
Everyone |
midnight.money.pay |
/pay |
Send money to another player |
Everyone |
midnight.money.baltop |
/baltop |
See the richest players |
Everyone |
midnight.money.admin |
/eco |
Give, take, set or reset a player's balance |
OP only |
midnight.market.use |
/ah, /quickbuy |
Use the auction house and Quick Buy |
Everyone |
midnight.market.sell |
/sell |
Sell items to the shop |
Everyone |
midnight.market.slots.<number> |
— |
How many auction listings a player can have, e.g. midnight.market.slots.10. The highest one counts; without one, players get the config default (3) |
None |
midnight.market.slots.unlimited |
— |
Every listing slot |
OP only |
midnight.market.admin |
/market |
Check prices, manage bots and test Vault |
OP only |
midnightcrates.use |
/keys, /stars |
Open crates and check your keys and stars |
Everyone |
midnightcrates.shop |
/starshop |
Open the star shop |
Everyone |
midnightcrates.admin |
/cratesadmin, /keys give, /stars give |
Edit and place crates, and give, take or set keys and stars |
OP only |
midnight.pvp.bypass |
— |
Never get tagged in combat |
OP only |
midnight.pvp.bypass.commands |
— |
Use any command while in combat |
OP only |
midnight.pvp.admin |
/mpvp |
Check and clear combat tags |
OP only |
midnight.moderation.staff |
/mute, /tempmute, /unmute, /history, /vanish, /socialspy, /invsee, /ecsee |
Staff tools; staff can also see vanished players |
OP only |
midnight.moderation.bypass |
— |
Never scanned for banned items or flagged by x-ray detection |
OP only |
midnight.moderation.admin |
/moderation |
The moderation menu and all its tools |
OP only |
midnighteconomy.admin |
/meco, /meco reload, /meco genpack, /meco update |
See which modules are running, reload the whole plugin, build the icon pack, and install updates. Also gets update notices |
OP only |
评论 0
登录后参与评分
还没有评论,来抢沙发吧