- Tested Minecraft Versions:
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
SafeTrade - Inventory based tradingSafeTrade is a plugin that makes trading a lot more safe. You trade using an inventory gui. The trade consists of two steps:
Example Trade
- In the first step you put your items (and money) in the inventory. Your partner does the same. When you put all items you want to trade in the inventory, you have to change your status to ready. When both traders are ready it's time for step 2.
- In the second step you can decide whether you want to accept the offer of your partner or not. In this step the partner (and you) can no longer change his offer. When both traders accept the trade, they get the items (and money) the other player offered.
Supported Versions
Please use the following list to choose the correct SafeTrade version for your server:
It is important, that you use the correct SafeTrade version or the plugin will not work!
- Minecraft 1.16.x or newer: SafeTrade 1.1.1
- Minecraft 1.13.x - 1.15.x: SafeTrade 1.1.0
- Minecraft 1.8.x - 1.12.x: SafeTrade 1.0.16
Commands
- /trade <player>
Description: Request <player> to trade with you. After that <player> has to accept your trade.
Permission: safetrade.request- /trade accept
Description: Accepts the last trade request. A trade request expires after 30 seconds!
Permission: safetrade.accept
- /trade deny
Description: Denies the last trade request.
Permission: safetrade.deny
- /trade reload
Description: Reloads the configuration files.
Permission: safetrade.reload
- /trade help
Description: Shows a list with all command the player is allowed to use.
Configuration
The plugins works "Out of the box" (besides permissions). Of course there are some things, you can configurate. The config.yml contains lot's of comments explaining each option in detail.
Code (YAML):
######################################################################
######################################################################
### _____ __ _______ _ ###
### / ____| / _||__ __| | | ###
### | (___ __ _| |_ ___| |_ __ __ _ __| | ___ ###
### \___ \ / _` | _/ _ \ | '__/ _` |/ _` |/ _ \ ###
### ____) | (_| | || __/ | | | (_| | (_| | __/ ###
### |_____/ \__,_|_| \___|_|_| \__,_|\__,_|\___| ###
### by BtoBastian ###
######################################################################
######################################################################
# Main settings #
######################################################################
# Already translated languages: en, de #
# Format: You must use IETF BCP 47 language tags. #
# To translate the plugin yourself, you must create a #
# Messages_language.properties file . #
######################################################################
language: "auto"
######################################################################
# Some languages may need an other charset. The default encoding #
# is UTF-8 which supports most common languages. If some characters #
# of your own translation get replaced with strange characters or #
# question marks you should try to change the encoding (e.g. UTF-16) #
# Of course you must encode the Messages-file, too. #
######################################################################
encoding: "UTF-8"
######################################################################
# Should it be allowed to trade with money? #
######################################################################
tradeWithMoney: true
######################################################################
# Is it forbidden to get run into debt? #
######################################################################
noDebts: true
######################################################################
# How many blocks can players be away to trade? #
# Set this to -1 if you don't want a maximum trading distance. #
######################################################################
maxTradingDistance: 15
######################################################################
# Should it be allowed to trade with players in other worlds? #
# If this is set to true, maxTradingDistance will have no effect! #
######################################################################
tradeThroughWorlds: false
######################################################################
# Should the players be able to start a trade by right clicking the #
# other player while sneaking? #
######################################################################
fastTrade: false
######################################################################
# The values used for the "Adds/Removes xyz money" buttons. #
######################################################################
smallMoneyValue: 1
mediumMoneyValue: 10
largeMoneyValue: 100
Code (YAML):
######################################################################
######################################################################
### _____ __ _______ _ ###
### / ____| / _||__ __| | | ###
### | (___ __ _| |_ ___| |_ __ __ _ __| | ___ ###
### \___ \ / _` | _/ _ \ | '__/ _` |/ _` |/ _ \ ###
### ____) | (_| | || __/ | | | (_| | (_| | __/ ###
### |_____/ \__,_|_| \___|_|_| \__,_|\__,_|\___| ###
### by BtoBastian ###
######################################################################
######################################################################
# Design settings (materials in inventory) #
######################################################################
# This file allows you to change the design of the trading inventory #
# Format: Items just use the name of the item. #
# A list with all available items can be found here: #
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html #
# You can omit underscores and write in lower case #
######################################################################
# IMPORTANT: Only modify the style.yml file. The style_original.yml #
# file will be overwritten on every server restart! It is #
# used as a fallback when new fields are introduced or #
# materials get deprecated. #
######################################################################
# The item which is used to separate the right and left part of the #
# trading inventory. #
# Default value: "iron bars" #
######################################################################
seperator: "iron bars"
######################################################################
# The buttons which are used to add/remove money. #
# Default values: #
# small: "gold nugget" #
# medium: "gold ingot" #
# large: "gold block" #
# clear money: "barrier" #
######################################################################
smallMoney: "gold nugget"
mediumMoney: "gold ingot"
largeMoney: "gold block"
clearMoney: "barrier"
######################################################################
# The icon which is used to show the amount of offered money. #
# Default values: #
# small: "gold nugget" #
# medium: "gold ingot" #
# large: "gold block" #
# very large: "diamond" #
# very very large: "diamond block" #
# no money: "barrier" #
######################################################################
smallMoneyOffered: "gold nugget"
mediumMoneyOffered: "gold ingot"
largeMoneyOffered: "gold block"
veryLargeMoneyOffered: "diamond"
veryVeryLargeMoneyOffered: "diamond block"
noMoneyOffered: "barrier"
######################################################################
# The item which are used to accept or abort a trade #
# Default values: #
# mark as ready: "lime wool" #
# accept trade: "lime wool" #
# abort trade: "red wool" #
######################################################################
markAsReady: "lime wool"
acceptTrade: "lime wool"
abortTrade: "red wool"
######################################################################
# The item which shows if the partner is (not) ready/has accepted #
# Default values: #
# partner ready: "lime dye" #
# partner not ready: "gray dye" #
# partner accepted: "lime dye" #
# partner not accepted: "gray dye" #
######################################################################
partnerReady: "lime dye"
partnerNotReady: "gray dye"
partnerAccepted: "lime dye"
partnerNotAccepted: "gray dye"
######################################################################
# The item which shows when you ware ready (or have accepted) but #
# your partner is not ready (or has not accepted) yet. #
# Default values: #
# ready and wait for partner: "lime stained glass pane" #
# accepted and wait for partner: "lime stained glass pane" #
######################################################################
readyAndWaitForPartner: "lime stained glass pane"
acceptedAndWaitForPartner: "lime stained glass pane"
Stats
You can view all stats at: https://bstats.org/plugin/bukkit/SafeTrade
Useful links
GitHub: https://github.com/BtoBastian/SafeTrade

SafeTrade 1.1.1
A simple inventory based trading plugin
Recent Updates
- Version 1.1.1 Nov 8, 2020
- SafeTrade 1.1.0 Oct 13, 2018
- SafeTrade 1.0.16 Jul 22, 2018