Home›Java›Mods›Trade System | 1.20.x | Spigot
Trade System | 1.20.x | Spigot
2024-03-23_03.18.42.png
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
3. Switching language: Paste the configurations into the specific files and restart the server
Spoiler: German Config & Messages v1.3

Coins interface:
Spoiler: Coins interface
Code (Text):
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 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

File:
- path The path to the coin database file
- file The name of the file
- item The YAML item path
- command.give The give coins command
- command.take The take coins command

Data types:
- int Your coins are stored ad integers
- double Your coins are stored as doubles

Spoiler: Interface: Essentials
Code (Text):
interface:
  enabled: true
  type: 'file'
  datatype: 'double'
  file:
    path: 'plugins/Essentials/userdata'
    file: '%uuid%.yml'
    item: 'money'
    command:
      give: 'eco give %uuid% %coins%'
      take: 'eco take %uuid% %coins%'
Spoiler: Interface: BetterEconomy
Code (Text):
interface:
  enabled: true
  #type: 'file'
  type: 'file'
  datatype: 'double'
  mysql:
    url: 'localhost'
    port: 3306
    database: 'test'
    user: 'root'
    password: ''
    table:
      name: 'economy'
      columns:
        uuid: 'uuid'
        coins: 'balance'
  file:
    path: 'plugins/BetterEconomy'
    file: 'balances.yml'
    item: '%uuid%'
    command:
      give: 'bettereconomy give %player% %coins%'
      take: 'bettereconomy take %player% %coins%'
Spoiler: Interface: TheosisEconomy
Code (Text):
interface:
  enabled: true
  type: 'file'
  datatype: 'double'
  file:
    path: 'plugins/TheosisEconomy'
    file: 'data.yml'
    item: 'players.%uuid%.balance'
    command:
      give: 'eco give %player% %coins%'
      take: 'eco take %player% %coins%'

Functions:
- Trade items with other players
- Trade coins with other players
- GUI trading

Permission:
- tradesystem.use

Spoiler: Images
2024-03-27_23.15.27.png

2024-03-23_03.02.18.png

2024-03-23_03.03.20.png

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Trade System | 1.20.x | Spigot is a free Minecraft Java mod. Compatible with Minecraft 1.20. Downloaded 953 times (via Spigot). Download it and open it directly in the game.

Explore more