功能
当玩家加入你的服务器时,自动向他们发放包含规则、入门指南等内容的已撰写书籍。
命令
| 命令 | 描述 |
| /bookrules | 显示当前插件信息。 |
| /bookrules info | 显示当前插件信息。 |
| /bookrules version | 显示当前插件版本。 |
显示当前插件信息。
/bookrules commands
显示玩家可用的所有命令描述。
/bookrules reload
从配置文件中重新加载数据。
/bookrules get [id | title]
获取由 ID 或标题指定的书籍,如果未指定 ID 或标题,则获取所有书籍。
/bookrules give <玩家> [id | 标题]
向指定玩家发放由 ID 或标题指定的书籍,若未指定 ID 或标题,则发放所有书籍。
/bookrules add
将当前手持的书籍添加到插件中。
/bookrules delete <id | 标题>
从插件中删除由 ID 或标题指定的书籍。
/bookrules list
显示插件当前存储的所有书籍。
/bookrules setauthor <作者>
更改当前手持书籍的作者。
/bookrules settitle <标题>
更改当前手持书籍的标题。
/bookrules unsign
取消当前手持书籍的签名,将其变回书与笔。
权限
| 权限节点 | 描述 |
| bookrules.* | 允许使用该插件的所有命令。 |
| bookrules.info | 允许使用 /bookrules [info | version] 查看插件信息。 |
| bookrules.reload | 允许使用 /bookrules reload 从文件中重新加载数据。 |
| bookrules.receivealerts | 允许接收插件发出的警报通知。 |
当插件有更新时接收提醒。
bookrules.get
允许使用 /bookrules get 获取插件存储的书籍。
bookrules.give
允许使用 /bookrules give 将书籍给予其他玩家。
bookrules.add
允许使用 /bookrules add 添加一本由插件存储的新书。
bookrules.delete
允许使用 /bookrules delete 删除由插件存储的书。
bookrules.list
允许使用 /bookrules list 列出由插件存储的所有书籍。
bookrules.setauthor
允许使用 /bookrules setauthor 设置当前手持书籍的作者。
bookrules.settitle
允许使用 /bookrules settitle 设置当前手持书籍的标题。
bookrules.unsign
允许使用 /bookrules unsign 取消已书写书籍的签名,将其变回书和羽毛笔。
配置
设置说明
详细
布尔值,用于启用/禁用控制台日志记录。(用于调试)
Seconds-Delay(秒延迟)
整数值,控制玩家登录后获得书籍的延迟时间。(当使用其他在登录时修改背包的插件,如 StarterKit 和 AuthMe 时非常有用。)
Check-for-Updates(检查更新)
布尔值,决定插件是否会检查更新并在有新版本时发送警报。
Give-New-Books-On-Join(加入时赠送新书)
布尔值,决定玩家登录服务器时是否会自动获得他们尚未收到的所有书籍。
Display-Messages(显示消息)
布尔值,决定当玩家从本插件获得新书籍时,是否向玩家发送消息。
Block-Villager-Book-Trading(阻止村民书籍交易)
布尔值,决定是否防止玩家将由此插件生成的已写入书籍与村民进行交易。
Give-Books-Every-Join(每次加入时赠送书籍)
布尔值,决定玩家每次加入服务器时是否都会获得所有书籍的新副本。
Language(语言)
加载插件所使用的语言缩写。请参阅下方的翻译部分以获取有效的缩写列表。
Translations(翻译)
本插件包含一个完善的本地化系统,支持翻译成多种语言。以下是当前可用的语言列表:
Language(语言)Abbreviation(缩写)Translator(译者)
EnglishEN
如果您希望提供翻译以便集成到插件中,请告诉我。如果您知道如何操作,欢迎在 GitHub 上提交包含翻译文件的拉取请求(Pull Request)。否则,请给我发送私信,我将为您提供需要翻译的消息列表。
Update Checking(更新检查)
本插件会定期检查 BukkitDev 以获取新版本,并通知控制台以及拥有 "bookrules.recievealerts" 权限的玩家有新版本可用。如果您想禁用此功能,只需在 plugins/BookRules/config.yml 中将 "Check-for-Updates" 设置为 false 即可。
Stats Collection(统计数据收集)
本插件会自动收集匿名统计数据并发送至 MCStats。如果您希望查看这些数据,可以 在此处 查看。如果您想禁用此功能,请在 plugins/PluginMetrics/config.yml 中将 "opt-out" 设置为 true。
Planned(计划中)
- 书籍可选分组,允许仅将特定组授予拥有正确权限的玩家(定义于 add 命令?)
- Multiverse 支持(可能支持,不保证)
- 允许玩家在死亡时保留书籍的选项
- 更新为 UUID 系统
支持与功能请求
如果您发现了插件中的 bug,或者希望建议添加新功能,请在 Github 上创建 Issue,以确保我能看到。您可以通过点击 BukkitDev 页面顶部的 Tickets 链接或 GitHub 仓库上的 Issues 链接来操作,然后点击 New Issue,并提供尽可能多的信息。您提供的信息越详细,我就越好帮助您。
链接
BukkitDev 页面
GitHub 仓库
Twitter
捐赠
捐赠并非必需,但若能收到将 非常令人感激。如果您觉得我的插件对您大有裨益,并希望略表心意,可以通过此方式进行捐赠。
法律条款
根据通用开发与分发许可证第 1.0 版(CDDL-1.0)授权。有关许可证信息,请参阅 LICENSE 文件,或访问网页
Features
Automatically give players written books containing rules, getting started guides, etc when they join your server.
Commands
CommandDescription
/bookrules
Show current plugin information.
/bookrules info
Show current plugin information.
/bookrules version
Show current plugin information.
/bookrules commands
Show description of all commands available to the player.
/bookrules reload
Reload data from the config files.
/bookrules get [id | title]
Get book specified by ID or title, or all books if no ID or title is specified.
/bookrules give <player> [id | title]
Give the specified player the book specified by ID or title, or all books if no ID or title is specified.
/bookrules add
Add the currently held book to the plugin.
/bookrules delete <id | title>
Delete the book specified by ID or title from the plugin.
/bookrules list
Show all of the books currently stored by the plugin.
/bookrules setauthor <author>
Change the author of the currently held book.
/bookrules settitle <title>
Change the title of the currently held book.
/bookrules unsign
Unsign the currently held book, changing it back to a book and quill.
Permissions
Permission NodeDescription
bookrules.*
Allow full access to all commands in the plugin.
bookrules.info
Allow use of /bookrules [info | version] to see the plugin information.
bookrules.reload
Allow use of /bookrules reload to reload data from file.
bookrules.receivealerts
Receive alerts when there is an update to the plugin.
bookrules.get
Allow use of /bookrules get to get the books stored by the plugin.
bookrules.give
Allow use of /bookrules give to give books to other players.
bookrules.add
Allow use of /bookrules add to add a new book to be stored by the plugin.
bookrules.delete
Allow use of /bookrules delete to delete a book stored by the plugin.
bookrules.list
Allow use of /bookrules list to list all books stored by the plugin.
bookrules.setauthor
Allow use of /bookrules setauthor to set the author of the currently held book.
bookrules.settitle
Allow use of /bookrules settitle to set the title of the currently held book.
bookrules.unsign
Allow use of /bookrules unsign to unsign written books, changing them back to book and quills.
Configuration
SettingDescription
Verbose
Boolean value that enables/disables logging to the console. (Used for debug)
Seconds-Delay
Integer value that controls the delay of giving books to new players after logging in. (Useful when using other plugins that modify inventories at login, such as StarterKit and AuthMe.
Check-for-Updates
Boolean value that determines whether the plugin will check for updates and send alerts when there is a new version.
Give-New-Books-On-Join
Boolean value that determines whether players will automatically be given all books they have not yet received upon logging in to the server.
Display-Messages
Boolean value that determines whether messages will be sent to players when they receive new books from this plugin.
Block-Villager-Book-Trading
Boolean value that determines whether players will be prevented from trading written books generated by the plugin with villagers.
Give-Books-Every-Join
Boolean value that determines whether players will be given a new copy of all books every time they join the server.
Language
Abbreviation of the language to load the plugin in. See the translations section below for valid abbreviations.
Translations
This plugin contains an extensive localization system, allowing it to be translated into different languages. The following is a list of the currently available languages:
LanguageAbbreviationTranslator
EnglishEN
If you would like to supply a translation to be included in the plugin, please let me know. If you know how, feel free to create a pull request on GitHub with the translation file included. Otherwise, send me a private message and I will get you a list of the messages that need to be translated.
Update Checking
This plugin periodically checks BukkitDev for a new version, and will notify the console and players with the "bookrules.recievealerts" permission of a new version. If you would like to disable this feature, simply set "Check-for-Updates" to false in plugins/BookRules/config.yml.
Stats Collection
Anonymous statistics are collected automatically by this plugin and sent to MCStats. If you would like to view the data, you can do so here. If you would like to disable this feature, set "opt-out" to true in plugins/PluginMetrics/config.yml.
Planned
- Optional groups for books, allowing groups to only be given to players with the correct permission (defined on add command?)
- Multiverse support (possibly, no guarantee)
- Option to let players keep books on death
- Update to UUID system
Support and Feature Requests
If you have found a bug with the plugin, or would like to suggest a feature to be added, please create an issue on Github to make sure I see it. You can do this by clicking either the Tickets link at the top of the BukkitDev page or the Issues link on the Github repo, then click New Issue and provide as much information as possible. The more information you provide, the better I can help you.
Links
BukkitDev Page
GitHub Repository
Twitter
Donations
Donations are by no means required, but would be much appreciated. If you feel that my plugins have been of great use to you and would like to give me a little something in return, this is the way to do it.
Legal
Licensed under the Common Development and Distribution License Version 1.0 (CDDL-1.0).
For license information, see the LICENSE file, or on the web at
评论 0
登录后参与评分
还没有评论,来抢沙发吧