AmazingFly
一个高效且轻量的飞行模式插件!
简单且简短的配置文件
特性:
• 你可以限制飞行模式可以在哪些游戏模式中激活。(
• 所有消息均可自定义
• 其他功能将在未来的更新中添加!
• 支持 WorldGuard 和 PAPI 集成
命令与权限:
‣ /fly - 为发送者启用飞行模式 - 权限:amazingfly.use
‣ /fly <玩家> - 为目标玩家启用飞行模式 - 权限:amazingfly.use.others
‣ /rfly - 在带有 "amazing-fly" 标志的 WorldGuard 区域中启用飞行模式 - 权限:amazingfly.use.worldguard
‣ /afly reload - 重新加载配置 - 权限:amazingfly.reload
• 权限 amazingfly.bypass:用于绕过游戏模式限制
• 权限 amazingfly.admin:拥有该插件的所有权限
依赖项:
- PlaceholderAPI(可选)- 支持占位符
- WorldGuard(可选)- 支持在 WorldGuard 区域中使用 amazing-fly 标志来创建飞行区。这提供了多种可能性,例如仅允许玩家在其拥有的区域内飞行(例如 ProtectionStones)。
支持的 Minecraft 版本:
1.16+(Spigot 和 Paper。不支持 CraftBukkit)
待办事项:
PlaceholderAPI 集成(版本 1.0.0-RELEASE)✓
MySQL 支持以实现跨服务器飞行模式
添加 bStats 支持 ✓
支持:
通过 Discord 联系我:elsus1719
当前占位符:
- %amazingfly_isflying% - 返回 true 或 false
- %amazingfly_isflying_<player>% - 返回 true 或 false
常见错误:
无检测到。
配置文件
配置:
选项:
# 要关闭此选项,只需写入 "[]"
# gamemode-restriction: []
gamemode-restriction:
- cReATivE(创造模式)
# 当其他人激活飞行模式时,插件是否向目标发送消息?
send-message-to-target-on: true
# 当其他人停用飞行模式时,插件是否向目标发送消息?
send-message-to-target-off: true
你应该使用此配置来防止玩家在禁用 /fly 时受到伤害。在与 WorldGuard 集成时非常有用,
#因为该插件会在玩家离开区域时自动禁用 /fly。
#(未来版本中将支持自定义配置)
inmunity-to-fall-damage: 5 #单位为秒
hooks:
WorldGuard: true #插件是否启用 WorldGuard 钩子?
lang:
prefix: "&7[&bAmazingFly&7] "
restricted-gamemode: "&c你无法在此游戏模式下使用 &6/fly &c命令。"
no-permissions: "&c你没有必要的权限。"
console-error: "&c你不能在控制台中使用此命令。"
command-bad-usage: "&c用法错误。正确用法:/{command} {subcommands}"
plugin-reload: "&a插件已成功重载。对于重大更改(如钩子),请重启服务器。&a&l切勿使用 /reload。"
fly-activated: "&f你已&a激活&f飞行模式。"
fly-deactivated: "&f你已&c停用&f飞行模式。"
fly-activated-other: "&a你为 {PLAYER} 激活了飞行模式。"
fly-deactivated-other: "&c你为 {PLAYER} 停用了飞行模式。"
fly-activated-sender: "&a{SENDER} 为你激活了飞行模式。" #需将 send-message-to-target-on 设置为 true。
fly-deactivated-sender: "&c{SENDER} 为你停用了飞行模式。" #需将 send-message-to-target-off 设置为 true。
fly-others-error: "&c{PLAYER} 不存在。"
fly-worldguard-flag-error: "&c抱歉,你无法在此区域使用 /rfly 命令。"
fly-worldguard-deactivated: "&f由于你已离开飞行区域,你的飞行模式已被停用。"
</details>
**请勿在其他论坛或服务器搭建中重新发布本插件
请勿在评论部分粘贴插件错误日志。**
AmazingFly
An efficient and lightweight flight mode plugin!
Easy and short configuration file
FEATURES:
• You can restrict in which game mode the flight mode can be activated. (
• All messages are customizable
• Other features will be added in future updates!
• WorldGuard and PAPI integration
COMMANDS & PERMISSIONS:
‣ /fly - Activates fly mode for sender - Permission: amazingfly.use
‣ /fly <player> - Activates fly mode for target - Permission: amazingfly.use.others
‣ /rfly - Activates fly mode in a WorldGuard region with "amazing-fly" flag - Permission: amazingfly.use.worldguard
‣ /afly reload - Reloads configuration - Permission: amazingfly.reload
• Permission amazingfly.bypass to bypass gamemode restrictions
• Permission amazingfly.admin to have all plugin permissions
DEPENDENCIES:
- PlaceholderAPI (Optional) - Access to placeholders
- WorldGuard (Optional) - Access to amazing-fly flag in wg regions to create fly-zones. This open many posibilities, for example to allow players to fly only in their owned regions. (For example ProtectionStones)
AVAILABLE MINECRAFT VERSIONS:
1.16+ (Spigot and Paper. Not CraftBukkit)
TO-DO:
PlaceholderAPI hook (Version 1.0.0-RELEASE) ✓
MySQL support to cross-server fly-mode
Adding bStats ✓
SUPPORT:
Contact me on Discord: elsus1719
CURRENT PLACEHOLDERS:
- %amazingfly_isflying% - Returns true or false
- %amazingfly_isflying_<player>% - Returns true or false
COMMON ERRORS:
No detected.
Config file
Config:
options:
#To turn off this option just write a "[]"
# gamemode-restriction: []
gamemode-restriction:
- cReATivE
# Will the plugin send a message to the target when someone else activates flight mode?
send-message-to-target-on: true
# Will the plugin send a message to the target when someone else deactivates flight mode?
send-message-to-target-off: true
#You should use this to prevent player from receiving damage when disabling /fly. Useful when integrated with WorldGuard,
#because the plugin automatically disables /fly when the player leaves the region.
#(It is going to be configurable in future updates)
inmunity-to-fall-damage: 5 #In seconds
hooks:
WorldGuard: true # Will the plugin use WorldGuard hook?
lang:
prefix: "&7[&bAmazingFly&7] "
restricted-gamemode: "&cYou can't use &6/fly &cwhile using this gamemode."
no-permissions: "&cYou don't have necessary permissions."
console-error: "&cYou can't use this command on console."
command-bad-usage: "&cIncorrect usage. Usage: /{command} {subcommands}"
plugin-reload: "&aThe plugin was reloaded successfully. For major changes (like hooks) restart the server. &a&lNever /reload."
fly-activated: "&fYou &aactivated &ffly mode."
fly-deactivated: "&fYou &cdeactivated &ffly mode."
fly-activated-other: "&aYou activated fly mode to {PLAYER}."
fly-deactivated-other: "&cYou deactivated fly mode to {PLAYER}."
fly-activated-sender: "&a{SENDER} has activated fly mode for you." #send-message-to-target-on needs to be true.
fly-deactivated-sender: "&c{SENDER} has deactivated fly mode for you." #send-message-to-target-off needs to be true.
fly-others-error: "&c{PLAYER} doesn't exist."
fly-worldguard-flag-error: "&cSorry, but you can't use /rfly in this region."
fly-worldguard-deactivated: "&fYour fly mode was deactivated because you have left the fly region."
PLEASE DON'T REPOST THE PLUGIN IN OTHER FORUMS OR SERVER SETUPS
DO NOT PASTE PLUGIN ERRORS IN THE REVIEW SECTION.
评论 0
登录后参与评分
还没有评论,来抢沙发吧