? FirePlugin
MIT License
从版本 2.0.0 + MIT 开始,源代码许可证已从 CC BY-SA 4.0 更改为 MIT 许可证。
Version 2.0.0 – 一款适用于 Paper 1.21+ 的轻量级高性能服务器实用插件。
它提供基于世界的经济重置、方块保护、建筑限制、高级世界规则、反垃圾邮件、广播积分系统以及可点击的邀请系统。
✨ Features
- Economy reset – 自动清除指定世界中玩家的 Vault 余额(支持正则表达式/通配符)。
- Block protection – 只有玩家放置的方块才能被破坏、烧毁或受爆炸影响。
- Build restriction – 防止在选定世界中放置方块。
- World rules – 每个世界的选项:
- 禁用 PvP
- 使玩家无敌
- 无限饱和度(不会饥饿)
- 虚空重生(传送到世界出生点而不是死亡)
- Anti‑spam – 限制单位时间内的聊天消息数量。
- Broadcast system – 玩家消耗积分来发送全服消息。积分按玩家存储,管理员可以进行管理。
- Invite system – 向个人全体发送可点击的邀请。受邀玩家点击消息即可直接传送到邀请者的世界。
- All world rules support regex/wildcard patterns (e.g.
lobby*, pvp-*, *).
- Bypass permissions – 每种限制都有独立的权限节点。
- Efficient listener‑based design – 无需为已放置的方块进行性能消耗巨大的持久化存储。
? Installation
- 下载最新的
fire-2.0.0.jar。
- 将其放入服务器的
plugins/ 文件夹中。
- 重启服务器。
- 根据需要配置
plugins/fire/config.yml(见下文)。
- 随时使用
/fireadmin reload 重新加载配置。
? Commands
| Command & Aliases |
Permission |
Description |
/broadcast <message> = /bc <message> |
fire.broadcast.use |
发送广播(消耗 1 积分)。 |
/broadcastadmin add <player> <amount> = /bcadmin add ... |
fire.broadcast.admin |
为玩家添加广播积分。 |
/broadcastadmin set <player> <amount> |
fire.broadcast.admin |
将玩家的积分设置为特定数量。 |
/broadcastadmin clear <player> |
fire.broadcast.admin |
将玩家的积分重置为 0。 |
/broadcastadmin check <player> |
fire.broadcast.admin |
显示玩家剩余的积分。 |
/invite <player|all> [world] = /inv ... |
fire.invite.send |
向玩家或所有人发送邀请。可选世界名称。 |
/invite accept <inviter> |
fire.invite.join |
接受邀请并传送到邀请者的世界。 |
/fireadmin reload = /fadmin reload |
fire.admin |
重新加载插件配置。 |
? Permissions
| Node |
Default |
Description |
fire.bypass.clear |
op |
防止在重置世界中重置经济。 |
fire.bypass.block |
op |
允许破坏任何方块(绕过方块保护)。 |
fire.bypass.build |
op |
允许在 no-build-worlds 中放置方块。 |
fire.broadcast.use |
true |
允许使用 /broadcast。 |
fire.broadcast.admin |
op |
允许管理广播积分。 |
fire.invite.send |
true |
允许发送邀请。 |
fire.invite.join |
true |
允许接受邀请。 |
fire.admin |
op |
允许重新加载插件。 |
⚙️ Configuration (config.yml)
# Worlds where player balances are cleared (regex/wildcard)
economy-reset-worlds:
- "Lobby"
- "lobby_*"
economy-reset-interval-ticks: 1200 # 20 ticks = 1 sec
# Worlds where only player‑placed blocks can be broken/burned/exploded
block-protection-worlds:
- "*"
# Worlds where block placement is forbidden (requires fire.bypass.build)
no-build-worlds:
- "Lobby"
- "hub*"
# Worlds where PvP is disabled
pvp-disabled-worlds:
- "Lobby"
# Worlds where players take no damage (invincible)
invincible-worlds:
- "Lobby"
# Worlds where hunger never decreases
saturate-worlds:
- "Lobby"
# Worlds where falling into the void teleports you to world spawn
void-respawn-worlds:
- "*"
# Anti‑spam settings
anti-spam:
interval-seconds: 3
max-messages: 2
# Broadcast system
broadcast:
default-credits: 3 # Starting credits per player
# Invite cooldown (seconds)
invite:
cooldown-seconds: 10
Note: Patterns support * wildcard and regular expressions. Example: "lobby*" matches lobby, lobby_1, lobby_world, etc.
? Building from source
- Clone or download the source code.
- Ensure you have Java 21 and Maven installed.
- Run
mvn clean package.
- The compiled JAR will be in
target/fire-2.0.0.jar.
? License
This project is licensed under the MIT license.
? Support
For issues or suggestions, please contact the plugin author: cyx012113 (Discord / GitHub).
Pull requests and contributions are welcome under the same license.
? FirePlugin
MIT License
Starting from version 2.0.0 + MIT, the source code license has been changed from CC BY-SA 4.0 to the MIT license.
Version 2.0.0 – A lightweight, high‑performance server utility plugin for Paper 1.21+.
It provides world‑based economy reset, block protection, building restrictions, advanced world rules, anti‑spam, a broadcast credit system, and a clickable invite system.
✨ Features
- Economy reset – Automatically clear players' Vault balances in specified worlds (supports regex/wildcard).
- Block protection – Only blocks placed by players can be broken, burned, or destroyed by explosions.
- Build restriction – Prevent block placement in chosen worlds.
- World rules – Per‑world options:
- Disable PvP
- Make players invincible
- Unlimited saturation (no hunger loss)
- Void respawn (teleport back to world spawn instead of dying)
- Anti‑spam – Limit chat messages per time interval.
- Broadcast system – Players spend credits to send server‑wide messages. Credits are stored per player and can be managed by admins.
- Invite system – Send clickable invites to individuals or everyone. Invited players click the message to teleport directly to the inviter's world.
- All world rules support regex/wildcard patterns (e.g.
lobby*, pvp-*, *).
- Bypass permissions – Each restriction has its own permission node.
- Efficient listener‑based design – No performance‑heavy persistent storage for placed blocks.
? Installation
- Download the latest
fire-2.0.0.jar.
- Place it in your server’s
plugins/ folder.
- Restart the server.
- Configure
plugins/fire/config.yml to your needs (see below).
- Use
/fireadmin reload to reload the configuration at any time.
? Commands
| Command & Aliases |
Permission |
Description |
/broadcast <message> = /bc <message> |
fire.broadcast.use |
Send a broadcast (consumes 1 credit). |
/broadcastadmin add <player> <amount> = /bcadmin add ... |
fire.broadcast.admin |
Add broadcast credits to a player. |
/broadcastadmin set <player> <amount> |
fire.broadcast.admin |
Set a player's credits to a specific amount. |
/broadcastadmin clear <player> |
fire.broadcast.admin |
Reset a player's credits to 0. |
/broadcastadmin check <player> |
fire.broadcast.admin |
Show a player's remaining credits. |
/invite <player|all> [world] = /inv ... |
fire.invite.send |
Send an invite to a player or everyone. Optional world name. |
/invite accept <inviter> |
fire.invite.join |
Accept an invite and teleport to the inviter's world. |
/fireadmin reload = /fadmin reload |
fire.admin |
Reload the plugin configuration. |
? Permissions
| Node |
Default |
Description |
fire.bypass.clear |
op |
Prevents economy reset in reset worlds. |
fire.bypass.block |
op |
Allows breaking any block (bypasses block protection). |
fire.bypass.build |
op |
Allows placing blocks in no-build-worlds. |
fire.broadcast.use |
true |
Allows using /broadcast. |
fire.broadcast.admin |
op |
Allows managing broadcast credits. |
fire.invite.send |
true |
Allows sending invites. |
fire.invite.join |
true |
Allows accepting invites. |
fire.admin |
op |
Allows reloading the plugin. |
⚙️ Configuration (config.yml)
# Worlds where player balances are cleared (regex/wildcard)
economy-reset-worlds:
- "Lobby"
- "lobby_*"
economy-reset-interval-ticks: 1200 # 20 ticks = 1 sec
# Worlds where only player‑placed blocks can be broken/burned/exploded
block-protection-worlds:
- "*"
# Worlds where block placement is forbidden (requires fire.bypass.build)
no-build-worlds:
- "Lobby"
- "hub*"
# Worlds where PvP is disabled
pvp-disabled-worlds:
- "Lobby"
# Worlds where players take no damage (invincible)
invincible-worlds:
- "Lobby"
# Worlds where hunger never decreases
saturate-worlds:
- "Lobby"
# Worlds where falling into the void teleports you to world spawn
void-respawn-worlds:
- "*"
# Anti‑spam settings
anti-spam:
interval-seconds: 3
max-messages: 2
# Broadcast system
broadcast:
default-credits: 3 # Starting credits per player
# Invite cooldown (seconds)
invite:
cooldown-seconds: 10
Note: Patterns support * wildcard and regular expressions. Example: "lobby*" matches lobby, lobby_1, lobby_world, etc.
? Building from source
- Clone or download the source code.
- Ensure you have Java 21 and Maven installed.
- Run
mvn clean package.
- The compiled JAR will be in
target/fire-2.0.0.jar.
? License
This project is licensed under the MIT license.
? Support
For issues or suggestions, please contact the plugin author: cyx012113 (Discord / GitHub).
Pull requests and contributions are welcome under the same license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧