Gold Плагин RPG/MMO MythicRPG [0.0.1 SNAPSHOT 99]

  • Добавлена механика setCustomMenuButton{slot=X;icon=Y} для изменения кнопок при нахождении в пользовательском меню. Передается переменная click-type с 0 для левого клика и 1 для правого.
Добавлена структура пользовательских меню
+ Добавлена команда /mrpg menus open [custom_menu_name]
+ Добавлена механика openCustomMenu{menu=X}
Skill Commands
Make skills register as commands with the following format
Код:
MyExampleSkills:
Command:
Id: skillTest
Aliases:
- testSkill
Completions:
target:
- players
Skills:
- message{m=You rock !} @self
/skilltest Ghmmy -> You rock Ghmmy!
These are the special completions fields that will get auto-replaced with the actual lists: worlds,players,items,mythicitems

Extended Example:
Код:
RandomTP:
Command:
Id: randomtp
Aliases:
- rtp
- wild
Completions:
target:
- players
Conditions:
- hasPermission{p=rtp.use} true "&cYou do not have permission to use that command"
- holding{m=DIAMOND} true "&cYou can only use this command while holding a diamond"
Skills:
- consumeHeldItem # Take away the diamond as payment
- potion{t=SLOW_FALLING;l=5;d=100;p=false} @self
- command{c=teleport 100 }
FailedConditionsSkills:
- e:p{p=VILLAGER_ANGRY;hs=1;vs=1;a=100} @self
- s{s=entity.villager.no} @self
ВерхНиз