Uconomy Shop Rocket Plugin for Unturned 3.0
Pull request Compare This branch is 11 commits ahead, 1 commit behind Zamirathe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Libraries .. Oct 9, 2016
Properties Handle empty input stings properly in /buy, /cost and /sell, and fix … Aug 16, 2015
lib Delete UnityEngine.dll Dec 3, 2016
.gitignore Initial commit to add default .gitIgnore and .gitAttribute files. Mar 23, 2015
CommandBuy.cs Fix Dec 23, 2015
CommandCost.cs Fix Dec 23, 2015
CommandSell.cs Fix Dec 23, 2015
CommandShop.cs .. Nov 4, 2016
DatabaseMgr.cs Updated for Uconomy and Rocket Oct 13, 2015
LICENSE Release Mar 23, 2015
README.md .. Oct 8, 2016
ZaupShop.cs .. Nov 4, 2016
ZaupShop.csproj .. Oct 8, 2016
ZaupShop.sln Updated sln Jun 3, 2015



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 3 commands: /shop, /cost, and /buy. /cost and /buy are meant to be used by everyone that has permissions for them. Just put the command in the permissions file for the group. /shop is meant for admins only, but is not limited to that. You can add groups to have the ability to use this command by adding shop in their group of commands and one or more of the following: shop.add (adding to the shop), shop.rem (removing from the shop), shop.chng (changing costs), or shop.* (all 3) to the group permissions.

Usage: /buy ./amount: This will use the same name to id find as /i. i stands for item, v stands for vehicle. Amount is only available for items and is optional, default is 1. /cost .: Same as above but will display the user the cost of asked for item/vehicle. /shop /./: This is the most complicated as it has multiple options. add (Adding), rem (Removing), chng (Change cost), i for Item and v for Vehicle and is required, itemids only (no names) for this command and one is required. Cost is not required for rem, but is required for the other two.

Only /shop can be run from both the console and in game.

Requirements: Uconomy Mysql

This will run off the same database as Uconomy, but just create 2 new tables for the items and vehicles in the shop to be stored in. The tables are created blank. An admin, or someone with ability to use /shop, will have to add the items/vehicles. These can only be added one at a time through the command. If you can access the table with something like phpmyadmin, feel free to add them in mass that way.