本插件旨在简化聊天、配置和命令处理等繁琐任务,使其变得简单且统一。你可以把它当作 Bukkit 的“博格”(Borg)。
这个插件允许我做什么?
对于服务器管理员:除非你是开发者并使用其 API,否则该插件不会对你产生任何影响。否则它将在后台运行。
对于开发者:插件包含多个可供开发者使用的 API 函数,涉及 MySQL 交互、玩家管理、库存管理、聊天管理、经济系统管理(需安装 Vault)、WorldEdit、WorldGuard、生物管理、文件管理、字符串管理、时间管理等以及其他各种功能。
优势:
- 简洁性。即使你不使用我们提供的插件和命令框架,你仍然可以立即获得持久化的 MySQL 连接,而无需让服务器管理员多次配置数据库。
- 在插件框架内,如果管理员决定启用它,它将分析所有已注册插件的加载时间。
- 厌倦了构建帮助文件或页面以配合插件使用吗?命令框架将开箱即用地处理所有这些事务,包括所有子命令的处理。
- 厌烦于必须检查权限/确认执行命令的是否为玩家吗?命令框架也会为你完成所有这些工作。
配置?
deityapi:
should_profile: true # 是否希望查看插件的加载时间
inform_on_plugin_update: true # 是否希望插件在更新时通知你
mysql:
server:
address: localhost # 请将其更改为你的数据库服务器的地址
port: 3306 # 请将其更改为你的数据库服务器的端口
database:
name: kingdoms # 请将其更改为你的数据库名称
username: root # 请将其更改为你的数据库用户名
password: root # 请将其更改为你的数据库密码
命令?
- /Query [show/hide]:此命令将显示/隐藏所有数据库查询的控制台日志记录。任何拥有 Op 权限的玩家、具有 "DeityAPI.query" 权限节点的玩家可以或从控制台本身使用此命令。
使用此插件的插件
如果你正在为某个插件使用 API,但它无法加载或抛出 ClassNotFoundException。请通过你的插件名称联系我,我会将其添加到列表中。
额外链接

This plugin is designed to make the tedious tasks such as chat/config/command handling simple and unified. Think of it like the borg for bukkit.
What does this plugin allow me to do?
For Server Admins: This plugin will not do anything for you, unless you are developer and using its API. Otherwise it will sit in the background.
For Developers: Plugin contains multiple api functions available to the developer, dealing with MySQL interaction, Player handling, Inventory handling, Chat handling, Econ handling (provided vault is installed), WorldEdit, WorldGuard, Mob handling, File Management, String Management, Time Management, and various others.
Benefits:
- The simplicity. Even if you do not use the Plugin and Command framework we provide, you still have access to a persistant MySQL Connection instantly, without having the Server admin configure the database multiple times.
- Within the Plugin framework, if the admin decides to enable it, it will profile the load times of all the plugins registered.
- Getting sick of building help files/pages, to go along with the plugin? The Command framework will take care of all that including all sub-command handling out of the box.
- Annoying at having to check permissions/check if its a player running the command? The Command framework will also do all of this for you.
Configuration?
deityapi:
should_profile: true # Whether or not you would like to see load times on plugins
inform_on_plugin_update: true # Whether or not you would like plugins to notify you if they update
mysql:
server:
address: localhost # Change me to the address of your database server
port: 3306 # Change me to the port of your database server
database:
name: kingdoms # Change me to the name of your database
username: root # Change me to the username for your database
password: root # Change me to the password for your database
Commands?
- /Query [show/hide]: This command will show/hide console logging of all database queries. Can be used by anyone who is Op/players with the permission node "DeityAPI.query" or from console itself
Plugins that use this plugin
If your using the API for a plugin and it wont load or throw a ClassNotFoundException. Please message me with your plugin name and ill add it to the list
Extra Links

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