Home›Java›Mods›MysticalRefer [1.20+]
MysticalRefer
Simple referral plugin.
​
For commands, permissions and more check out the wiki: https://l3st4t.me/en/mysticalrefer

Features
Discord Support: discord.gg/PVRf4rtGzt
Source Code: https://github.com/l3st4tDevelopment/MysticalRefer

Configuration File
Code (YAML):
## Configuration version. Please do not change this.
config-version
: 1

code-settings
:
  ## Type of generator to use for generating codes.
  ## LETTERS - Only use letters for generating the code.
  ## NUMBERS - Only use numbers for generating the code.
  ## BOTH - Use both letters and numbers.
  type
: NUMBERS
  ## Length of the generated codes. A maximum of 32 is allowed.
  length
: 8
  ## Maximum amount of uses per code. Use -1 to disable.
  max-uses-per-code
: 25

storage-settings
:
  ## What storage type do you want to use?
  ## Available: MYSQL, SQLITE
  type
: SQLITE
  ## MySQL specific settings.
  mysql
:
    host
: localhost
    port
: 3306
    username
: root
    password
: admin
    database
: mysticalrefer
    prefix
: db_

time-settings
:
  ## Interval between autosaves. In seconds.
  auto-save
: 900

reward-settings
:
  # These rewards are given to the player who is referred by another.
  referred
:
   - 'eco give %player% 500'
  # These rewards are given to the player who refers someone.
  # These are currently executed even if the player is offline.
  referral
:
   - 'eco give %player% 500'
Language:
Code (YAML):
## Configuration version. Please do not change this.
config-version
: 1

## Messages use the MiniMessage format.
## More information here: https://docs.advntr.dev/minimessage/format
messages
:
  referral-info
:
   - '<green><bold>Referral System'
    - ''
    - '<white>Your code is
: <yellow> %code%'
    - '<white>Share this code with others to earn rewards!'
    - '<white> %players% have used your code.'
    - ''
    - '<white>To redeem a code, type /refer <code>.'
  already-used-code
: "<red>You have already used a referral code!"
  illegal-characters
: "<red>Illegal characters in the code!"
  invalid-code
: "<red>That code is invalid!"
  max-players-exceeded
: "<red>That code has exceeded the amount of maximum redeems!"
  code-redeemed
: "<green>Code redeemed! Rewards received!"
  referred-player
: "<green>You have referred %player% and received rewards!"
  admin-help
:
   - '<red><bold>Referral System Admin'
    - ''
    - '<white>/referadmin help'
    - '<white>/referadmin reset <Player>'
    - ''
  invalid-player
: "<red>That player is not valid."
  player-reset
: "<green>Player reset!"
  cannot-refer-yourself
: "<red>Cannot refer yourself!"

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.

MysticalRefer [1.20+] is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 45 times (via Spigot). Download it and open it directly in the game.

Explore more