This is the source code of a .NETFramework library written in C#. This library is a plugin made for Unturned 3.24.x+ servers.
An user-friendly item and vehicle shop plugin supporting async (mysql) database.
- Customizable item shop
- Customizable vehicle shop
- Custom HUD
- Discount system
- Async SQL Database
- Supports economy plugins that are based on Uconomy
| - means or
[] - means required
<> - means optional
These commands are for general player use.
Command Syntax | Description | Permissions |
---|---|---|
/buy [itemID | itemName] <amount> |
Buys a specified amount of an item by itemID or itemName . If <amount> is omitted, 1 item is purchased. |
tshop.commands.buy.item |
/buyvehicle [vehicleID] |
Buys the vehicle identified by vehicleID . |
tshop.commands.buy.vehicle |
/cost [itemID] |
Checks the cost of an item using its itemID . |
tshop.commands.cost.item |
/costvehicle [vehicleID] |
Checks the cost of a vehicle using its vehicleID . |
tshop.commands.cost.vehicle |
/sell [itemID] <amount> |
Sells a specified amount of an item by itemID . If <amount> is omitted, all available items are sold. |
tshop.commands.sell.item |
/sellvehicle |
Sells the vehicle you are currently occupying. | tshop.commands.sell.vehicle |
/shop |
Opens the TShop graphical user interface (GUI). | tshop.commands.shopui |
These commands are for server administrators to manage shop functionalities.
Command Syntax | Description | Permissions |
---|---|---|
/itemshop add [item name | id] [buycost] [sellcost] <permission> |
Adds a new item to the shop. Requires item name or id , buycost , sellcost , and an optional permission . |
tshop.commands.itemshop , tshop.commands.itemshop.add |
/itemshop remove [item name | id] |
Removes an item from the shop by item name or id . |
tshop.commands.itemshop , tshop.commands.itemshop.remove |
/itemshop update [item name | id] [buycost] [sellcost] <permission> |
Modifies an existing item's buycost , sellcost , and permission in the shop. |
tshop.commands.itemshop , tshop.commands.itemshop.update |
/vehicleshop add [vehicle name | id] <buycost> <sellcost> <hexColor> <permission> |
Adds a new vehicle to the shop. Requires vehicle name or id . Optional buycost , sellcost , hexColor (e.g., #AABBCC ), and permission . |
tshop.commands.vehicleshop , tshop.commands.vehicleshop.add |
/vehicleshop remove [vehicle name | id] |
Removes a vehicle from the shop by vehicle name or id . |
tshop.commands.vehicleshop , tshop.commands.vehicleshop.remove |
/vehicleshop color [vehicle name | id] [hexColor] |
Sets or updates the hexColor (e.g., #AABBCC ) of a vehicle in the shop. |
tshop.commands.vehicleshop , tshop.commands.vehicleshop.color |
/vehicleshop update [vehicle name | id] <buycost> <sellcost> <permission> |
Modifies an existing vehicle's buycost , sellcost , and permission in the shop. |
tshop.commands.vehicleshop , tshop.commands.vehicleshop.update |
/migratezaupdb [itemtablename] [vehicletablename] |
Migrates item and vehicle data from a ZaupShop database using the specified itemtablename and vehicletablename . |
tshop.commands.migratezaupdb |
/removeinvalidproducts |
Cleans the database by removing any invalid products (items or vehicles) that no longer exist in Unturned. | tshop.commands.removeinvalidproducts |
This project is licensed under the GNU General Public License v3.0. See the LICENSE
file for more details.
For issues or feature requests, please use the GitHub issue tracker.