Помогите ItemJoin выдает все предметы

Sivert

Активный участник
Пользователь
Баллы
66
Ник в Minecraft
SIVERT
В плагине ItemJoin делаю 2 предмета
В PermissionEX выдаю группе Fly право на выдачу предмета но почему-то выдает сразу 2 предмета... Помогите
Вот ItemJoin (item.yml)
Код:
# --{ =-=-=-=-=-=-=-=-=-= ItemJoin's Custom Item Configurations, by RockinChaos =-=-=-=-=-=-=-=-=-= }--
# See the tutorial page for a more in-depth explanation; https://github.com/RockinChaos/ItemJoin/wiki
# Join the discord for easy plugin support; https://discord.gg/D5FnJ7C
#
# Modifying this will cause this file to break and regenerate.
items-Version: 8
items-Delay: 2
items-Overwrite: false
items-Spamming: false
items-RestrictCount: false
items:
  speed:
    id: heart_of_the_sea
    slot: 8
    permission-node: 'itemjoin.speed'
    name: '&bМеню скорости'
    interact:
    - 'player: spee'
    itemflags: glowing, placement, inventory-modify, item-store, cancel-events, death-drops, self-drops, inventory-close, item-modifiable, move-next, give-next
    triggers: join, respawn
    enabled-worlds: world
  fly:
    id: heart_of_the_sea
    slot: 7
    permission-node: 'itemjoin.world.fly'
    name: '&bFly'
    lore:
    - '&7Включения/Выключения полёта'
    interact:
    - 'player: fly'
    itemflags: glowing, placement, inventory-modify, item-store, cancel-events, death-drops, self-drops, inventory-close, item-modifiable, move-next, give-next
    triggers: join, respawn
    enabled-worlds: world

Вот PermissionEX:
Код:
groups:
  what:
    options:
      default: true
    permissions:
    - deluxemenus.class
  default:
    permissions:
    - modifyworld.*
    - chatex.allowchat
    - chatex.chat.global
    - chatex.chat.color
    - deluxemenus.admin
  people:
    options:
      default: false
      suffix: '&6Человек'
    inheritance:
    - default
    permissions:
    - deluxemenus.admin
  fly:
    options:
      default: false
      suffix: '&aFlyers'
    inheritance:
    - default
    permissions:
    - splugin.fly
    - itemjoin.world.fly
  invis:
    options:
      default: false
      suffix: '&bНевидимка'
    inheritance:
    - default
    permissions:
    - splugin.vanish
  speed:
    options:
      default: false
      suffix: '&bFlash'
    inheritance:
    - default
    permissions:
    - itemjoin.speed
    - splugin.speed
  owner:
    permissions:
    - '*'
schema-version: 1
users:
  a502cd6e-2d0e-3fb5-ba44-67bf123f5451:
    group:
    - fly
    options:
      name: SIVERT
 
добавь во fly вот это:
Код:
- -itemjoin.speed #она запрещает этот предмет
 
В плагине ItemJoin делаю 2 предмета
В PermissionEX выдаю группе Fly право на выдачу предмета но почему-то выдает сразу 2 предмета... Помогите
Вот ItemJoin (item.yml)
Код:
# --{ =-=-=-=-=-=-=-=-=-= ItemJoin's Custom Item Configurations, by RockinChaos =-=-=-=-=-=-=-=-=-= }--
# See the tutorial page for a more in-depth explanation; https://github.com/RockinChaos/ItemJoin/wiki
# Join the discord for easy plugin support; https://discord.gg/D5FnJ7C
#
# Modifying this will cause this file to break and regenerate.
items-Version: 8
items-Delay: 2
items-Overwrite: false
items-Spamming: false
items-RestrictCount: false
items:
  speed:
    id: heart_of_the_sea
    slot: 8
    permission-node: 'itemjoin.speed'
    name: '&bМеню скорости'
    interact:
    - 'player: spee'
    itemflags: glowing, placement, inventory-modify, item-store, cancel-events, death-drops, self-drops, inventory-close, item-modifiable, move-next, give-next
    triggers: join, respawn
    enabled-worlds: world
  fly:
    id: heart_of_the_sea
    slot: 7
    permission-node: 'itemjoin.world.fly'
    name: '&bFly'
    lore:
    - '&7Включения/Выключения полёта'
    interact:
    - 'player: fly'
    itemflags: glowing, placement, inventory-modify, item-store, cancel-events, death-drops, self-drops, inventory-close, item-modifiable, move-next, give-next
    triggers: join, respawn
    enabled-worlds: world

Вот PermissionEX:
Код:
groups:
  what:
    options:
      default: true
    permissions:
    - deluxemenus.class
  default:
    permissions:
    - modifyworld.*
    - chatex.allowchat
    - chatex.chat.global
    - chatex.chat.color
    - deluxemenus.admin
  people:
    options:
      default: false
      suffix: '&6Человек'
    inheritance:
    - default
    permissions:
    - deluxemenus.admin
  fly:
    options:
      default: false
      suffix: '&aFlyers'
    inheritance:
    - default
    permissions:
    - splugin.fly
    - itemjoin.world.fly
  invis:
    options:
      default: false
      suffix: '&bНевидимка'
    inheritance:
    - default
    permissions:
    - splugin.vanish
  speed:
    options:
      default: false
      suffix: '&bFlash'
    inheritance:
    - default
    permissions:
    - itemjoin.speed
    - splugin.speed
  owner:
    permissions:
    - '*'
schema-version: 1
users:
  a502cd6e-2d0e-3fb5-ba44-67bf123f5451:
    group:
    - fly
    options:
      name: SIVERT

Несильно по теме, а зачем группе Человек право "deluxemenus.admin"?

А по теме, посмотри документацию ItemJoin, залезь в конфиг и найди там модуль "Permissions:", поменяй там что-то, поэкспериментируй, я лично не пробывал пока-что такое делать. Удачи, если помог - закрой тему.
 
Назад
Верх Низ