package Ġme . dk im 1 9 3 7 5 . magic items . util Ċ Ċ import Ġme . dk im 1 9 3 7 5 . dk im bukkit core . data . Help Message Ċ import Ġme . dk im 1 9 3 7 5 . dk im bukkit core . function . show Help Message Ċ import Ġme . dk im 1 9 3 7 5 . magic items . Magic Items Ċ import Ġorg . bukkit . command . Command Sender Ċ import Ġorg . bukkit . plugin . java . Java Plugin Ċ Ċ private Ġval Ġplugin : ĠMagic Items Ġby Ġlazy Ġ{ ĠJava Plugin . get Plugin ( Magic Items :: class . java ) Ġ} Ċ Ċ private Ġval Ġcommands Ġ= ĠlistOf ( ĊĠĠĠ ĠHelp Message (" help ", Ġ" Send Ġhelp Ġmessage ", ĠPermissions . COMMAND . perm ), ĊĠĠĠ ĠHelp Message (" reload ", Ġ" Reload Ġthe Ġplugin 's Ġconfig Ġfile ", ĠPermissions . RE LOAD . perm ), ĊĠĠĠ ĠHelp Message (" give ", Ġ" Give Ġitems ", ĠPermissions . G IVE . perm ), ĊĠĠĠ ĠHelp Message (" version ", Ġ" Check Ġfor Ġversion Ġupdates ", ĠPermissions . VERSION . perm ), ĊĠĠĠ ĠHelp Message (" ench ants Ġ[ help | toggle | status ]", Ġ" Toggle Ġen ch ants ", ĠPermissions . EN CHANT S . perm ), ĊĠĠĠ ĠHelp Message (" attributes Ġ[ help | toggle | status ]", Ġ" Toggle Ġattributes ", ĠPermissions . ATTRIBUTES . perm ), ĊĠĠĠ ĠHelp Message (" van ishing Ġ[ help | toggle | status ]", Ġ" Toggle Ġvan ishing ", ĠPermissions . V AN ISH ING . perm ), ĊĠĠĠ ĠHelp Message (" binding Ġ[ help | toggle | status ]", Ġ" Toggle Ġbinding ", ĠPermissions . BINDING . perm ), Ċ ) Ċ Ċ fun ĠCommand Sender . has Permission ( permission : ĠPermissions ): ĠBoolean Ġ= Ġhas Permission ( permission . perm ) Ċ Ċ fun ĠCommand Sender . send Help Message ( label : ĠString , Ġerror : ĠError Type ? Ġ= Ġnull , Ġpage : ĠInt Ġ= Ġ 1 ) Ġ{ ĊĠĠĠ Ġshow Help Message ( label , Ġerror ?. description , Ġpage , Ġcommands , Ġplugin ) Ċ }