StandardBooks
通过此插件,你可以在玩家首次加入时发放一本已书写的书籍(例如包含服务器规则),或者通过命令获取其他已保存的书籍(可能用于管理员命令)。
请查看由 Marcsello 创建的文本文件转换器工具
转换器页面
功能特性
需要 Java7
- 在游戏中保存书籍。为此你需要手持该书
- 书籍可以包含 &0,&1... 颜色代码
- 书籍可以包含 "§" 格式符
- 定义首次加入时发放的书籍,或关闭此功能
- 按书籍设置权限,防止你的建筑者获得管理员命令书籍
- 向其他玩家发放书籍
- 可以覆盖 /help 和 /rules 命令,从而插入指定的书籍(需要 sb.help 或 sb.rules 权限)
- 在玩家首次加入时发放书籍(支持延迟)
命令
- /sbs save [bookname] | 保存手中持有的指定名称的书籍
- /sbs list | 列出所有已保存的书籍
- /sbs give [bookname] | 给你自己发放指定名称的书籍
- /sbs give [bookname] [playername] | 将该书籍发放给指定玩家
权限
- sb.list | 允许获取所有已保存书籍的列表
- sb.save | 允许保存新书籍
- sb.give.bookname | 允许使用指定的 bookname 发放该书籍
- sb.give.other | 允许向其他玩家发放书籍
- sb.help | 允许在使用 /help 命令时接收帮助书籍
- sb.ignorehelp | 拥有此权限的玩家在被覆盖 /help 命令时将被忽略
- sb.rules | 允许在使用 /rules 命令时接收规则书籍
- sb.ignorerules | 拥有此权限的玩家在被覆盖 /rules 命令时将被忽略
更新日志
v1.4.1
- 修复了与 Bukkit 1.4.5-R1 的不兼容问题
v1.4
- 添加了首次加入书籍的延迟功能(如果要使用它,需要新的配置文件)
- list 命令和向玩家发放书籍的命令现在可以通过控制台执行
- 修复了 list 命令
v1.3
- 添加了向其他玩家发放书籍的功能
- 修复了 help 和 rules 的覆盖功能,并添加了获取正常 help 和 rules 的权限
- 修复了当输入 none 作为要发放的书籍时会生成空书的 bug
- 修复了以大写开头的书籍无法被找到的 bug
v1.2
- 添加了 "§" 格式符支持
- 添加了覆盖 /help 和 /rules 的可能性(需要新的配置文件)
- 添加了向 mcstats.org 发送插件指标数据的功能 可在配置文件中关闭(需要新的配置文件)
v1.1
- 将命令更改为 sbs
- 更改了书籍保存方式,使得回车键不再被视为新的一页(这意味着你需要修改你的书籍内容)
- 修复了拼写错误的示例
- 修复了复制 'title: ' 和 'author: ' 的问题
v1.0
已知问题
转换器
Marcsello 创建了一个工具,可以将文本文件转换为 StandardBooks 接受的格式,请查看:
工具页面
计划中的功能
- 检查书籍是否已在玩家背包中
- 添加针对所有书籍的 give.all.* 权限
- 在 help 和 rules 中添加提示信息
- 有任何想法?请联系我
致谢
感谢 blackbinary 为我们提供服务器托管,使我能够开发和测试我的插件
感谢 Marcsello 创建了 转换器

StandardBooks
With this Plugin you can hand out a written book on first join (maybe containing the rules) or get other saved books (maybe with admin commands) via command.
Check out the Converter tool for textfiles created by Marcsello
ConverterPage
Features
requires Java7
- save books ingame. for this you must hold the book
- books can contain the &0,&1... color codes
- books can contain "§" formatting
- define the book given on first join or turn feature off
- per book permission so your Builders can't get the admin Commandbook
- give a book to an other player
- can override /help and /rules so a defined book is inserted instead (needs sb.help or sb.rules permission)
- hand out a book at first join (delay possible)
Commands
- /sbs save [bookname] | saves the written book in hand with given name
- /sbs list | lists all saved books
- /sbs give [bookname] | gives you the book with the entered name
- /sbs give [bookname] [playername] | gives the book to the player
Permissions
- sb.list | allows to get a list of all saved books
- sb.save | allows to save a new book
- sb.give.bookname | allows to insert the book with the given bookname
- sb.give.other | allows to give a book to an other player
- sb.help | allows to receive the helpbook when /help is typed
- sb.ignorehelp | players with that permission will be ignored when overriding /help
- sb.rules | allows to receive the rules book on /rules
- sb.ignorerules | players with that permission will be ignored when overriding /rules
Change notes
v1.4.1
- fixed incompatibility with bukkits 1.4.5-R1
v1.4
- added delay for first join book (if you want to use it you need a new config file)
- list and give book to player command can now be performed via console
- fixed list command
v1.3
- added feature to give the book to an other player
- fixed help and rules override and added permission to get normal help and rules
- fixed bug writing none as inserted book giving empty book
- fixed bug that a book could not be found when starting with capital
v1.2
- added "§" formatting support
- added possibility to override /help and /rules (needs new config file)
- added sending of plugin metrics to mcstats.org can be turned off in config (needs new config file)
v1.1
- changed command to sbs
- changed the way a book is saved so an enter key will not be a new page (that means you hav to change your books)
- fixed wrong spelled example
- fixed copying 'title: ' and 'author: '
v1.0
Known Issues
Converter
Marcsello created a tool to convert textfiles into StandardBokk accepted files check it out:
ToolPage
Planned features
- check if book already in player inventory
- give.all.* permission for all books
- message on help and rules
- Any ideas? let me know
Thanks
Thanks got to blackbinary for hosting our server where I can develop and test my plugins
Thanks to Marcsello for creating the Converter

评论 0
登录后参与评分
还没有评论,来抢沙发吧