一直想要一匹飞马吗?现在你可以拥有它了!
功能
本插件会创建天马(Pegasus),即会飞的马。
- 每位玩家只能拥有一匹天马(你可以根据喜好自定义你的天马)
- 重启后数据依然保留,存储在 JSON 文件中
- 天马死亡了吗?只需按原来的方式让它重生即可。
- 使用配置文件:决定什么能伤害你的天马(火焰、玩家、怪物等),以及设置天马的基础属性(生命值、飞行/跳跃能力、是否有物品栏、死亡时是否保留物品等)
使用方法
- 输入 /pegasus-create 生成一匹天马,骑上它并按空格键起飞。
- 否则,你也可以像往常一样直接操控它
- 不用担心坠落,你不会受到伤害!
指令与权限
选项的顺序无关紧要。
- /pegasus-create <name> <color> <style> <variant> - 生成带有自定义选项的天马
权限:pegasus.create
- /pegasus-customise <name> <color> <style> <variant> - 自定义你的天马选项(你必须骑着它才能操作)
权限:pegasus.customise
- /pegasus-respawn:将你的天马传送到你所在的位置,或者以相同属性生成一匹新的
权限:pegasus.respawn
- /pegasus-clear:清除所有未注册的天马
权限:pegasus.clear
- /pegasus-forceclear:清除所有马匹,并清除天马与玩家之间的关联数据
权限:pegasus.forceclear
- /pegasus-clean:清除所有已注册的天马(在更新时可能需要此操作,且比其他命令更彻底)
权限:pegasus.clean
最后两个命令可由管理员在遇到更新到本插件版本的问题时使用。
- 添加了两个权限节点: pegasus.player(可以创建、重生和自定义),以及 pegasus.aministrator(可以清除、清理和强制清除)
选项:
- <name>:显示的天马名称
- <color>:马匹可能的颜色
WHITE(白色)、CREAMY(浅褐色)、CHESTNUT(栗色)、BROWN(浅棕色)、BLACK(纯黑色)、GRAY(灰色)、DARK_BROWN(深棕色)
NONE(无花纹)、WHITE(白色蹄部或条纹)、WHITEFIELD(乳白斑块)、WHITE_DOTS(圆形白点)、BLACK_DOTS(小黑点)
HORSE(普通马)、DONKEY(驴)、MULE(骡子)、UNDEAD_HORSE(不死马)、SKELETON_HORSE(骷髅马)
版本与下载
提供适用于 Bukkit 1.7.9、1.7.5、1.7.2、1.6.4 的版本。
想要最新版本吗?
迫不及待想测试它吗?
请在下方下载。
此项目的开发构建版本可从提供的持续集成服务器获取。
这些构建版本未经 BukkitDev 团队批准。使用风险自负。
在此下载
已知问题
如有任何问题或建议,请告诉我!
- [1.0.1] 无法允许在天马数据中存储附魔书:存在序列化和转换为 JSON 的问题
即将推出
致谢
特别感谢 @Jacek、@iKeirNez 以及来自 这个帖子 的所有贡献者,没有他们,我甚至无法开始这个插件的开发。
Always wanted a flying horse ? Now you got it !
Features
This plugin creates Pegasi, that is to say flying horse.
- Only one pegasus is allowed by player (you can customise your Pegasus at your tastes)
- Data is kept after rebooting, stocked in Json file
- Your pegasus died ? Just make him respawn the same way it was before.
- Use the configuration file : decide what is able to damage your Pegasus (fire, player, monster, ...) or the basic caracteristics of Pegasus (health, flying/jumping strength, has inventory, keep inventory on death, ...)
How it works
- Just type /pegasus-create to spawn a Pegasus, mount him and use spacebar to fly.
- Else, you can just direct him like usual
- Do not fear falling, you won't take damage !
Commands and permissions
Order of options does not matter.
- /pegasus-create <name> <color> <style> <variant> - spawn a Pegasus with customised options
permission : pegasus.create
- /pegasus-customise <name> <color> <style> <variant> - customises your Pegasus with the options (you have to be mounting it)
permission : pegasus.customise
- /pegasus-respawn : teleport your pegasus to your position, or create a new one with same features
permission : pegasus.respawn
- /pegasus-clear : kill all non-registered Pegasus
permission : pegasus.clear
- /pegasus-forceclear : kill all horses and clear associations data between Pegasus and players
permission : pegasus.forceclear
- /pegasus-clean : kill all registered Pegasus (may be necessary in case of update, and more clean as the others)
permission : pegasus.clean
The last two commands can be used by admin if they encounter problem with updating to this plugin version.
- Adding two permission nodes pegasus.player (can create, respawn and customise), and pegasus.aministrator (can clear, clean and forceclear)
Options :
- <name> : the name displayed of your pegasus
- <color> : Possible color of the horse
WHITE (White), CREAMY (Very light brown), CHESTNUT (Chestnut), BROWN (Light brown), BLACK (Pitch black), GRAY (Gray), DARK_BROWN (Dark brown))
- <style> : Possible style of the horse
NONE (No markings), WHITE (White socks or stripes), WHITEFIELD (Milky splotches), WHITE_DOTS (Round white dots), BLACK_DOTS (Small black dots)
- <variant> : Possible variant of the horse
HORSE (A normal horse), DONKEY (A donkey), MULE (A mule), UNDEAD_HORSE (An undead horse), SKELETON_HORSE (A skeleton horse)
Version and download
Version for Bukkit 1.7.9, 1.7.5, 1.7.2, 1.6.4 are available.
Want the latest build ?
Cannot wait the approval to test it ?
Download it below.
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Download here
Known issues
Please let me know of any issues or wishes you have !
- [1.0.1] Can not allow the stockage of enchanting books inside of Pegasus data : problems of serialization and translating to Json
Coming soon
- Economy ? (rent a horse, ...)
Credits
Big thanks to @Jacek, @iKeirNez and all the contributors from this thread, without them, I could not even have started this plugin.
评论 0
登录后参与评分
还没有评论,来抢沙发吧