入门教程 - NyaaCat/RPGItems-reloaded GitHub Wiki
安装
- 从 这里 下载最新版本
- 将 jar 文件放入
plugins目录 - 重启服务器
从这开始吧
示例:冰符卡
我们现在要创建一张符卡,玩家可以消耗一张符卡射出冰冻效果。
命令:
/rpgitem icecard create/rpgitem icecard item paper/rpgitem icecard display &bICE &dSPELL CARD/rpgitem icecard type &bICE/rpgitem icecard hand &dSpell Card/rpgitem icecard description add &fFreeze them all!/rpgitem icecard power ice 20/rpgitem icecard power consume
这样就可以了。现在使用 /rpgitem icecard give 来拿一张测试了。
说明:
- 创建一个 RPGitem 并保存至配置文件
- 将纹理改成纸的样子(显示为纸)
- 将名字改为
&bICE &dSPELL CARD - 将物品第一行左边改为
&bICE(设置物品类型) - 将物品第一行右边改为
&bSpell Card(设置手持信息) - 增加一行描述
&fFreeze them all! - 增加
ice效果,冷却时间为 20 刻( 1 秒) - 增加
consume效果,使用后会消耗自身。