BubbleVillagers(原 VillagerOptimizer)是一款强大的性能优化插件,通过允许玩家和管理员优化交易大厅和村民配置,帮助对抗严重的村民卡顿问题。
✨ 特性
? 性能优化
- AI 切换系统:移除村民的 AI 以降低服务器负载,同时保持交易功能
- 智能优化:即使在优化状态下,村民仍可以补充交易并升级
- 可配置的冷却时间:通过自定义冷却时间防止滥用优化
- 半径命令:在指定半径内一次性优化或取消优化多个村民
? 多种优化方法
- 名牌优化:在村民身上使用名牌来优化它们
- 方块交互:用特定方块(可配置)右键点击村民进行优化
- 工作站方法:与村民工作站交互以进行优化
- 基于命令:使用命令批量优化村民
? 跨版本支持
- Minecraft 1.16 - 1.21.x:完全兼容现代 Minecraft 版本
- Folia Ready:完全兼容 Folia 的区域化多线程
- Paper Optimized:专为 Paper 及其分支构建
? 其他特性
- 多语言支持:英语、德语、意大利语、韩语、俄语、中文
- Adventure API:支持 MiniMessage 的现代文本格式化
- bStats 集成:可选的匿名使用统计数据
- 交易补充:可配置的自动交易补充
- 权限系统:对所有功能进行细粒度的权限控制
? 要求
- Minecraft 版本:1.16.5 或更高(针对 1.21.x 优化)
- 服务器软件:Paper、Folia 或兼容的分支
- Java 版本:Java 17 或更高
? 安装
- 从 Spigot 或 Modrinth 下载最新版本
- 将
BubbleVillagers-X.X.X.jar 文件放入服务器的 plugins 文件夹中
- 重启服务器或使用插件管理器加载它
- 在
plugins/BubbleVillagers/config.yml 中配置插件
- 使用
/bubblevillagers reload 重新加载或重启服务器
? 命令
| 命令 |
描述 |
权限 |
别名 |
/villageroptimizer [reload|version|disable] |
管理员命令 |
bubblevillagers.admin |
/vo, /bv, /bubblevillagers |
/optimizevillagers <radius> |
优化指定半径内的村民 |
bubblevillagers.optimize |
/optvils, /noai, /bvopt |
/unoptimizevillagers <radius> |
取消优化指定半径内的村民 |
bubblevillagers.unoptimize |
/unoptvils, /noaiundo, /bvunopt |
命令示例
/optimizevillagers 50 # 优化 50 格范围内的所有村民
/unoptimizevillagers 30 # 恢复 30 格范围内村民的 AI
/bubblevillagers reload # 重新加载插件配置
/bubblevillagers version # 检查插件版本
? 权限
| 权限 |
描述 |
默认值 |
bubblevillagers.* |
访问所有功能 |
op |
bubblevillagers.admin |
管理员命令(重载、版本、禁用) |
op |
bubblevillagers.optimize |
使用优化命令 |
op |
bubblevillagers.unoptimize |
使用取消优化命令 |
op |
旧版权限
该插件保持了与 VillagerOptimizer 权限的后向兼容性:
villageroptimizer.admin
villageroptimizer.optimize
villageroptimizer.unoptimize
⚙️ 配置
该插件提供广泛的配置选项:
# 性能设置
optimization:
remove-ai: true # 移除已优化村民的 AI
allow-restocking: true # 允许在优化时补充交易
restock-interval: 1200 # 补充交易的间隔刻数 (20 = 1 秒)
# 冷却时间设置
cooldowns:
optimization-cooldown: 300 # 两次优化之间的秒数
command-cooldown: 30 # 两次命令使用之间的秒数
# 方法设置
methods:
nametag-enabled: true # 启用名牌优化
block-enabled: true # 启用方块交互优化
workstation-enabled: true # 启用工作站优化
# 半径限制
limits:
max-radius: 100 # 命令的最大半径
# 语言
language: en_us # 可用: en_us, de_de, it_it, ko_kr, ru_ru, zh_cn
? 支持的语言
- ?? English (en_us)
- ?? German (de_de)
- ?? Italian (it_it)
- ?? Korean (ko_kr)
- ?? Russian (ru_ru)
- ?? Chinese (zh_cn)
? 从 VillagerOptimizer 迁移
BubbleVillagers 完全向后兼容 VillagerOptimizer。只需:
- 停止你的服务器
- 移除旧的 VillagerOptimizer JAR 文件
- 添加 BubbleVillagers JAR 文件
- 启动服务器
所有配置和数据都将自动迁移。
? Bug 报告 & 功能请求
发现 Bug 或有功能请求?请在我们的 Discord 服务器上提交工单。
? 许可证
本项目根据适当的许可证授权 - 详情请参见 LICENSE 文件。
? 致谢
? 支持
如果你喜欢这个插件,请考虑:
- ? 在 Spigot 或 Modrinth 上留下评论
- ? 支持开发者
注意:此插件旨在用于性能优化。在生产环境部署之前,请务必在开发服务器上测试。
BubbleVillagers (formerly VillagerOptimizer) is a powerful performance optimization plugin that helps combat heavy villager lag by allowing players and administrators to optimize their trading halls and villager setups.
✨ Features
? Performance Optimization
- AI Toggle System: Remove AI from villagers to reduce server load while maintaining trading functionality
- Smart Optimization: Villagers can still restock trades and level up even when optimized
- Configurable Cooldowns: Prevent spam optimization with customizable cooldowns
- Radius Commands: Optimize or unoptimize multiple villagers at once in a specified radius
? Multiple Optimization Methods
- Nametag Optimization: Use nametags on villagers to optimize them
- Block Interaction: Right-click villagers with specific blocks (configurable)
- Workstation Method: Interact with villager workstations for optimization
- Command-Based: Use commands to optimize villagers in bulk
? Cross-Version Support
- Minecraft 1.16 - 1.21.x: Full compatibility across modern Minecraft versions
- Folia Ready: Fully compatible with Folia's regionized multithreading
- Paper Optimized: Built specifically for Paper and its forks
? Additional Features
- Multi-Language Support: English, German, Italian, Korean, Russian, Chinese
- Adventure API: Modern text formatting with MiniMessage support
- bStats Integration: Optional anonymous usage statistics
- Trade Restocking: Configurable automatic trade restocking
- Permission System: Granular permission control for all features
? Requirements
- Minecraft Version: 1.16.5 or higher (optimized for 1.21.x)
- Server Software: Paper, Folia, or compatible forks
- Java Version: Java 17 or higher
? Installation
- Download the latest version from Spigot or Modrinth
- Place the
BubbleVillagers-X.X.X.jar file in your server's plugins folder
- Restart your server or use a plugin manager to load it
- Configure the plugin in
plugins/BubbleVillagers/config.yml
- Reload with
/bubblevillagers reload or restart the server
? Commands
| Command |
Description |
Permission |
Aliases |
/villageroptimizer [reload|version|disable] |
Admin commands |
bubblevillagers.admin |
/vo, /bv, /bubblevillagers |
/optimizevillagers <radius> |
Optimize villagers in radius |
bubblevillagers.optimize |
/optvils, /noai, /bvopt |
/unoptimizevillagers <radius> |
Unoptimize villagers in radius |
bubblevillagers.unoptimize |
/unoptvils, /noaiundo, /bvunopt |
Command Examples
/optimizevillagers 50 # Optimize all villagers within 50 blocks
/unoptimizevillagers 30 # Restore AI to villagers within 30 blocks
/bubblevillagers reload # Reload plugin configuration
/bubblevillagers version # Check plugin version
? Permissions
| Permission |
Description |
Default |
bubblevillagers.* |
Access to all features |
op |
bubblevillagers.admin |
Admin commands (reload, version, disable) |
op |
bubblevillagers.optimize |
Use optimization commands |
op |
bubblevillagers.unoptimize |
Use unoptimization commands |
op |
Legacy Permissions
The plugin maintains backward compatibility with VillagerOptimizer permissions:
villageroptimizer.admin
villageroptimizer.optimize
villageroptimizer.unoptimize
⚙️ Configuration
The plugin offers extensive configuration options:
# Performance Settings
optimization:
remove-ai: true # Remove AI from optimized villagers
allow-restocking: true # Allow trade restocking when optimized
restock-interval: 1200 # Ticks between restocks (20 = 1 second)
# Cooldown Settings
cooldowns:
optimization-cooldown: 300 # Seconds between optimizations
command-cooldown: 30 # Seconds between command uses
# Method Settings
methods:
nametag-enabled: true # Enable nametag optimization
block-enabled: true # Enable block interaction optimization
workstation-enabled: true # Enable workstation optimization
# Radius Limits
limits:
max-radius: 100 # Maximum radius for commands
# Language
language: en_us # Available: en_us, de_de, it_it, ko_kr, ru_ru, zh_cn
? Supported Languages
- ?? English (en_us)
- ?? German (de_de)
- ?? Italian (it_it)
- ?? Korean (ko_kr)
- ?? Russian (ru_ru)
- ?? Chinese (zh_cn)
? Migration from VillagerOptimizer
BubbleVillagers is fully backward compatible with VillagerOptimizer. Simply:
- Stop your server
- Remove the old VillagerOptimizer JAR
- Add BubbleVillagers JAR
- Start your server
All configurations and data will be automatically migrated.
? Bug Reports & Feature Requests
Found a bug or have a feature request? Please open an ticket on our Discord Server.
? License
This project is licensed under the appropriate license - see the LICENSE file for details.
? Credits
- Original Author: xGinko
- Maintainer: Ξthan
? Support
If you enjoy this plugin, please consider:
- ? Leaving a review on Spigot or Modrinth
- ? Supporting the developers
Note: This plugin is designed for performance optimization. Always test on a development server before deploying to production.
评论 0
登录后参与评分
还没有评论,来抢沙发吧