GUI Shop

GUI Shop based on Economics. Supports NPC

Total Downloads: 11,482 - First Release: Aug 29, 2015 - Last Update: May 3, 2018

5/5, 38 likes
  1. nothing is showing up in shop for server
     
  2. It goes right around line 55. there's a section with "if (definition == null)"
     
  3. Yes! Thank you! :D
     
  4. invalid format when i copyed in to the GUIshop json
     
  5. GUIshop is not working i can't see anything and when i copy the items in to the GUIshop.json it says invalid format
     
  6. Hello, Is there a way to add a currency before your price in this plugin ? Kind regards.
     
  7. Is there any way to add a price check during start up of the plugin to make sure there isn't anything selling for more than you have to pay to buy it?
     
  8. Hello guys!
    I downloaded it and I try ed to put in some items but it won't work for me. Not even the default works. Why is that
     
  9. @Nogrod , could u add ability to set price per amount for each item, so minimal amount u can sell or buy will be amount u set in shop file and steps will be multiplication of 10, 100 and 1000. its useful when u have very cheap and very expensive items in shop. now we have to use 5-6 zeroes for some prices and people are confused with them.. also i am pretty sure it lags server a bit when lot of ppl start to sell these cheap items by clicking ‘1000’ button 100 times in a row (5x server in my case).

    also "Sell Everything(!)" button would be very handy.

    thanks for great plugin.
     
  10. I configured everything beautifully in my server. It works fine, attached different shops to different NPCs, however, when I restarted the server, the NPCs are gone. Any ideas? nothing comes up under /npc_list is there any way to save this data before restarting?
     
  11. My npcs gone too
    [DOUBLEPOST=1488917048][/DOUBLEPOST]
    My npcs gone too
     
  12. It should be doing that based on these lines:


    Code:
            void Unload()
            {
                SaveData();
            }
            void OnServerSave()
            {
                SaveData();
            }
            void OnServerShutdown()
            {
                SaveData();
            }
    If all else fails, you can log into your RCON and do
    Code:
    oxide.unload GUIShop
    which should save whatever is in memory at that time, and then restart your box. I always do this before I restart my server:

    Code:
    server.save
    oxide.unload *
     
  13. Is there anyways yo make shop categories inside the /shop menu?
    Also I would like to know how to add custom skins as I get the error "[GUIShop] ShopCategory: Tempered_AK47 Unknown item: tempered_ak47"
     

    Attached Files:

  14. I have browsed the forum without finding the answer ...
    How do I allow players to use the / shop command in a BUILDING BLOCKED area?
    Thanks.
     

  15. There are some lines of code you can comment out in this section of the code (around line 930):


    Code:
    [ChatCommand("shop")]
    void cmdShop(BasePlayer player, string command, string[] args)
    {
        if(!Shops.ContainsKey("chat"))
        {
            SendReply(player, MessageErrorNPCRange);
            return;
        }    /* Comment this section out
        if (!player.CanBuild())
        {
            SendReply(player, MessageErrorBuildingBlocked);
            return;
        }
        // To Here */    ShowShop(player, "chat");
    }
     
  16. Thanks Annasys !
    I try this today
     
  17. Anyone have a .json with all new updated items included ? I might be lazy.
     
  18. Here! This has all new stuff except the door closer. I'm waiting for the image.
     

    Attached Files:

  19. Thanks man.
     
  20. This is my attempt at calculating the prices:
    Feedback is appreciated :)
     

    Attached Files: