TShop
What is this?
This is the source code of a .NETFramework library written in C#. This library is a plugin made for Unturned 3.24.x+ servers.
Description
An user-friendly item and vehicle shop plugin supporting async (mysql) database.
Features
- Customizable item shop
- Customizable vehicle shop
- Custom HUD
- Discount system
- Async SQL Database
- Supports economy plugins that are based on Uconomy
Requirements
Commands
| - means or
[] - means required
<> - means optional
Player Commands
/buy [itemID | itemName]
Description: Buys a specific amount of item(s).
Permission(s): tshop.commands.buy.item
/buyvehicle [vehicleID]
Description: Buys a specific vehicle.
Permission(s): tshop.commands.buy.vehicle
/cost [itemID]
Description: Checks the cost of a specific item.
Permission(s): tshop.commands.cost.item
/costvehicle [vehicleID]
Description: Checks the cost of a specific vehicle.
Permission(s): tshop.commands.cost.vehicle
/sell [itemID]
Description: Sells a specific amount of item(s).
Permission(s): tshop.commands.sell.item
/sellvehicle
Description: Sells the current vehicle.
Permission(s): tshop.commands.sell.vehicle
/shop
Description: Opens the UI.
Permission(s): tshop.commands.shopui
Admin Commands
/itemshop add [item name | id] [buycost] [sellcost]
Description: Manages the item shop.
Permission(s): tshop.commands.itemshop, tshop.commands.itemshop.add
/itemshop remove [item name | id]
Description: Manages the item shop.
Permission(s): tshop.commands.itemshop, tshop.commands.itemshop.remove
/itemshop update [item name | id] [buycost] [sellcost]
Description: Manages the item shop.
Permission(s): tshop.commands.itemshop, tshop.commands.itemshop.update
/vehicleshop add [vehicle name | id]
Description: Manages the vehicle shop.
Permission(s): tshop.commands.vehicleshop, tshop.commands.vehicleshop.add
/vehicleshop remove [vehicle name | id]
Description: Manages the vehicle shop.
Permission(s): tshop.commands.vehicleshop, tshop.commands.vehicleshop.remove
/vehicleshop color [vehicle name | id] [hexColor]
Description: Manages the vehicle shop.
Permission(s): tshop.commands.vehicleshop, tshop.commands.vehicleshop.color
/vehicleshop update [vehicle name | id]
Description: Manages the vehicle shop.
Permission(s): tshop.commands.vehicleshop, tshop.commands.vehicleshop.update
/migratezaupdb [itemtablename] [vehicletablename]
Description: Migrates data from the database of the zaupshop plugin.
Permission(s): tshop.commands.migratezaupdb