BuildAPrefix
We've broken 3k downloads! I have completely rewritten it (again) to be much more extendible. It supports MySQL Redis, and FlatFile (Mongo coming soon!)
BuildAPrefix
What is it?
BuildAPrefix is the solution to a problem that is widespread. Chat on most servers is an endless sea of boring [Member] tags and [Donor] tags that would put a person on coffee to sleep. What does BuildAPrefix do? It allows your players (or donors, both are EULA complient) to set their own prefixes. Now, I know what you're thinking, "I already have a plugin like this." Read the list of features and then re-evaluate this plugin.
Features
- Signs for all main functions- no boring commands that you forget in the blink of an eye.
- Full formatting support- that's &a &b &1 &l &k etc. All colors are available via permissions.
- It informs players as to what colors they can use.
- Signs are fully configurable.
- Supports Redis, MySQL, and FlatFile. (MongoDB coming soon!)
- Configurable minimum and maximum character length, as well as a configurable format.
- Simple permissions.
- Powerful configuration that's (in my opinion overly) commented.
- Blacklist using Regular Expressions (RegEx) to keep people from being admins. See the config for help and examples.
- Every single chat message is configurable.
- Oh, did I mention how awesome BuildAPrefix is?
Commands/Permissions
Commands:
The base command is /bap (which can also be /prefix or /buildaprefix).
- /bap: Initiates a prefix building session.
- /bap clear: clears your prefix.
- /bap clear [player]: clears the prefix for the given player.
- /bap version: gets the current version.
Permissions:
- buildaprefix.prefix: Allows the player to create a prefix.
- buildaprefix.colors.all: Gives the player all colors. Functions similar to the * character but it works slightly faster (by stopping a loop).
- buildaprefix.colors.[color-letter]: Gives player the color specified. Ex: buildaprefix.colors.a gives a player &a. This works with formatting codes too.
- buildaprefix.place-sign: allows the player to create BuildAPrefix signs.
- buildaprefix.other: allows the player to clear others' prefixes.
- Coming soon (since I forgot it for v3.0.0) buildaprefix.bypassblacklist
Signs
'Create Prefix' Sign:
Make it as follows:
- [Prefix]
- create
- 'Clear Prefix' Sign:
Make it as follows:
- [Prefix]
- clear
Simple as it gets!
To Do
- Add permission for clear.
- Add lang file.
- Add more customization options (RegEx?).
- Add an API. Sorta? I mean, we're almost there.
- Re-implement blacklist. Simpler methods. RegEx.
- Comment the configuration file.
- Implement metrics.
Please Note
- This plugin uses statistics tracking from MCStats. You can opt out of it via the PluginMetrics configuration.
@LimeGlass
Sorry I've been off so much, but I lost access to the source code. I am currently retrieving it and will try to implement these features ASAP.
Could you separate the /bap and /bap clear with a permssion node example: buildaprefix.prefix and buildaprefix.clear and add a ingame reload command. Thanks
Guys, I have to deal a complete rewrite because I have lost access to my original development area. I'm sick today, so O might be able to finish the rewrite between naps and tea.
i was trying this out on your development server and i noticed, if i want to load a preset, i need to type the whole prefix again to select it from the load list shouldnt i be able to just say 1 2 or 3 etc? would be better
Focus extra hard please, this will be a great donator option! :)
Regards, Merciless-PvP
@DwellingDwarf
In fact, that will be tonight's focus ^^
@DwellingDwarf
Hm. I might add this as a config option. I'll definitely look into it.
Hello! I think this plugin is absolutely amazing, but I have one thing if I may request! I am using PermissionsEx, the newest version, and would prefer the prefix to overwrite the one they already have. So instead of seeing [ThePrefixTheyAdded] andt hen their rank prefix [VIP] then [Name] I would rather like to see [TheirCustomPrefix] [Name]! If you could implement this feature and respond as soon as you can, I would greatly appreciate it!
Regards, Merciless-PvP
@greeves12
Using groupmanager would replace rank prefixes, it's more complex, and really unprofessional to allow people to change their prefix.
Whats stopping me from using groupmanager? It has both permissions, and prefixes.
@TheWorldOfBukkit
I have them compiled on my computer. Both are extremely bugged.
Where version 0.2 and 0.3
@20zinnm
good:)
@fr233
Ok, I'm finishing up version 0, update 6, build 1, which includes commands :D
@fr223
I will make an add on component to support that.
@fr233
I'll work on it, but this was meant to mirror the one used by mc.hcserver.com (not adversising, just saying)
good plugin,but use sign is not a good choose,can players use command to change thrie perfix?