Skip to content

TavstalDev/TShop2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TShop

Release (latest by date) Workflow Status License Downloads Issues

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

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

Admin Commands

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

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.

Contact

For issues or feature requests, please use the GitHub issue tracker.

About

High-performance item and vehicle shop plugin for Unturned 3, featuring async SQL storage.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages