SimplePrefixManager - A simple prefix manager

This is a discussion topic for the Ore project, SimplePrefixManager. View the full project on Ore for downloads and more information.


SimplePrefixManager

  • A very simple prefix manager made to work with the LuckPerms API.
  • Made for Sponge API 7.2.0
  • Requires LuckPerms 5.0 +

1.Commands and permissions

1.1 Commands (User)

  • /prefix set (Set your prefix)
  • /prefix clear (Clear your prefix)

1.2 Permissions (User)

  • simpleprefixmanager.user.base (Base Command)
  • simpleprefixmanager.user.clear (/prefix clear command)
  • simpleprefixmanager.user.set (/prefix set command)

1.3 Commands (Admin)

  • /prefixAdmin setprefix username (Set someones prefix)
  • /prefixAdmin clearprefix username (Clear someones prefix)
  • /prefixAdmin toggleprefix username <true/false> (Toggle someones prefix)
  • /prefixAdmin getprefix username (Get what someones current prefix is)
  • /prefixAdmin reload (Reload the configuration file)

1.4 Permissions (Admin)

  • simpleprefixmanager.admin.base (Base Command)
  • simpleprefixmanager.admin.set (/prefixAdmin setprefix command)
  • simpleprefixmanager.admin.clear (/prefixAdmin clearprefix command)
  • simpleprefixmanager.admin.toggle (/prefixAdmin toggleprefix command)
  • simpleprefixmanager.admin.get (/prefixAdmin getprefix command)
  • simpleprefixmanager.admin.reload (/prefixAdmin reload command)

2.Config

2.1 MainConfig

# Weather to allow or disallow color codes in prefixes (Admin command bypasses this)
AllowColorCodes=true
# Blacklisted prefixes go here (Admin command bypasses this)
BlacklistedPrefixes=[
Example,
Example2
]
# Set the max length of the prefix excluding color codes. (Admin command bypasses this)
PrefixLimit=20
# The 'priority' aka weight of the prefix being set
PrefixWeight=10000

2.2 Messages

# Define the back bracket formatting
BackPrefixBracket="&6&l]"
# Enable or disable auto adding of brackets
EnableAutoBrackets=true
# Define the front bracket formatting
FrontPrefixBracket="&6&l[&r"

2.Support

  • For support join my discord server and use the appropriate support channel!

A new version has been released for SimplePrefixManager, it is available for download here.


Initial plugin release.

A new version has been released for SimplePrefixManager, it is available for download here.


Fixed issue with clear prefix not saving.