← Back

Gems

GitHub Badge
Gems is a lightweight plugin for Minecraft Paper servers that lets players store and manage their in-game currency inside emerald items.
It also adds currency drops on player death, making the economy more immersive.
Gems.png
Gems.png

Quick start

/gems withdrawal <value> [count]

Parameter notation
  • <...> - required parameter
  • [...] - optional parameter
  • value - the amount of currency per emerald
  • count - number of emeralds to withdraw (optional, default: 1, max: 64)

Examples

  • /gems withdrawal 100 64 - gives 64 emeralds worth 100 currency each
  • /gems withdrawal 100 - gives 1 emerald worth 100 currency

Requirements

Download Vault and XConomy and connect XConomy to MySQL/MariaDB database.

plugins/XConomy/database.yml

Settings:
  storage-type: MySQL

MySQL:
  host: localhost
  port: 3306
  user: root
  pass: pass
  database: xconomy

Permissions

You can change permissions using LuckPerms

  • gems.give - Allows using the admin command /gems give to give currency items to players
  • gems.reload - Allows reloading the plugin configuration via /gems reload
  • gems.withdrawal - Allows using /gems withdrawal to withdraw currency as emeralds

Config

plugins/Gems/config.yml

item:
  material: "minecraft:emerald"
  name: "§a§l%,d Gems"
  lore: "§fValuable Resource, used for trading"
  max_value: 1_000_000

messages:
  withdraw: "§aYou withdrew §l%,d Gems"
  received: "§aYou received §l%,d Gems"

death_drop:
  enabled: true
  percent: 5
  max: 1000  # null

← Back