check player permission / deluxemenu (1.13)

Discussion in 'Spigot Plugin Help' started by minecraft7net, Aug 14, 2018.

  1. minecraft7net

    Supporter

    Hi,

    do you have idea how or it will still work on 1.13?

    i have deluxemenu that check if player has permission but on 1.13 it seems not work.

    view_requirement: BukkitPlayer.hasPermission("members.4");

    i'm using PermissionEx for 1.13
     
  2. if ure using dm v1.9.2 then i suggest to upgrade to the latest version and the new requirements syntax:
    Code (YAML):
    view_requirements:
      requirement
    :
        name
    :
          type
    : has permission
          permission
    : members.4
    u still can use the old syntax but for view requirements u will have to add expression: so like this
    Code (YAML):
    view_requirement:
      expression
    : BukkitPlayer.hasPermission("members.4");
     
    • Winner Winner x 1