Selling Shop not working. IDs are from mods #128


  • New
  • Defect
Open
  • _ForgeUser13107431 created this issue Mar 3, 2014

    Short description about the bug/problem:
    I am trying to sell some items from a mod "Pixelmon" I the format right but is not working.

    What steps will reproduce the problem?
    1. Mod support?
    2. Better BugFinder, one that will tell you all the errors at once, not one at a time.
    3.

    What is the expected output? What do you see instead?
    to see the gui and being able to sell the items from pixelmon. An internal Error occurred while attempting to performed this command, i looked at the bugfinder and the error is fixed but i dont see any items in the gui.

    What version of BossShop are you using?
    1.6.4 v2.0.5

    Do you have an error log of what happened? Please paste it at pastie.org!
    http://pastie.org/8848278

    Please provide any additional information below.
    Here is my sellshop file:
    http://pastie.org/8848310
    I know your plugin works with mods; I use it to have members buy pokeballs for example.

  • _ForgeUser13107431 added the tags New Defect Mar 3, 2014
  • _ForgeUser13107431 added an attachment SellTMs.yml Mar 3, 2014

    SellTMs.yml

    <p>I can't get the GUI to show any items when selling, but when buying they show it.</p>

  • _ForgeUser13107431 added an attachment SellTMs.yml Mar 3, 2014

    SellTMs.yml

    <p>I can't get the GUI to show any items when selling, but when buying they show it.</p>

  • Forge_User_74148228 posted a comment Mar 10, 2014

    When you are working with IDs, always put "id" in front of the actual id.

    Example: id:278

    In your config you use "type:<id>". Replace that with "id:<id>".

    So change

      Hone Claws TM:
        RewardType: money
        PriceType: item
        Price:
        - - name:Hone Claws TM
          - id:11256
          - amount:1
        Reward: 100
        MenuItem:
        - type: 11256
        - amount:1
        - name:&b1 Hone Claws TM
        - 'lore:&2Reward: 100 Money'
        - amount:1
        Message: '&eYou sold %price% for %reward% %rewardtype%!'
        InventoryLocation: 1
        ExtraPermission: ''
      Wide Guard TM:
        RewardType: money
        PriceType: item
        Price:
        - - type: 11257
          - amount:1
        Reward: 100
        MenuItem:
        - type:11257
        - amount:1
        - name:&b1 Wide Guard TM
        - 'lore:&2Reward: 100 Money'
        - amount:1
        Message: '&eYou sold %price% for %reward% %rewardtype%!'
        InventoryLocation: 2
        ExtraPermission: ''
    

    into

      Hone Claws TM:
        RewardType: money
        PriceType: item
        Price:
        - - name:Hone Claws TM
          - id:11256
          - amount:1
        Reward: 100
        MenuItem:
        - id:11256
        - amount:1
        - name:&b1 Hone Claws TM
        - 'lore:&2Reward: 100 Money'
        - amount:1
        Message: '&eYou sold %price% for %reward% %rewardtype%!'
        InventoryLocation: 1
        ExtraPermission: ''
      Wide Guard TM:
        RewardType: money
        PriceType: item
        Price:
        - - id:11257
          - amount:1
        Reward: 100
        MenuItem:
        - id:11257
        - amount:1
        - name:&b1 Wide Guard TM
        - 'lore:&2Reward: 100 Money'
        - amount:1
        Message: '&eYou sold %price% for %reward% %rewardtype%!'
        InventoryLocation: 2
        ExtraPermission: ''
    

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