This plugin allows players to set their own prefix through GUI menu.  It's a good perk for Donors.

For Plugin Support (bug report, feature request, etc), please use this site, or Discord's plugin support channel.
DEPENDENCY: This plugin manipulates prefix/suffix through Vault's chat module.

Command:
 
  • /myprefix : opens up MyPrefix GUI
  • /myprefix reload : reloads config.yml
Permission:
  • myprefix.use : allows you to open up MyPrefix GUI
  • myprefix.prefix.use : allows you to see/use Prefix setting menu.
  • myprefix.suffix.use : allows you to see/use Suffix setting menu.
  • myprefix.colorname.use : allows you to use name color menu.
  • myprefix.cooldown.bypass : allows you to bypass the cooldown filter.
Installation:
This plugin depends on Vault.  Once you install Vault.jar, you can drop MyPrefix.jar in the plugins folder.

[img] tag [img] tag[img] tag[img] tag[img] tag[img] tag[img] tag[img] tag[img] tag

config.yml:

# This is a template config file
# define your parameter and its value like:
Messages:
  ErrorMsg: "&c[MyPrefix] : Some error occured."
  ContainsCensored: "&cIt contains censored word"
  TooShort: "&cIt's too short"
  TooLong: "&cIt's too long"
  CoolDown: "&cSlow down a bit, please try again in %time% seconds."
  NoSufficientFund: "&cNot enough fund.  You need at least &e%cost%"
  Deduction: "&e%cost% &chas been deducted."

HelpMessages:
  banner:
    msg: "=== &e[&aMyPrefix Commands List (%version%)&e] &r==="
  launch:
    msg: "&a/myprefix : displays MyPrefix GUI menu."
  help:
    msg: "&a/myprefix help : displays this help menu."
  reload:
    msg: "&a/myprefix reload : reloads config file."
    permission: "myprefix.reload"
  debug:
    msg: "&a/myprefix debug <true|false> : turn on / off the debug mode."
    permission: "myprefix.debug"

PrefixFormat: "&7[%prefix%&7]"

HeadFormat:
  - "&aPrefix :&r %prefix%"
  - "&aSuffix :&r %suffix%"

MenuFormat:
  MainGUITitle: "Prefix Setting"
  AllowedCodeTitle: "&aAllowed Colors/Format Codes"
  AllowedCode: "Click to seeallowed color/format codes."
  MakeColorTitle: "Make a Color Pattern"
  FixTitle: "Fix"
  RepairTitle : "Repair"

  SetPrefixTitle: "&aSet Prefix!"
  SetPrefix: "Click to set your prefix!"
  ResetPrefixTitle: "&aReset Prefix!"
  ResetPrefix: "Click to reset your prefix!"
  SetSuffixTitle: "&aSet Suffix!"
  SetSuffix: "Click to set your suffix!"
  ResetSuffixTitle: "&aReset Suffix!"
  ResetSuffix: "Click to reset your suffix!"
  Black: "&0Blackk (0)"
  DarkBlue: "&1Dark Blue (1)"
  DarkGreen: "&2Dark Green (2)"
  DarkAqua: "&3Dark Aqua (3)"
  DarkRed: "&4Dark Red (4)"
  DarkPurple: "&5Dark Purple (5)"
  Gold: "&6Gold (6)"
  Gray: "&7Gray (7)"
  DarkGray: "&8Dark Gray (8)"
  Blue: "&9Blue (9)"
  Green: "&aGreen (a)"
  Aqua: "&bAqua (b)"
  Red: "&cRed (c)"
  LightPurple: "&dLight Purple (d)"
  Yellow: "&eYellow (e)"
  White: "&fWhite (f)"
  Obfuscate: "&kObfuscate&r (k)"
  Bold: "&lBold&r (l)"
  Strike: "&mStrikethrough&r (m)"
  Underline: "&nUnderline&r (n)"
  Italic: "&oItalic&r (o)"
  Reset: "&rReset (r)"
  ClearPattern: "&7Clear the Pattern"
  ApplyPattern: "&7Apply the pattern"

CoolDown: 60

MaxLength: 15
MinLength: 3

ColorTranslate: true  #if the translation is true, the translation process will expire in the AnvilGuiExpiry seconds.
AnvilGuiExpiry: 30 # in seconds

# These color/format code and words are prohibited
Censor:
  Colors:
    - 0
    - k
    - m
  Words:
    - "[fF][uUvV][cC][kK]"
    - "[Nn][iI][gG]+[eE][rR]"

# World based?
# if this option is true, each prefix/suffix set will be carry out for the world player is in.
WorldBased: false

# This option will allow you to set the cost for
# setting prefix, setting suffix, use colored name
# $ -> economy via vault, t -> Token from TokenEnchant, exports -> exp
Cost:
  Prefix: 20$
  Suffix: 20t
  Color: 20exp