Skript Development./ Lores

Discussion in 'Spigot Plugin Development' started by Deadlyrock, Jul 29, 2018.

  1. I'm currently using crazyenchants. And I'm just trying to make a skript so if the name of Nether star is "&2test" you cannot drag and drop or enchant it on to a special named Axe with custom named lore.

    Heres my Code.

    on inventory click:
    set {_item} to cursor item of player
    if "%clicked item%" is "nether_star":
    if "%name of clicked item%" is "&b&lDizzy I":
    if "%clicked action%" is "swap with cursor":
    if {_item} is a sword or axe:
    cancel event
  2. Please move the thread to the right section, this is plugin development not skript development.
    This should be here