/TradeSystem

Player trade system for spigot-1.20.1

Primary LanguageJavaApache License 2.0Apache-2.0

Trade System

Trade items and coins with other players in a safe way!

Server requirements (optional*):

  • spigot 1.20.1
  • java 1.17
  • Coin system*
  • MySQl*

Installation (plug and play):

  1. Put the .jar file into your plugins folder
  2. Run your server -> done

Coins interface:

interface:
  enabled: true
  type: 'config'
  mysql:
    url: 'localhost'
    port: 3306
    database: 'test'
    user: 'root'
    password: ''
    table:
      name: 'CoinSystem'
      columns:
        uuid: 'PlayerUUID'
        coins: 'Coins'
  config:
    path: 'plugins/CoinSystem'
    file: 'database.yml'
    item: 'Coins.%uuid%'

You must already have a coin system to be able to use the coin trade function. The player's 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.name The table name where the coins are stored
  • table.columns.uuid The column name of player uuid
  • table.columns.coins The column name of coins

Config:

  • path The path to the coin database file
  • name The name of the file
  • item The YAML item path

Functions:

  • Trade items with other players
  • Trade coins with other players
  • GUI trading

Permission:

  • tradesystem.use

Download:

https://www.spigotmc.org/resources/trade-system-1-20-x-spigot.115765/