RealPlugin - 一个轻量级的插件开发框架
描述
此插件开发框架旨在简化插件开发中一些常用功能的实现:
- 内置简单的 key=value 配置文件管理器(自动链接到 PluginNameConfig 类)
- 内置本地化引擎,可轻松实现插件的原生多语言支持
- 非常简易的内置经济插件(但建议优先使用其他专门的经济管理插件)(未记录文档)
- 内置的管理员权限 / 旧版 Permissions 插件 / 新版 Bukkit 权限系统的切换器
- 日志生成器,具备插件专用日志和调试模式(便于调试),并支持自动启用/禁用消息提示
命令
你可以即时更新你的插件!
- 使用 /rp dl RealPlugin 来更新 RealPlugin
- 使用 /rp dl RealShop2 来下载/更新 RealShop2(也可用于任何其他 Real* 系列插件,列表见下方)
- 完成后,请执行 /reload 重载你的插件(推荐先执行 /stop 以干净地停止服务器后再进行重载)
^ 上述命令仅适用于 Real* 系列插件。
插件管理器命令:
- 使用 /rp list 列出所有插件(禁用的插件显示为红色)
- 使用 /rp disable pluginname 禁用某个插件
- 使用 /rp enable pluginname 启用某个插件
- 使用 /rp reload pluginname 重载某个插件(等同于先禁用再启用)
^ 上述命令既适用于 Real* 系列插件,也适用于所有其他插件。
API 文档
我所有的 "Real" 系列插件均在 GitHub 上开源。建议查看它们的源代码,作为使用 RealPlugin API 的示例。
依赖 RealPlugin 的插件
部分我自己开发的插件需要 RealPlugin:
- RealAdminTools :实用的基准测试工具 / 实体清理工具 / 其他管理员工具
- RealJobs :管理工作岗位,并为玩家提供奖励加成
- RealZone :一款统管区域/地区的插件
- RealShop2 :箱子可作为商店使用,像操作箱子一样简单!
- RealStats :全面统计玩家的各项行为数据
- RealTeleporter :极其简单且轻量的传送门
- RealViewDontTouch :箱子可以打开,但无法从中取出任何物品!
RealPlugin - A little plugins developpement framework
Description
Plugins developpement framework to make some common usefull things for plugins more easy :
- built-in simple key=value configuration file manager (automatically linked to a PluginNameConfig class)
- built-in localization engine is an easy way to make your plugin natively multi-lingual
- very simple built-in economy plugin (but you should prefer using other specialized money management plugins) (undocumented)
- built-in op-user / old Permissions plugin / new bukkit permissions plugin switcher
- logs generator with plugin specialized log and debug mode (usefull for debugging), auto enable/disable message
Commands
You can update your plugins on-the-fly !
- Use /rp dl RealPlugin to update RealPlugin
- Use /rp dl RealShop2 to download / update RealShop2 (can be used with any other Real* plugin, list bellow)
- When done, you should /reload your plugins (/stop is recommended to do this cleanly)
^ These work only with Real* plugins.
Plugins manager commands :
- Use /rp list to list all plugins (disabled plugins are red)
- Use /rp disable pluginname to disable a plugin
- Use /rp enable pluginname to enable a plugin
- Use /rp reload pluginname to reload a plugin (same as disable then enable)
^ These work with Real* plugins as well as all other plugins.
API Documentation
All of my "Real" plugins have their source on github. Think about looking at their source as an example of use of the RealPlugin API.
They use RealPlugin
Some of my own plugins need RealPlugin :
- RealAdminTools : usefull benchmark / entities cleaner / other admin tools
- RealJobs : manage jobs and make them bring bonuses to players
- RealZone : one plugin to rule these zones / regions plugin all
- RealShop2 : chest can be used as shops, as easy to use as chests !
- RealStats : full statistics about your players actions
- RealTeleporter : very simple and lightweight teleporter gates
- RealViewDontTouch : a chest can be opened but nothing can be taken in it !
评论 0
登录后参与评分
还没有评论,来抢沙发吧