Trade items and coins with other players in a safe way!
- spigot 1.20.1
- java 1.17
- Coin system*
- MySQl*
- Put the .jar file into your plugins folder
- Run your server -> done
interface:
enabled: false
type: 'mysql'
datatype: 'integer'
mysql:
url: 'localhost'
port: 3306
database: 'test'
user: 'root'
password: ''
table:
name: 'CoinSystem'
columns:
uuid: 'PlayerUUID'
coins: 'Coins'
file:
path: 'plugins/Essentials/userdata'
file: '%uuid%.yml'
item: 'money'
command:
give: 'eco give %uuid% %coins%'
take: 'eco take %uuid% %coins%'
You must already have a coin system to be able to use the coin trade function. The players coins must be stored either in a MySQl database or in a YAML file. Then it is possible to access the coins with a customisable interface.
MySQl
table.nameThe table name where the coins are storedtable.columns.uuidThe column name of player uuidtable.columns.coinsThe column name of coins
File:
pathThe path to the coin database filefileThe name of the fileitemThe YAML item pathcommand.giveThe give coins commandcommand.takeThe take coins command
Data type
intYour coins are stored as integersdoubleYour coins are stored as doubles
- Trade items with other players
- Trade coins with other players
- GUI trading
- tradesystem.use
https://www.spigotmc.org/resources/trade-system-1-20-x-spigot.115765/