/jobs shop \ "can´t open this page" #64


Open
  • Forge_User_64399207 created this issue Oct 16, 2018

    hey guys ! before you continue : (im from germany, sorry for my english :P)

     

    so at first i tried to add a new item in the shop of the plugin (/jobs shop)

    i tried with replacing the wooden shovel with my item so i used the permission of the wooden shovel but replaced the item and enchantings and the required jobs level and then i reloaded the server and writed /jobs shop and then i got a message "cant open this page" i remember that before i replaced this shovel i played with the jobs.sqlite.db file but i dont know what i made wrong that i cant open this shop after that message i went back to the shopitems file and replaced my item back to the wooden shovel. it dont work ... please help me

     

     

    so this is my shopitems file

     

    Items:
      SuperPickAxe:
        # (REQUIRED) Item price in Jobs Points
        Price: 10000.0
        Icon:
          # (REQUIRED) Icon item id
          Id: 278
          # (Optional - Default: 0) Icon item data value
          Data: 0
          # (Optional - Default: 1) Icon item amount
          Amount: 1
          # (Optional) Icon name. Supports usual color codes
          Name: "&eBest pick axe ever!"
          # (Optional) Icon lore. Supports usual color codes
          Lore:
          - "&6Efficiency V"
          - "&6Unbreaking III"
          - "&eAnd one tasty apple!"
          # (Optional - default: false) Hides icon if player dont have permission to get this item
          HideWithoutPermission: true
        # (Optional) List of permissions required to buy this item
        RequiredPermission:
        - jobs.item.pickaxe
        # (Optional) List of jobs and levels to buy this item
        RequiredJobLevels:
        - Miner-50
        - Woodcutter-10
        # (Optional) Total level from all jobs player currently in
        RequiredTotalLevels: 100
        # (Optional) Performs comands on item purchase
        # use 'msg ' at start of command to send nice message to player
        # all other commands will be performed normaly as they would be executed from console
        # use [player] variable to include buyers name
        PerformCommands:
        - "msg &eThanks for buying this super pick axe!"
        # (Optional) Gives items by defined criteria
        GiveItems:
          # Can be any word
          PickAxe:
            # (Required) Item id
            Id: 278
            # (Optional - Default: 0) Item data
            Data: 0
            # (Optional - Default: 1) Item amount
            Amount: 1
            # (Optional) Item name
            Name: "&eSuper PickAxe"
            # (Optional) Item lore
            Lore:
            - "&eUber pickAxe"
            # (Optional) Item enchants
            Enchants:
            - DIG_SPEED=5
            - DURABILITY=3
          # Can be any word
          Apple:
            # (Required) Item id
            Id: 260
    WoodenShovel:
        Price: 100.0
        Icon:
          Id: 269
          Name: "&eWooden shovel"
          HideWithoutPermission: true
        RequiredPermission:
        - jobs.item.shovel
        RequiredJobLevels:
        - Digger-5
        PerformCommands:
        - "msg &eThanks [player] for buying this shovel!"
        - "give [player] 269 1"
      Elytra:
        Price: 100000.0
        Icon:
          Id: 443
          Name: "&eAngel wings"
          HideWithoutPermission: true
        RequiredPermission:
        - jobs.item.elytra
        PerformCommands:
        - "msg &eThanks [player] for buying Angel Wings!"
        # (Optional) Gives items by defined criteria
        GiveItems:
          # Can be any word
          Elytra:
            # (Required) Item id
            Id: 443<br /><br /><br />

     

     

  • Forge_User_64399207 edited description Oct 16, 2018

To post a comment, please login or register a new account.