1. Hey,
    The mod is great but when I buy and I get a list of all the items for example /buy rifle ammo i get the list. I do /buy 5.56 rifle ammo 23 and I still get the list even doe I specified. Can you please help me
     
  2. Some items have 2 words.. like "Dog Food" if you write Dog Food it can show you Dog Can, Dog Food, Dog Cat.. for example..
    So you need to use quotation marks like /buy "Dog Food" 5
    About the 5.56 you dont need quotation marks because its the only one item that starts with 5.56 so you can just type /buy 5.56 5
     
  3. everytime i reload the plugin to change my prices, it still change back to default 0 settings.... no effect when i change New Pricelist to true
     
  4. Wulf

    Wulf Community Admin

    Make sure you are editing the config properly. You can verify it using jsonlint.com.
     
  5. yeah i change it ^^ what i must do when i don't want an item aviable in the shop? Delete from basic list, pricelist or just set to false instead of any price? I've delete all lines with items i don't want....maybe thats the reason?

    can i make 0.05 prices or only full numbers like 10 or 4?

    //edit: solved thx
     
    Last edited by a moderator: Jul 10, 2015
  6. Does anyone have a config file with prices all set? having this load with $0 cost for everything on an active server is not good.

    ideally you should make everything cost 1000000 and sell of 0 and BP default to False so they can't be purchased. that won't catch an admin off guard :)
    [DOUBLEPOST=1436713553][/DOUBLEPOST]Can you please explain the "Generated" section? how do I configure? example below for SMG:

    "109554112": [
    0,
    0,
    0,
    "Custom SMG"
    [DOUBLEPOST=1436713598][/DOUBLEPOST]Also, some items do not exist or are used like Bed or Battery, how do I set them to not be available? for that matter how can I mark an item that can be sold to but not purchased?
    [DOUBLEPOST=1436718355][/DOUBLEPOST]ok I think I figured out the Generated section:

    "109554112": [
    0, Buy Price - can be set to false if no buy price
    0, Sell Price - can be set to false if no sell price
    0, BP Price - can be set to false if no BP price
    "Custom SMG"
    [DOUBLEPOST=1436748117,1436713213][/DOUBLEPOST]Can I use fraction like sell wood for 0.5 or 0.1 (assuming .1 + .9 = 1 UNIT
     
  7. Look - On my Server the can only sell Ressources. So people can create an Shop-Clan and farming money. They also buy ressources from other players for more money as the shop :)

    Code:
      "PriceList": {
        "base": {
          "Animal Fat": 1,
          "Charcoal": 0.001,
          "Cloth": 1,
          "Low Grade Fuel": 1.3,
          "Metal Fragments": 1.8,
          "Metal Ore": 0.8,
          "Stones": 1,
          "Sulfur": 1.2,
          "Sulfur Ore": 0.6,
          "Wood": 0.05
        },
        "generated": {
          "-1057903190": [
            false,
            0.8,
            false,
            "Metal Ore"
          ],
          "1436001773": [
            false,
            0.001,
            false,
            "Charcoal"
          ],
          "28178745": [
            false,
            1.3,
            false,
            "Low Grade Fuel"
          ],
          "-351194901": [
            false,
            1.8,
            false,
            "Metal Fragments"
          ],
          "3655341": [
            false,
            0.05,
            false,
            "Wood"
          ],
          "890858652": [
            false,
            0.6,
            false,
            "Sulfur Ore"
          ],
          "-891243783": [
            false,
            1.2,
            false,
            "Sulfur"
          ],
          "-892070738": [
            false,
            1,
            false,
            "Stones"
          ],
          "94756378": [
            false,
            1,
            false,
            "Cloth"
          ]
     
  8. Interesting, that might be the way to go - keep it simple. Please explain PriceList, I understand Generated but not pricelist.
     
  9. I also had problems setting up the shop, but I found out that deleting the part between "base" till "generated" does not mess up your list and lets you edit all prices by hand. This take some time, but removes all problems I had before.

    But I do wonder how I get my items to show up in the first few /bsl pages.
    Now my first page have 6 items each, my second page i got 2 items, my third page has nothing, my fourth page has 1 item, etc.
    Edit: Server restart fixed the problem.
     
    Last edited by a moderator: Jul 25, 2015
  10. Guys, I beg you, HELP to make sure that it was possible to control the precedence of display in the store list. For example, I want to make that first listed there were tools, then weapons nextbehind them ammunition and etc. I cant look normal at the mess which is going out there right now(. Will be very greateful.

    PLEASE! =(.
     
  11. +1 !!!
     
  12. Is this thing still supported? If we /buy "5.56 Rifle Ammo" 10 - it just gives us the possible matches to "5.56 Rifle Ammo".
     
  13. Wulf

    Wulf Community Admin

    Have you tried using ammo_rifle instead?
     
  14. Or use "5.56" so it finds the item :p Thats how i was doing it all these months.
     
  15. this plugin need alooot of documentation. i like it alot, but damn its hard to set up.. what do i do if i want to sell low grade fuel? its not it the base price list. it however looks like this below
    Code:
          "28178745": [
            0,
            0,
            0,
            "Low Grade Fuel"
          ],
    what are the syntax for it? its not described anywhere. what lines do define what? also, what do i do if i dont want to sell blueprints?


    Edit. i firgured it out. low grade fuel is automaticly set by the base price :) but i still dont know how to disable blue prints
     
    Last edited by a moderator: Aug 5, 2015
  16. EN:Bug:
    free buy
    /buy thompson .1
    /buy "name" .1
    RU:
    Баг на бесплатную покупку чего угодно:
    /buy "название" .1
     
  17. Hey no updat to Shop efter Rust updat ?????
     
  18. Yeah my shop isn't working at all either. I'm going to try to generate a new price list and see if that changes anything.

    edit- yeah no dice. Still get error: [Oxide] 8:07 AM [Error] Failed to call hook 'C_Buy' on plugin 'Shop'
    Then: File: Shop.lua Line: 189 Object reference not set to an instance of an object:

    edit2- Ok I deleted my shop config and reloaded it. I found that a lot of items were listed twice. Must be a result of changing item IDs. I was able to regenerate the price list and it appears to be working now. The exploit where you can buy .1 amount for no cost is still in effect. Any help on that?
     
    Last edited by a moderator: Aug 7, 2015
  19. Plugin not working. I tried what above said but not working for me no way i can re copy old config to new re install. alot of prices have to be changed from 0 to what i had before.
     
  20. yeah - it appears some item IDs have changed. You need to delete your price list and generate a new one. (Don't try to set prices for each item individually... set a price for the base items (between 1-100 depending on how good the item is, and set the "New_Price_List" under the "Generate" heading to true. I promise, your prices will be good and the mod will start working.