一款简单直接的 Spigot 插件,助你快速回家
GetMeHome 具备作为简易家(home)插件所需的所有功能。其配置易于理解且设置简便!该插件已在 Minecraft 1.7 及更高版本上测试通过,并将持续更新以确保面向未来兼容性!
市面上有许多家插件,但本插件是为生存服务器需求而开发的。此前缺乏一款既能可靠地支持多地点存储和消息提示,又简洁可靠的插件。我发现的其他插件要么过于臃肿,要么过于简陋。于是我决定自己动手开发,于是 GetMeHome 诞生了。
GetMeHome 的功能特性:
/home、/sethome、/delhome 和 /listhomes
- 通过在
limit.yml 中声明自定义权限节点来实现高级的多地点支持
- 通过在
delay.yml 中声明自定义权限节点来实现传送前等待时间和冷却时间支持
- 基于 MC 语言的本地化,官方支持以下语言:
- English (Default)
- ɥsᴉꞁᵷuƎ (v1.0.3)
- LOLCAT (v1.0.0)
- Pirate Speak (v1.0.1)
- Shakespearean English (v1.0.3)
- Japanese (v1.0.3; by kj_Brooke)
- Korean (v1.0.1)
- 自定义本地化或消息
- 前往或编辑其他玩家家的方式
配置
您可以设置多项配置选项。
message.prefix: 默认值: "&6[GetMeHome]". 所有来自 GetMeHome 的消息所使用的标签前缀。
message.content-color 和 message.focus-color: 轻松更改消息颜色!
welcome-home-radius: 默认值: 4. 显示“欢迎回家”消息的家点距离范围。将其设置为 -1 可禁用此功能。
如需更多信息,请查看 config.yml。
limit.yml 和 delay.yml
这两个文件遵循完全相同的结构。
- perm: permission.node
value: Home Limit
operation: set | world | add | subtract (optional)
worlds: [world_name(s), ...] (optional)
limit.yml 中的家数量上限不支持 "subtract"(减去)操作。
示例见 limit.yml 和 delay.yml。
命令与权限
默认权限应能满足您的需求。以下是所有可用的权限节点列表。
用户命令权限
默认情况下,所有用户都拥有这些权限。
getmehome.user: 允许用户使用插件功能所需的所有命令。这将启用以下权限节点:
getmehome.command.home
getmehome.command.sethome
getmehome.command.delhome
getmehome.command.listhomes
getmehome.command.setdefaulthome
getmehome.command.home: 允许返回家中。
getmehome.command.sethome: 允许设置家。
getmehome.command.delhome: 允许删除自己的家。
getmehome.command.listhomes: 允许列出自己的家列表。
getmehome.command.setdefaulthome: 允许更改默认家。
延迟绕过权限
getmehome.delay.instantother: 传送至其他玩家的家时无需等待。(默认: op)
getmehome.delay.allowmove: 允许在等待 /home 传送前等待期间移动(默认: false)
管理权限
默认情况下,仅服务器操作员拥有这些权限。
getmehome.reload: 允许重新加载插件配置。这会丢弃尚未保存到文件的家的数据!
/getmehome reload 用于重新加载。
/getmehome clearcache 用于清除家缓存。目前此命令无效。
getmehome.command.home.other:允许前往其他玩家的家。
getmehome.command.sethome.other:允许设置其他玩家的家。这将忽略目标玩家的家数量限制,因此请务必使用 /listhomes <player> 检查其家数量!
getmehome.command.delhome:允许删除其他玩家的家。没有确认提示,请谨慎操作!
getmehome.command.listhomes.other:允许列出其他玩家的家。
如需更多信息,请访问 GitHub 上的项目页面。
bStats
链接到 bStats
希望这能帮到你!
~Simon
A straightforward Spigot plugin that gets you home
GetMeHome has all the features you would need for a simple home plugin. The configuration is very simple to understand and set up! This plugin was tested to work on Minecraft 1.7 and up, and it will continue being updated to be future-proof!
There are plenty of home plugins out there, but this plugin was built out of necessity for a survival server. There was no reliable home plugin to rely on for clean storage and messages that also supports multi-home. Any home plugin that I found was either too bloated or too simple. I decided to take it on my own, and so, GetMeHome was born.
GetMeHome features:
/home, /sethome, /delhome, and /listhomes
- Advanced Multi-home support by declaring custom permission nodes in
limit.yml
/setdefaulthome to change default home
- Warmup and cooldown delay support by declaring custom permission nodes in
delay.yml
- Localization based on MC language, officially supporting:
- English (Default)
- ɥsᴉꞁᵷuƎ (v1.0.3)
- LOLCAT (v1.0.0)
- Pirate Speak (v1.0.1)
- Shakespearean English (v1.0.3)
- Japanese (v1.0.3; by kj_Brooke)
- Korean (v1.0.1)
- Custom localization or messages
- A way to go to or edit other player's homes
Configuration
There are several configuration options that you can set.
message.prefix: Default: "&6[GetMeHome]". The tag used for all messages from GetMeHome.
message.content-color and message.focus-color: Change message colors without any hassle!
welcome-home-radius: Default: 4. Distance away from home point to show the "Welcome home" message. Can be disabled by setting it to -1.
For additional information, check config.yml.
limit.yml and delay.yml
These two files follow the same exact structure.
- perm: permission.node
value: Home Limit
operation: set | world | add | subtract (optional)
worlds: [world_name(s), ...] (optional)
Home limit in limit.yml does not support "subtract" operation.
Examples are shown in limit.yml and delay.yml.
Commands and Permissions
The default permissions should work well with your needs. All usable permission nodes are listed below.
User Command Permissions
Everyone is given these permissions by default.
getmehome.user: Allows all commands a user needs to use the plugin features. This enables the following permission nodes:
getmehome.command.home
getmehome.command.sethome
getmehome.command.delhome
getmehome.command.listhomes
getmehome.command.setdefaulthome
getmehome.command.home: Allows going home.
getmehome.command.sethome: Allows setting home.
getmehome.command.delhome: Allows deleting own home.
getmehome.command.listhomes: Allows listing list of own homes.
getmehome.command.setdefaulthome: Allows changing the default home.
Delay Bypass Permissions
getmehome.delay.instantother: No delay for /home to other player's home. (default: op)
getmehome.delay.allowmove: Allows moving while waiting for /home warmup (default: false)
Administration Permissions
By default, these permissions are given only to server operators.
getmehome.reload: Allows reloading plugin configuration. This discards homes not yet saved on the file!
/getmehome reload to reload.
/getmehome clearcache to clear home cache. This doesn't do anything for now.
getmehome.command.home.other: Allows going to other player's home.
getmehome.command.sethome.other: Allows setting other player's home. This ignores the target player's home limits, so be sure to check the number using /listhomes <player>!
getmehome.command.delhome: Allows deletion of other player's home. There is no confirmation prompt, so be careful!
getmehome.command.listhomes.other: Allows listing of other players' homes.
For more information, please visit the project page on GitHub.
bStats
Link to bStats
Hope this comes in handy!
~Simon
评论 0
登录后参与评分
还没有评论,来抢沙发吧