MysticalRefer [1.20+] icon

MysticalRefer [1.20+] -----

Simple referral plugin



MysticalRefer
Simple referral plugin.
For commands, permissions and more check out the wiki: https://l3st4t.me/en/mysticalrefer

Features
  • Database Support: Data is stored in either MySQL or SQLite databases. Please note that proxy setups are currently not supported, but is currently being worked on.
  • PlaceholderAPI Support: Provides placeholders for your referral code, amount of referred players and if you have used a referral code.
  • MiniMessage Support: Modern formatting options such as RGB, gradients, and more.
  • Configurable: Almost everything is configurable.
  • Open Source: The code is licensed under GPLv3.
  • Reliable Support: Are you having issues? Feel free to join my Discord and I'd be glad to help you.
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!"
Resource Information
Author:
----------
Total Downloads: 24
First Release: Apr 12, 2025
Last Update: Apr 17, 2025
Category: ---------------
All-Time Rating:
0 ratings
Find more info at l3st4t.me...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings