AdvancedRegionMarket Shop Bridge
作者:alex9849
发布时间:2020年4月16日
原生版本:未知
测试支持:1.12,1.13,1.14,1.15,1.16,1.17
将AdvancedRegionMarket与QuickShop、店主、ShopChest和UltimateShops连接起来
点此下载插件详细介绍
🛠️ ShopBridge插件是一个连接AdvancedRegionMarket插件与多种商店插件的桥梁。它主要用于在区域被重置、恢复或出售时自动删除位于这些区域内的商店,当然你也可以在配置文件中修改此行为。
🛍️ ShopBridge
🔗 支持的商店插件
- QuickShop (仅支持5.0.0.13及以下版本!更高版本无需此桥接插件即可支持AdvancedRegionMarket!)
- UltimateShops
- ShopChest
- Shopkeepers
⚙️ 配置
general.conf
这是主要的配置文件,用于设置ShopBridge的行为。
#Should shops be removed if the region is getting reset/restored or unsold?
remove-shops-on-reset: true
remove-shops-on-restore: true
remove-shops-on-unsold: true
#Should the plugin check for shop-plugins? If a shop-plugin is not installed, the plugin will throw an error.
#Disable the check to prevent the errors.
check-for-shop-plugins: true
#Should the ShopRemoveEvent be called so other Plugins can hook into the Shop-Removing?
call-shop-remove-event: true
#If true, shop-plugins that are not supported by this plugin get automatically disabled.
#You may want to disable this, if other plugins depend on the shop-plugins that are getting disabled.
auto-disable-unsupported-shop-plugins: false
#Should the plugin check for updates on startup?
update-check: true
#Should the plugin send statistics to bStats?
bstats: true
messages.conf
此文件包含插件使用的所有消息,你可以根据需要自定义它们。
plugin-start: '&a[ShopBridge] Plugin started!'
no-shop-plugin-found: '&c[ShopBridge] No supported shop-plugin found! ShopBridge disabled!'
shop-plugin-not-installed: '&c[ShopBridge] %shop-plugin% is not installed! ShopBridge disabled!'
shop-plugin-not-enabled: '&c[ShopBridge] %shop-plugin% is not enabled! ShopBridge disabled!'
shop-remove: '&a[ShopBridge] Shop removed at %location%!'
no-permission: '&cYou don''t have permission to do that!'
plugin-reload: '&a[ShopBridge] Plugin reloaded!'
update-found: '&a[ShopBridge] A new version of ShopBridge is available! Download it here: %link%'
no-update-found: '&a[ShopBridge] No new version of ShopBridge found!'
🔑 权限
shopbridge.reload- 允许玩家重载插件。
⌨️ 命令
/shopbridge reload- 重载插件。
🛠️ 如何编译
如果你需要自己编译此插件,请按照以下步骤操作:
- 克隆或下载GitHub仓库:https://github.com/alex9849/arm-shopbridge
- 使用你喜欢的IDE(如IntelliJ IDEA或Eclipse)打开项目。
- 确保你的IDE已配置好Maven。
- 在IDE中运行Maven的
clean install命令。 - 编译好的插件JAR文件将位于
target目录下。