Permission

Discussion in 'Bukkit Help' started by zaur005, Dec 20, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    zaur005

    Hi !
    I am new to build bukkit server . I d'know a lot of thing about permissions,scripts and etc
    I want to make a simple teleport gui with chestcommands . I used vanilla teleport command
    Default players writing /menu command then : chestcommands.open.main-menu.yml - permission needed
    message showing . I added this permission default group and it`s worked :) But this give an other permission error when players click teleport . What permission I should add ? . Please help me ...
    My main-menu.yml -->
    Code:
    ######################
    #+                  +#
    #   MENU SETTINGS    #
    #+                  +#
    ######################
    
    menu-settings:
    
      # name - appears as the title - REQUIRED
      name: '&4Chest Commands'
    
      # rows - the number of rows of the chest - REQUIRED
      rows: 3
    
      # command - OPTIONAL (you can remove this or set it to '')
      command: 'menu'
    
      # open-with-item - OPTIONAL (you can remove this or
      # set the item-id/data-value to 0)
      # In this case it will open with a book (right click)
      open-with-item:
        item-id: 340
        left-click: false
        right-click: true
    #   data-value: 0
    
    ######################
    #+                  +#
    #       ITEMS        #
    #+                  +#
    ######################
    
    lobby:
      COMMAND: 'tp %player% -33 5 5'
      NAME: 'Lobby'
      LORE:
        - 'Lobby-e isinlar'
        - '~Tikla~'
      ID: 345
      POSITION-X: 5
      POSITION-Y: 2
    
    pvparena:
      COMMAND: 'tp %player% 8000 5 8000'
      NAME: '&4PvP Arena'
      LORE:
        - 'Arenaya isinlar'
        - '~Tikla~'
      ID: 267
      POSITION-X: 8
      POSITION-Y: 2
    
    ench:
      COMMAND: 'tp %player!% 1000 5 1000'
      NAME: '&5Enchant odasi'
      LORE:
        - 'Buyu odasina isinlar'
        - '~Tikla~'
      ID: 116
      POSITION-X: 2
      POSITION-Y: 2
    
    ench+:
      COMMAND: 'tp %player% 1000 5 990'
      NAME: '&5Enchant odasi +'
      LORE:
        - 'Buyu odasi plus-a isinlar'
        - '~Tikla~'
      ID: 116
      POSITION-X: 9
      POSITION-Y: 2
      ENCHANTMENT: efficiency,1
    
    arsa:
      COMMAND: 'tp %player% 5001 5 5001'
      NAME: '&8Arsalar'
      LORE:
        - 'Arsalara isinlar'
        - '~Tikla~'
      ID: 381
      POSITION-X: 6
      POSITION-Y: 2
    
    lapis:
      COMMAND: 'tp %player% 7002 243 7000'
      NAME: '&9Lapis'
      LORE:
        - 'Lapis Madenine isinlar'
        - '~Tikla~'
      ID: 22
      POSITION-X: 4
      POSITION-Y: 2
    
    hammadde:
      COMMAND: 'tp %player% 1998 248 2001'
      NAME: '&6Hammadde'
      LORE:
        - 'Hammadeye isinlar'
        - '~Tikla~'
      ID: 265
      POSITION-X: 7
      POSITION-Y: 2
    
    shop:
      COMMAND: 'tp %player% 9000 5 9000'
      NAME: '&2Market'
      LORE:
        - 'Markete isinlar'
        - '~Tikla~'
      ID: 388
      POSITION-X: 3
      POSITION-Y: 2
     
  2. Offline

    Cervisial

    If you are using the vanilla teleport command, players cannot regularly teleport without having cheats being enabled. I'm pretty sure that this plugin has the player who clicked on the item execute the command you specified, so if they did not have cheats enabled, they could not do it. I would recommend you set this up with warps in EssentialsX, which the download and plugin page can be found by clicking here.

    I hope this helps you out, and if you are still having issues after trying out this solution, please do not hesitate to make another reply to this post and ask for more help. I'd be more than happy to give it.
     
Thread Status:
Not open for further replies.

Share This Page