
GUI Shop
GUI Shop based on Economics. Supports NPC
Total Downloads: 11,484 - First Release: Aug 29, 2015 - Last Update: May 3, 2018
- 5/5, 38 likes
-
"buy": "0",
"cmd": ["inv.giveplayer $player.userID kit 14179"],
you added it as a givekitcmd, so the skinned item is actually provided by Kits plugin, i dont want to add 137 kits, thats just a nasty workarround in my opinion. Especially since SR provides a awesome Datafile to edit your items -> see 'serverrewards_rewards.json' some posts above,
"DisplayName": "Dreamcatcher", //choose any name
"URL": "http://....
"ID": -55660037, //Item-ID -> Oxide API for Rust
"Amount": 1,
"Skin": 10117, //Skin-ID -> Oxide API for Rust -
I add Skin ony by one such as item in my shop ^^'
But i don't add a kit for each skin. -
-
I don't add the kit ^^'
-
Reduce for VIP don't work ?
-
Can anyone help me out with my json file please? I ran it through the JSON Validator and came up with nothing. It's not woking on my NPCs and when I restart my server it sets the file back to default. Any help would be greatly appreciated.
Attached Files:
-
-
is it possible to have something like this but without an economics plugin?
-
Angry, if the default file is loaded it's cause you do an error on your config. Please check if you put all extras such as: ' " ", ...
Orion, i don't know -
]
}
}
} -
Let me see your config file when i have the time, please.
-
Thanks man. I appreciate any help you can give when you have time.
Attached Files:
-
-
Fixed, please see it
Attached Files:
-
-
-
No problem, don't hesitate to contact me if you want
-
Right i have set up my json file but i am struggleing to get it to work with a npc it says
(17:30:46) | [Oxide] 11:33 [Error] GUIShop v1.4.1: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path '['Shop - Shop Categories']', line 384, position 3.)
(17:30:46) | [Oxide] 11:33 [Info] [GUIShop] ShopCategory: Build Kit Unknown item: kitbuild
when i try to reload itAttached Files:
Last edited by a moderator: Oct 16, 2016 -
-
Got a question, sorry if it has already been answered! Is there a way to link the shop to a user's balance ? for example when someone buys from the shop, i don't want that money used to disappear, i want it to go to another players account - if that's possible.
-
Idk British :/Attached Files:
-
-
Set up my json file, sat on this for about 30 mins trying to figure out how its not working, gone to the path stated, and theres nothing thats out of place or not suppose to be there, as i look at the default config, and the video tutorial as a guide, but i still get this whenever i type oxide.reload GUIShop in web console, then once it does that, it goes back to default config:
[Oxide] 23:13 [Error] GUIShop v1.4.1: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path '['Shop - Shop List'].1234567.buy[24]', line 332, position 9.)
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
[Oxide] 23:13 [Info] [GUIShop] ShopCategory: Build Kit Unknown item: kitbuild
Any thoughts?Attached Files:
-
-
Can you try it please
Attached Files:
-