ZaupShop

A simple shop using the chat line. This allows you to have a shop for players to use Uconomy currency to buy items and vehicles. Buying vehicles is turned off by default.

There are these commands:

/shop 
/cost 
/buy
/sell

The /shop command is meant for admins only.

Usage:

  • /buy [v.]<item name or id>/[amount] – This will use the same name to id find as /i. Use v for vehicles. Amount is only available for items and is optional, default is 1.
  • /cost [v.]<item name or id> – Same as above but will display the user the cost of asked for item/vehicle as well as the sell cost if there is one (sell cost for magazines and ammunition boxes is for full capacity not individual bullets).
  • /sell <item name or id>/[amount] – This will allow you to sell items (no vehicles) back to the shop. If QualityCounts is set to true, the quality of the item will determine how much of the price is received. If buyback is 1.00 and quality is 45%, you’ll receive 0.45 for example. For magazines and ammunition boxes, it will buy back individual bullets. Quality isn’t used here as there is none. So if you want to sell a full military ammo box of 40, you’ll do /sell military ammunition/40.
  • /shop <add/rem/chng/buy>/[v.]<itemid>/<cost> – This is the most complicated as it has multiple options. add (Adding), rem (Removing), chng (Change cost), buy (Buyback amount), v is needed if dealing with vehicles. Itemids only (no names) for this command and one is required. Cost is not required for rem, but is required for the others. You do have to add the buyback amount separately from the add or chng.
Last modified on 22 June 2022, at 10:07