MorphRedeem | (1.13.x - 1.21.7) | (mcMMO Redeem) | icon

MorphRedeem | (1.13.x - 1.21.7) | (mcMMO Redeem) | -----

Allows players to redeem credits into mcMMO levels! (Skills)



NEW Credits to XP Update + Update Checker Fixes + 1.21.x Support
NOTE: You will need to regenerate a new messages.yml and config.yml with this update. I will link newly generated ones below so you can copy over your changes.

Changelog:
  • Plugin tested for 1.21.x versions. Please let me know if you find any issues!
  • New config settings to allow credits to be applied as skill XP instead of a full skill level. (You can change the XP amount with the "XPpercredit:" settings option. (Thank you for your help in starting this Cobrex1!)
  • Pull request merged for Issue#17 to refactor the Update Checker that was causing crashes when no internet connection is available. (Thank you, ch99q!)
  • Rewrote some of the credit assignment code for the new update and future updateability.
  • Added a new message for when you try to remove more credits than a player currently has.
  • Fixed some spelling mistakes in the default messages.yml

Code (YAML):
[/COLOR ]
Commands
:
  Header
: '&7 ----------- &9&lMorphRedeem Commands &7 ----------'
  Footer
: '&7 --------------------- &8 [&9&l!&8 ] &7 ---------------------'
  Help
: '&b/mr help &8- &7Shows this text menu.'
  MR
: '&b/mr &8- &7Opens the redeem menu.'
  MRSkill
: '&b/mr <skill> <num> &8- &7Redeem credits into a specified skill.'
  Credits
: '&b/mr credits &8- &7Shows your credit count.'
  CreditsOthers
: '&b/mr credits <player> &8- &7See a players credit count.'
  Send
: '&b/mr send <player> <num> &8- &7Send a player credits.'
  Add
: '&9 [Admin ] &b/mr add <player> <num> &8- &7Add credits to a players credit balance.'
  Remove
: '&9 [Admin ] &b/mr remove <player> <num>&8- &7Remove credits to a players
    credit balance.'
  Reload
: '&9 [Admin ] &b/mr reload &8- &7Reloads the plugins files.'
  Set
: '&9 [Admin ] &b/mr set <player> <num> &8- &7Set a players credit balance.'
  Reset
: '&9 [Admin ] &b/mr reset <player> &8- &7Reset a players credit balance.'
CorrectUsage
:
  Add
: '&bCorrect Usage&8 : &7/mr add <player> <number>'
  Remove
: '&bCorrect Usage&8 : &7/mr remove <player> <number>'
  Reset
: '&bCorrect Usage&8 : &7/mr reset <player>'
  Set
: '&bCorrect Usage&8 : &7/mr set <player> <number>'
  Send
: '&bCorrect Usage&8 : &7/mr send <player> <number>'
CreditAddMessage
: '&7You have been given &b %CREDITS% &7credits!'
CreditAddSuccessMessage
: '&7Credit assignment successfull!'
CreditAssignmentCanceled
: '&7Credit assignment canceled successfully!'
CreditAssignmentMessage
: '&7Please specify the amount of credits you would like to
  add. Write 0 in chat to cancel! &8(&bCredits&8
: &7%CREDITS%&8)'
CreditAssignmentSuccess
: '&7You successfully applied &b %CREDITS%&7 credits, to the
  &b %SKILL% &7skill!'
CreditInProgressMessage
: '&7You''re currently assigning credits to &b %SKILL%&7. Write
  0 in chat to cancel! &8(&bCredits&8
: &7%CREDITS%&8)'
CreditRemoveMessage
: '&7&b %CREDITS% &7credits have been removed from you!'
CreditRemoveSuccessMessage
: '&7Credit removal successfull!'
CreditResetMessage
: '&7Your credits have been reset!'
CreditResetSuccessMessage
: '&7Credits successfully reset!'
CreditSendMessage
: '&7You have been sent &b %CREDITS% &7credits from &b%SENDER%&7.'
CreditSendSuccessMessage
: '&7You sent &b %CREDITS% &7credits to &b%TARGET%&7.'
CreditSetMessage
: '&7Your credits have been set to &b %CREDITS%&7.'
CreditSetSuccessMessage
: '&7Credits successfully set!'
ErrorPrefix
: '&8 [&9&l!&8 ] '
IgnoreFormat
: ' [X ]'
InvalidArgsMessage
: '&7Invalid arguments! &b/mr help &7to view all commands.'
InvalidCredits
: '&7You do not have the valid credits for this! Canceling credit assignment.'
InvalidNumber
: '&7The message entered was not recognized as a number! Canceling credit
  assignment.'
InvalidNumberNegative
: '&7The number you entered was not positive! Canceling credit
  assignment.'
InvalidPlayer
: '&7Cannot find that player!'
InvalidSkill
: '&7The argument entered was not recognized as a skill!'
InvalidOtherPlayerCredits
: '&7Insufficient credit amount! &b %PLAYER%''s &7current
  credit balance is &b %CREDITS%&7.'
McMMOPlayerNotLoadedMessage
: '&7Your &bmcMMO player file &7has not been loaded yet!
  Please try again in a &bfew seconds&7.'
Menu
:
  Title
: '& #5555FF&lM&#5566FF&lo&#5577FF&lr&#5588FF&lp&#5599FF&lh&#55AAFF&lR&#55BBFF&le&#55CCFF&ld&#55DDFF&le&#55EEFF&le&#55FFFF&lm&8&l:'
  Acrobatics
:
    Name
: '&9&lAcrobatics&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Alchemy
:
    Name
: '&9&lAlchemy&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Archery
:
    Name
: '&9&lArchery&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Axes
:
    Name
: '&9&lAxes&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Crossbows
:
    Name
: '&9&lCrossbows&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Excavation
:
    Name
: '&9&lExcavation&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Fishing
:
    Name
: '&9&lFishing&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Herbalism
:
    Name
: '&9&lHerbalism&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Maces
:
    Name
: '&9&lMaces&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Mining
:
    Name
: '&9&lMining&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Repair
:
    Name
: '&9&lRepair&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Swords
:
    Name
: '&9&lSwords&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Taming
:
    Name
: '&9&lTaming&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Tridents
:
    Name
: '&9&lTridents&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Unarmed
:
    Name
: '&9&lUnarmed&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  Woodcutting
:
    Name
: '&9&lWoodcutting&8&l:'
    Lore
:
   - ' '
    - '&7Click to assign credits!'
    - ' '
    - '&b➙ &7Level Cap&8
: &7%LEVELCAP%'
    - '&b➙ &7Skill Level&8
: &7%SKILLLEVEL%'
    - '&b➙ &7Skill XP&8
: &7%SKILLXP%&8/&7%SKILLXP_NEEDED%'
  mcMMOCredits
:
    Name
: '&9&lmcMMO Credits&8&l:'
    Lore
:
   - '&b➙ &7 %MCMMOCREDITS%'
  CreditsSpent
:
    Name
: '&9&lCredits Spent&8&l:'
    Lore
:
   - '&b➙ &7 %CREDITSSPENT%'
  PluginCredits
:
    Name
: '&9&lPlugin Credits&8&l:'
    Lore
:
    - '&9&lVersion&8
: &7%VERSION%'
    - ' '
    - '&bCode Contributors&8:'
    - '&8- &7Morphie'
    - '&8- &7therbz'
    - '&8- &7Eleksploded'
    - '&8- &7Cobrex1'
    - ' '
    - '&b&oClick for spigot link!'
NoPermsMessage
: '&7You don''t have permission to do this!'
NoSkillCap
: '&bNone'
OtherPlayerCreditMessage
: '&b %PLAYER% &7currently has &b%CREDITS% &7credits.'
PlayerCreditsMessage
: '&7You currently have &b %CREDITS% &7credits.'
Prefix
: '& #5555FF&lM&#5566FF&lo&#5577FF&lr&#5588FF&lp&#5599FF&lh&#55AAFF&lR&#55BBFF&le&#55CCFF&ld&#55DDFF&le&#55EEFF&le&#55FFFF&lm
  &8&l➙ '
ReloadMessage
: '&7Plugin files successfully reloaded!'
SkillCapReached
: '&7You tried to get to level &b %LEVEL% &7in &b%SKILL%&7, but the
  skill cap is &b %CAP%&7.'
SkillDisabledMessage
: '&7This skill has been disabled by administration!'
SpigotLink
: '&7https://www.spigotmc.org/resources/morphredeem-mcmmo-credits-1-14.67435/'
UpdateMessage
: '&7New plugin version found. New Version&8 : &b%VERSION% &8 (&7 %LINK%&8)'
[COLOR=rgb (0, 0, 0 ) ]

Code (YAML):

#============================================================================================================================|
#    _____                      .__   __________           .___                    
#   /     \   _________________ |  |__\______   \ ____   __| _/____   ____   _____
#  /  \ /  \ /  _ \_  __ \____ \|  |  \|       _// __ \ / __ |/ __ \_/ __ \ /     \
# /    Y    (  <_> )  | \/  |_> >   Y  \    |   \  ___// /_/ \  ___/\  ___/|  Y Y  \
# \____|__  /\____/|__|  |   __/|___|  /____|_  /\___  >____ |\___  >\___  >__|_|  /
#         \/             |__|        \/       \/     \/     \/    \/     \/      \/
#
#============================================================================================================================|
#
# Plugin Version: 1.3.0
# Spigot Link: https://www.spigotmc.org/resources/morphredeem-mcmmo-credits-1-14.67435/
# Discord Link: https://discord.gg/6bnU9xn
# Author's Discord: morphie
#
# If you have issues or questions feel free to message me on spigot OR discord.
# Please do keep in mind however that I will respond when I can! <3
#
#RGB and HEX support - use this website for pre-configured color codes:
#  https://www.birdflop.com/resources/rgb/
#
#
#============================================================================================================================|

Settings
:
  # The color of glass in the main /morphreedem menu.
  BackgroundGlassColor
: 11
  DisabledSkills
:
    Enabled
: false
    # Item to replace disabled Skills with.
    ReplaceGUIItem
:
      Enabled
: false
      ItemName
: STRUCTURE_VOID
    # Skills that players won't be able to apply credits to.
    SkillsToDisable
:
   - Acrobatics
  # Enable or disable the plugin credits item in the /morphredeem menu.
  PluginCredits
:
    Enabled
: true
  # Enable or disable the plugins update checker. (Admins and Console messages for new plugin updates.)
  UpdateChecker
: true
  # By default, the plugin will convert credits into a skills level. Enabling this will convert credits into a skills XP.
  mcMMOSkillXP
:
    Enabled
: true
    # How much xp should be given per credit redeemed at default.
    XPpercredit
: 1000
  # Change the Item types in the main /morphredeem menu.
  GUI
:
    Acrobatics
:
      ItemName
: LEATHER_BOOTS
    Alchemy
:
      ItemName
: POTION
    Archery
:
      ItemName
: BOW
    Axes
:
      ItemName
: DIAMOND_AXE
    Crossbows
:
      ItemName
: CROSSBOW
    Excavation
:
      ItemName
: DIAMOND_SHOVEL
    Fishing
:
      ItemName
: FISHING_ROD
    Herbalism
:
      ItemName
: FARMLAND
    Maces
:
      ItemName
: MACE
    Mining
:
      ItemName
: DIAMOND_PICKAXE
    Repair
:
      ItemName
: ANVIL
    Swords
:
      ItemName
: DIAMOND_SWORD
    Taming
:
      ItemName
: BONE
    Tridents
:
      ItemName
: TRIDENT
    Unarmed
:
      ItemName
: STICK
    Woodcutting
:
      ItemName
: OAK_WOOD
    mcMMOCredits
:
      ItemName
: NETHER_STAR
    CreditsSpent
:
      ItemName
: EMERALD
    PluginCredits
:
      ItemName
: PAPER

#============================================================================================================================|

# Storage method, can be MySQL, Redis, or YML
StorageMethod
: "MySQL"

# Requires 'StorageMethod' to be MySQL
MySQL
:
  Username
: "u1_0JTri142MH"
  Password
: "5Y25Lcj+hg7O.K@ewO+HR@yO"
  Host
: "172.18.0.1"
  Port
: 3306
  SSL
: false
  Database
: "s1_MorphRedeem"
  TablePrefix
: "mr_"

# Requires 'StorageMethod' to be Redis
Redis
:
  Hostname
: "localhost"
  Port
: 11111
  Password
: "password"
  SSL
: false
  KeyPrefix
: "mr_"
 
#============================================================================================================================|
 
----------, Jul 14, 2025
Resource Information
Author:
----------
Total Downloads: 7,075
First Release: May 17, 2019
Last Update: Jul 24, 2025
Category: ---------------
All-Time Rating:
15 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings