? FurnacePlus
Minecraft Paper 服务器的高级熔炉加速插件
FurnacePlus 是一个功能强大的插件,为玩家提供基于权限的熔炉烧炼加速。该插件通过实时权限更新和灵活的配置选项,为服务器管理员提供了最大程度的控制力。
✨ 特性
- ? 基于权限的速度控制:灵活的权限系统,采用
furnaceenhanced.<number> 格式
- ⚡ 支持速度提升:快速熔炉烧炼,具有可见的进度效果
- ? 实时更新:权限更改立即生效
- ⚙️ 灵活配置:详细的配置文件,实现完全控制
- ? 统计系统:活跃熔炉计数与性能追踪
- ?️ 管理员命令:重载和信息显示命令
- ? 优化:低资源占用和高性能
- ? 调试模式:面向开发者的详细日志系统
? 安装
-
检查要求:
- Java 17+
- Paper 1.20+ 服务器
- Maven(用于编译)
-
编译插件:
mvn clean package
-
将 JAR 文件上传至服务器:
- 将
target/furnaceplus-1.0.0.jar 复制到服务器的 plugins 文件夹中
-
启动服务器:
? 权限系统
权限格式
furnaceenhanced.<value>
数值示例:
furnaceenhanced.30 → 30% 速度提升
furnaceenhanced.50 → 50% 速度提升
furnaceenhanced.90 → 90% 速度提升
优先级系统:
- 如果玩家拥有多个权限,最高数值生效
- 示例:如果玩家拥有
furnaceenhanced.20 和 furnaceenhanced.50,则应用 50% 的速度提升
管理员权限:
furnaceplus.admin → 访问插件命令
? 命令
| 命令 |
描述 |
权限 |
/furnaceplus help |
显示帮助菜单 |
furnaceplus.admin |
/furnaceplus reload |
重载插件配置 |
furnaceplus.admin |
/furnaceplus info |
显示插件信息 |
furnaceplus.admin |
/furnaceplus stats |
显示熔炉统计数据 |
furnaceplus.admin |
备选方案: 可以使用 /fp 快捷方式
⚙️ 配置
config.yml
# 插件设置
plugin:
debug: false # 启用调试消息
prefix: "&8[&6FurnacePlus&8]&r" # 插件前缀
# 熔炉增强设置
furnace:
enabled: true # 系统启用/禁用
max-speed-increase: 90 # 最大速度提升百分比
update-interval: 2 # 更新间隔(刻)
real-time-updates: true # 实时权限更新
# 权限设置
permissions:
prefix: "furnaceenhanced." # 权限前缀
default-value: 0 # 默认速度值
# 消息(支持颜色代码)
messages:
plugin-reloaded: "&aFurnacePlus 成功重载!"
no-permission: "&c你没有使用此命令的权限!"
furnace-enhanced: "&a你的熔炉烹饪速度:&e{speed}%"
error-occurred: "&c处理你的请求时发生错误!"
invalid-command: "&c无效的命令用法!请使用:/furnaceplus reload"
? 使用示例
1. 基本权限分配
# 给予玩家 30% 速度提升
/lp user player permission set furnaceenhanced.30 true
# 给予群组 50% 速度提升
/lp group vip permission set furnaceenhanced.50 true
2. 多权限管理
# 多个速度权限(最高数值生效)
/lp user player permission set furnaceenhanced.20 true
/lp user player permission set furnaceenhanced.50 true # 这将生效
4. 服务器群组示例
# 会员等级
/lp group member permission set furnaceenhanced.10 true # 会员:10% 速度
/lp group premium permission set furnaceenhanced.30 true # 高级会员:30% 速度
/lp group vip permission set furnaceenhanced.50 true # VIP:50% 速度
/lp group mvp permission set furnaceenhanced.75 true # MVP:75% 速度
? 高级设置
更新间隔优化
furnace:
update-interval: 10 # 默认值(推荐)
# 5 = 响应更灵敏,CPU 占用更高
# 20 = CPU 占用更低,响应稍慢
调试模式
plugin:
debug: true # 向控制台打印详细日志
速度限制
furnace:
max-speed-increase: 90 # 超过 90% 的速度提升将被禁止
? 故障排除
? 常见问题
问题:插件未加载
解决方案:
- 确保使用的是 Java 17+
- 使用 Paper 1.20+ 服务器
- 检查控制台错误
问题:权限不生效
解决方案:
- 检查权限格式是否正确:
furnaceenhanced.<正整数>
- 仅支持正整数作为速度提升值
- 确保已激活如 LuckPerms 之类的权限插件
- 使用
/furnaceplus info 检查设置
问题:熔炉速度未改变
解决方案:
- 检查配置中的
furnace.enabled: true
- 尝试在熔炉中放入新物品
- 启用调试模式并检查控制台日志
问题:性能问题
解决方案:
- 增加
update-interval 的值(例如 20)
- 设置
real-time-updates: false
- 禁用不必要的调试模式
? 调试信息
要启用调试模式:
plugin:
debug: true
这将向控制台打印以下内容:
- 玩家熔炉交互记录
- 权限检查结果
- 速度计算详情
- 性能指标
? 性能提示
- 优化更新间隔:极低的数值会增加 CPU 占用
- 清理未使用的权限:移除不再需要的权限
- 在生产环境中禁用调试:仅在测试期间使用
- 如不需要请禁用实时更新:可提供性能增益
? FurnacePlus
Advanced furnace speed enhancement plugin for Minecraft Paper servers
FurnacePlus is a powerful plugin that provides players with permission-based furnace smelting speed increases. The plugin offers server administrators maximum control through real-time permission updates and flexible configuration options.
✨ Features
- ? Permission-Based Speed Control: Flexible permission system with
furnaceenhanced.<number> format
- ⚡ Speed Increase Support: Fast furnace smelting with visible progress
- ? Real-Time Updates: Permission changes take effect immediately
- ⚙️ Flexible Configuration: Detailed config file for complete control
- ? Statistics System: Active furnace count and performance tracking
- ?️ Admin Commands: Reload and information display commands
- ? Optimization: Low resource usage and high performance
- ? Debug Mode: Detailed logging system for developers
? Installation
-
Check Requirements:
- Java 17+
- Paper 1.20+ server
- Maven (for compilation)
-
Compile the Plugin:
mvn clean package
-
Upload JAR File to Server:
- Copy
target/furnaceplus-1.0.0.jar to your server's plugins folder
-
Start Server:
- The plugin will automatically create config files when the server starts
? Permission System
Permission Format
furnaceenhanced.<value>
Value Examples:
furnaceenhanced.30 → 30% speed increase
furnaceenhanced.50 → 50% speed increase
furnaceenhanced.90 → 90% speed increase
Priority System:
- If a player has multiple permissions, the highest value takes effect
- Example: If player has
furnaceenhanced.20 and furnaceenhanced.50, 50% speed increase applies
Admin Permission:
furnaceplus.admin → Access to plugin commands
? Commands
| Command |
Description |
Permission |
/furnaceplus help |
Display help menu |
furnaceplus.admin |
/furnaceplus reload |
Reload plugin configuration |
furnaceplus.admin |
/furnaceplus info |
Show plugin information |
furnaceplus.admin |
/furnaceplus stats |
Show furnace statistics |
furnaceplus.admin |
Alternative: /fp shortcut can be used
⚙️ Configuration
config.yml
# Plugin Settings
plugin:
debug: false # Enable debug messages
prefix: "&8[&6FurnacePlus&8]&r" # Plugin prefix
# Furnace Enhancement Settings
furnace:
enabled: true # System enabled/disabled
max-speed-increase: 90 # Maximum speed increase %
update-interval: 2 # Update interval (ticks)
real-time-updates: true # Real-time permission updates
# Permission Settings
permissions:
prefix: "furnaceenhanced." # Permission prefix
default-value: 0 # Default speed value
# Messages (Color codes supported)
messages:
plugin-reloaded: "&aFurnacePlus successfully reloaded!"
no-permission: "&cYou don't have permission to use this command!"
furnace-enhanced: "&aYour furnace cooking speed: &e{speed}%"
error-occurred: "&cAn error occurred while processing your request!"
invalid-command: "&cInvalid command usage! Use: /furnaceplus reload"
? Usage Examples
1. Basic Permission Assignment
# Give player 30% speed increase
/lp user player permission set furnaceenhanced.30 true
# Give group 50% speed increase
/lp group vip permission set furnaceenhanced.50 true
2. Multiple Permission Management
# Multiple speed permissions (highest value takes effect)
/lp user player permission set furnaceenhanced.20 true
/lp user player permission set furnaceenhanced.50 true # This will be effective
4. Server Group Examples
# Membership levels
/lp group member permission set furnaceenhanced.10 true # Member: 10% speed
/lp group premium permission set furnaceenhanced.30 true # Premium: 30% speed
/lp group vip permission set furnaceenhanced.50 true # VIP: 50% speed
/lp group mvp permission set furnaceenhanced.75 true # MVP: 75% speed
? Advanced Settings
Update Interval Optimization
furnace:
update-interval: 10 # Default (recommended)
# 5 = More responsive, higher CPU usage
# 20 = Lower CPU, less responsive
Debug Mode
plugin:
debug: true # Prints detailed logs to console
Speed Limits
furnace:
max-speed-increase: 90 # No speed increase above 90%
? Troubleshooting
? Common Issues
Problem: Plugin not loading
Solution:
- Ensure you're using Java 17+
- Use Paper 1.20+ server
- Check console errors
Problem: Permissions not working
Solution:
- Check permission format is correct:
furnaceenhanced.<positive_number>
- Only positive numbers are supported for speed increases
- Ensure permission plugin like LuckPerms is active
- Check settings with
/furnaceplus info
Problem: Furnace speed not changing
Solution:
- Check
furnace.enabled: true in config
- Try placing new items in furnace
- Enable debug mode and check console logs
Problem: Performance issues
Solution:
- Increase
update-interval value (e.g., 20)
- Set
real-time-updates: false
- Disable unnecessary debug mode
? Debug Information
To enable debug mode:
plugin:
debug: true
This will print the following to console:
- Player furnace interactions
- Permission check results
- Speed calculation details
- Performance metrics
? Performance Tips
- Optimize Update Interval: Very low values increase CPU usage
- Clean Unused Permissions: Remove unused permissions
- Disable Debug in Production: Only use during testing
- Disable Real-time Updates if Not Needed: Provides performance gains
评论 0
登录后参与评分
还没有评论,来抢沙发吧