自定义书籍
本项目已停止维护,不确定它是否能在你的服务器上正常运行,但也许可以。
如果有人希望使用源代码继续开发或为自己制作内容,源码位于 。
如果有人希望继续为社区开发此插件,请联系主要贡献者。
该插件的功能是什么?
此插件允许你创建无限数量的自定义书籍,并可根据喜好进行编辑。所有拥有 /cb 或 /custombook 权限的玩家均可使用 /custombook 或 /cb <书名> 来生成这些书籍。 我有没有告诉过你可以创建无限种不同的书籍!?! 你还可以在玩家首次加入服务器时向他们赠送无限数量的书籍!
若要列出所有可用命令,请执行 /cb 或 /cb help
命令与权限
用户命令
| 命令 | 描述 | 权限节点 |
|---|---|---|
| /cb | 插件命令列表 | 无需权限 |
| /cb list [normal/join] | 列出已注册的书籍 | 无需权限 |
| /cb <book> | 给你一本书 | books.normal.<PERMISSION> |
| /cb give <player name / all> <book name> | 给指定玩家一本书 | books.give.<PERMISSION> |
| /cb reload | 重载配置文件 | books.reload |
| /cb version | 查看已安装插件的信息 | 无需权限 |
| 首次加入时 | 在首次加入时赠送书籍 | books.join.<PERMISSION> |
books.normal.* 和 books.join.* 授予你所有对应类型书籍的权限,books.* 授予完全权限。
<PERMISSION> 是按每本书设置的,单本书可以拥有多个权限,例如你想将一组书籍授予特定等级组。 每本书有两个 <permission> 标签。第一个用于 /cb <book> 和 /cb give,第二个用于在首次加入或每次加入时接收书籍。
控制台命令
| 命令 | 描述 |
|---|---|
| /cb | 插件命令列表 |
| /cb list [normal/join] | 列出已注册的书籍 |
| /cb give <player name / all> <book name> | 给指定玩家一本书 |
| /cb reload | 重载配置文件 |
| /cb version | 查看已安装插件的信息 |
安装方法
- 步骤 1:下载此插件。只需这一个插件即可,没有其他要求。(不过,Permissions 插件可能很有用,因为本插件为其所有命令提供了权限控制。)
- 步骤 2:将 Custom Books(即本插件)放入你的 plugins 文件夹中。
- 步骤 3:根据需要编辑 Books.xml
- 步骤 4:保存 Books.xml
- 步骤 6:大功告成!
配置书籍
所有书籍都存储在 plugins/Books/ 目录下的 Books.xml 文件中。
如何设置书籍的不同内容已在默认文件中进行了大致说明。如果有任何不清楚的地方,请发表评论或提交工单,文档将会更新,同时你会收到回复。
默认配置文件可在此处找到:这里
更新方法
- 将 Books.xml 文件的名称更改为其他名称
- 重启服务器
- 将旧 xml 文件中的信息更新到新文件中 这是因为许多更新为每本书增加了更多设置,如果你的文件缺少这些设置,相关功能将无法正常工作。
更新日志:
2.0.0 - 完全重写,支持较新版本的 Spigot 和 CraftBukkit 2.0.1 - 将两个配置文件合并为一个,格式略有更改
如需更详细的更新日志,请点击“下载”链接
待办事项..
此信息列于 GitHub 仓库中,请在此查看:
已知问题
无!:) 如果你有任何问题或建议,请在评论中指出
获得答复最快的方法:发送邮件或在 GitHub 上创建 Issue
颜色
你可以为这里的所有内容着色,包括标题、作者以及所有页面!
操作方法是使用普通的颜色代码(在此处查找:),然后删除 § 符号并在两侧各添加一个 /,这意味着深红色将是 /4/
如何换行?
与颜色相同,只是将字母 z 代替
信息
此插件并不总是更新,主要原因是项目优先级调整。最近(2016 年初)已上传至 GitHub,以允许其他开发者参与该项目。
另一个原因是审核人员必须批准新版本。最新上传的版本是:2.2.0
如果你发现任何错误或在使用我们的插件时遇到问题,请向 xXjn1234Xx 发送包含控制台日志及所有插件文件的消息。为了更快地获得回复,请发送邮件至 jn1234.mc@gmail.com,因为我不常访问此网站
GitHub:
Custom Books
This project is inactive, not sure that it will work on your server, though it might
If anyone wants to use the sourcecode to continue developing or making something for themselves it can be found at .
If anyone wants to continue developing this plugin for the comunity, the main contributor would have to be contacted.
What does the plugin do?
This plugin allows you to make unlimited custom books which you can edit to your likings. Than all players with permissions to /cb or /custombook can spawn the books using /custombook or /cb <book name>. Did I tell you that you can make unlimited different books!?! You can also have unlimited books given to players the first time they join!
To list all the commands you can perform do /cb or /cb help
Commands & Permission
User Commands
| Command | Description | Permission Node |
|---|---|---|
| /cb | Plugin command list | No Permission Needed |
| /cb list [normal/join] | List registered books | No Permision Needed |
| /cb <book> | Gives you a book | books.normal.<PERMISSION> |
| /cb give <player name / all> <book name> | Gives the selected player a book | books.give.<PERMISSION> |
| /cb reload | Reloads the configuration file | books.reload |
| /cb version | View info about the installed plugin | No Permission Needed |
| At First Join | Gives a book on first join | books.join.<PERMISSION> |
books.normal.* and books.join.* gives you permission to all books of given type, books.* gives you full permissions
<PERMISSION> is set pr book, a single book can have multiple permissions, if you for example want to give a group of books to certain ranks. There are two <permission> tags per book. The first one is for /cb <book> and /cb give, and the second one is for receiving books on first join or every join
Console Commands
| Command | Description |
|---|---|
| /cb | Plugin command list |
| /cb list [normal/join] | List registered books |
| /cb give <player name / all> <book name> | Gives the selected player a book |
| /cb reload | Reloads the configuration file |
| /cb version | View info about the installed plugin |
How to install
- Step 1: Download this plugin. You only need this plugin there are no other requirements. (However a Permissions plugin can be usefull as this plugin has permissions for all of the commands that it has.)
- Step 2: Put Custom Books (this plugin) into your plugin folder.
- Step 3: Edit Books.xml after your likings
- Step 4: Save Books.xml
- Step 6: Profit!
Configurating the books
All books are stored in Books.xml in plugins/Books/
How to set the different contents of the book has been explained roughly in the default file. If anything is unclear, post a comment or file a ticket and it will be updated + you will have your reply
Default configuration file can be found here
How to update
- Change the name of the Books.xml file to something else
- Restart the server
- Update the information from the old xml file into the new This is because many updates have more settings for each book, and if your files lack these settings, the functions will not work
Changelog:
2.0.0 - Complete remake, support of the newer versions of spigot and craftbukkit 2.0.1 - Merged the two configs into one, changing the format a little
For more detailed changelog click the "download" link
To do..
This info is listed in the GitHub Repository, view it there:
Known Bugs
None! :) If you have any questions are suggestions please say so in the comments
The fastest methods to get an answer: send a mail or create an issue in github
Colors
You can make everything here colored, the title, the author, and all the pages!
The way you do so is by using the normal color codes (found here: ) Then you remove the § and add a / on each side, this means that dark red would be /4/
How do I make enters?
The same way as the colors, but with the letter z instead
Info
This plugin is not always updated, mainly because of prioritizing of projects. It has recently (start of 2016) been uploaded to GitHub to allow other developers to participate in the project.
Another reason is that moderators have to aprove the new versions. The latest version uploaded is: 2.2.0
I you have found any bugs or are having problems with our plugin please send xXjn1234Xx a message with the console log and all the plugin files. For faster replies, send a mail to jn1234.mc@gmail.com, because I'm not on this site very frequently
GitHub:
下载 Custom Book
下载 Custom Book
下载 Custom Book
下载 Custom Book
下载 Custom Book
下载 Custom Book
下载 Custom Book
下载 Custom Book
下载 Custom Book
下载 Custom Book
- 2016.01.07 - 新增来自控制台的 /cb give 和 /cb list 命令
- 2016.01.06 - 新增 /cb give 命令
- 2016.01.02 - 将所有书籍合并到一个文件中,避免重复创建书籍
- 2016.01.02 - 区分加入书籍和普通书籍的权限
- 2016.01.01 - 完全重构,基于 Spigot 1.8.8 编译
- 2014.01.05 - 更新以支持 1.7.2
- 2013.10.02 - 修复了一些小问题
- 2013.08.25 - 清理了代码
- 2013.10.02 - 重大更新!现在支持无限书籍和加入书籍!可在游戏中创建书籍!
- 2013.08.25 - 删除了 /b 和 /book 命令,因为它们与 Essentials 插件冲突
- 2013.05.11 - 新增了首次加入时的自定义欢迎书籍
- 2013.04.25 - 新增 /b reload 命令
- 2013.04.25 - 支持多本书籍
- 2013.04.24 - 添加了颜色支持!
- 2013.04.08 - 由于命令出现错误,不得不进行修复。同时移除了另一个(无用的)权限 book.donation。现在只需使用 book.user 即可。
- 2013.04.08 - 更新了配置文件。
- 2013.04.08 - 现在支持权限系统(book.has 赋予用户使用 /book 命令的权限)
- 2013.04.08 - 上传项目
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧