[INACTIVE][CHAT] Prefixer v2.5.1 - Adds prefixes to users when they chat [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Valrix, Feb 19, 2011.

  1. Offline

    Valrix

    NOTICE:
    Prefixer has been moved into ColorMe and was taken over by another dev, to get it, GO HERE.

    Prefixer - The Easy Prefix Plugin:
    Version: v2.5.1

    Prefixer allows players to add a prefix to a player such as [Farmer], etc. right from the game. See the commands list below for examples on proper use.
    COMMANDS (open)
    /prefix list - Shows a list of allowed colors as their color
    /prefix <prefix> - Changes your prefix. Color code optional and mixed into prefix.
    /prefix [prefix] - Changes another player's prefix.
    /prefix -r [name, name2...] - Removes your/listed player's prefix
    Examples:
    /prefix &4Admin = Admin <Valrix>
    /prefix -r = <Valrix>
    /prefix -r valrix = <Valrix>
    /prefix &5The&4Admin = TheAdmin <Valrix>
    /prefix &5The&4Admin valrix = TheAdmin <Valrix>
    /prefix &4MOD valrix john jane peter =
    MOD <Valrix>
    MOD <john>
    MOD <jane>
    MOD <peter>
    PLANNED UPDATES (open)

    • Economy plugin support
    COLOR CODES (open)

    • Black = &0
    • Dark Blue = &1
    • Dark Green = &2
    • Dark Aqua = &3
    • Dark Red = &4
    • Dark Purple = &5
    • Gold = &6
    • Gray = &7
    • Dark Gray = &8
    • Blue = &9
    • Green = &A
    • Aqua = &B
    • Red = &C
    • Light Purple = &D
    • Yellow = &E
    • White = &F
    PERMISSION NODES (open)
    prefixer.list - Allows player to use /prefix listto see color list
    prefixer.list - Allows player to see list of color codes
    prefixer.self - Allows player to set own prefix
    prefixer.other - Allows player to set another player's prefix
    prefixer.remove - Allows player to remove prefixes
    * prefixer.remove required to remove ANY prefixes *

    Features:
    • Customized prefixes with color codes
    • Multi-world support
    • Supports native bukkit permissions (PermissionsBukkit)
    • Now supports other plugins hooking in to get/set/remove, and check if a player has a prefix set.
    CHANGELOG:

    Version 2.5.1
    • Fixed NumberOutOfBounds error people were getting
    • Properly tested against newest RB and multi-world support
    • Removed config & generation code until later
    • Patched memory leak error
    FULL CHANGELOG (open)

    Version 2.5
    • Added multi-world support
    • Now uses native permissions (PermissionsBukkit)
    • improved command syntax
    • Improved command node handling
    • Numerous code improvements
    Version 2.4
    • Should fix any problems people have been having recently.
    Version 2.3
    • Bunch of code changes to improve performance and decrease code size.
    Version 2.2
    • Fixed that blasted bug where you couldn't remove prefixes.
    Version 2.1
    • Added support for giving a player a prefix through command-line
    Version 2.0
    • Fixed the bug where you couldn't set someone else's prefix.
    Version 1.9
    • Prefixer now automatically updates the old .prefix file, which is where the prefixes are stored, to work with the newer prefix system.
    Version 1.8
    • Prefixes are now fully customizable.
    • Permissions is now optionally supported.
    • Works fine with RB 670
    Version 1.7
    • Should work with RB 617
    Version 1.6
    • Now works with RB 602
    Version 1.5
    • Fixed it to work with new command structure
    • Now allows player to set own prefix using a smaller command
    Version 1.4
    • Fixes a bug with setting a user to having no prefix
    Version 1.3
    • Changed how the prefix is added. Should play nice with other plugins now.
    Version 1.2
    • Fixed a weird error with colors
    Version 1.1
    • Updated to comply with new constructor.
    • Adds the ability to add color to the prefix. See description for example.
    • Names are no longer case-sensitive. Instead of Valrix you can use valrix, or even VaLrIx if you wanted so you don't have to worry about messing up a user's name.
    Version 1.0
    • Release of Prefixer
     
  2. Offline

    Mighty Mackinac

    Started using your plugin and im loving it!

    Noticed a couple of things. The way you describe how to setup the color for someones prefix doesn't quite work. If you try to edit your own prefix, i.e. /prefix [color] [prefix], it thinks that the color code is the name. I had to manually go and edit the players file to set it up properly. Also, if you want just the prefix to have a color, put the color code first, then the prefix, and then the color of the name and text. Little things that took me some time to figure out.

    Besides that, great plugin! Thanks!
     
  3. Offline

    Valrix

    Haha, there's no space between [color] and [prefix], maybe I should try to make that stand out a bit more or something. What do you mean by "just the prefix" having color? I've set it up where only the prefix will get colored anyhow. I'll try to explain it better in the first post.
     
  4. Offline

    Mighty Mackinac

    When I first started, nothing had color. when i opened the players file i saw it had white listed after the prefix, which is the default. I then changed the white to blue and reloaded. then the prefix was white and name and text were colored. I then moved the color in front of the prefix and all of it was colored. then i put the color before the prefix and white after and now the color is only on the prefix. Sorry if that is hard to understand...

    Example:
    Start, no changes:
    mightymackinac=[ADMIN]§F
    everything was white

    Change color:
    mightymackinac=[ADMIN]§1
    text was blue, while prefix was white

    Move Color:
    mightymackinac=§1[ADMIN]
    everything blue

    Change Color & add white
    mightymackinac=§6[ADMIN]§F
    prefix is gold, text and name is white

    This isnt a big deal, just thought you should know.

    Thanks for the plugin!
     
  5. Offline

    Valrix

    Yeah, sadly there's no way to make color just stop, you have to color everything after the prefix white, which is the default, in order to prevent the coloring of the name and text. If there was a way to make colors stop at a specific point I would do that instead. Until then I'll just have to hope that nobody messes with the prefixes manually too much.
     
  6. Offline

    Mighty Mackinac

    I like it this way. It really brings attention to the prefix instead of the name or text. The gold on mine pops out on the screen making people say, "oh hey here's an Admin!" instead of "who the hell are you?"
     
  7. Offline

    Valrix

    Haha, interesting.
     
  8. Offline

    EwMeep

    If you add chat channels into this, it can replace herochat :0
     
  9. Offline

    Valrix

    Maybe I'll make my own chat channel plugin that I know will work with Prefixer and ColorMe so people can have them all without them canceling each other out.
     
  10. Offline

    DioZero

    is there any way to place a space? xS or to make all red + using permission colors x/
    Would be awesome if u could help xP
     
  11. Offline

    Valrix

    What do you mean make it all red? I could add a code for spaces I think. I'll have to toy with it a bit.
     
  12. Offline

    DioZero

    nvm about the red thing xP but I would love to see a space code :p
     
  13. Offline

    Valrix

    Haha, ok. I'll see if I can get that in then.
     
  14. Offline

    DioZero

    I need help xP let me explain me situation :
    op: diozero
    Normal player with rank knight: diotwo

    i have this code:
    message-format: '[+prefix+group&f] &e+suffix+name: &f+message'

    Now i want op's to have a red name and normal players not, i tried to do this on millions of ways xS
    Could ya pls help me? xP
     
  15. Offline

    Valrix

    You you'd like to change the color of someone's name, my other plugin ColorMe does exactly that.
     
  16. Offline

    DioZero

    oh okay i'll look for it xP but i manged to do it with one user, and for some reason only with him xS

    btw update 1.5 out :/ might take a while to get server back and running i guess :/
     
  17. Offline

    Valrix

    Odd. Yeah, once the new version is out I'll have to test all my plugins and make sure nothing else broke.
     
  18. Offline

    Soulblitz

    I can't seem to get rid of other player's prefixes. I'm typing in /prefix [name] but it won't get rid of it. I can remove prefixes for myself perfectly fine, but it won't let me remove them from other players.
     
  19. Offline

    Valrix

    People have been reporting odd errors and I think that it may be due to recent changes with Permissions that may not be read properly or something. I haven't had time to do testing and nothing has been changed that would affect how it works except for internal stuff and Permissions. When the next RB is released I'll be going through each plugin and have people join my test server so all of them can be tested and I can work out any bugs right away so I don't have to hop around between all my plugins trying to fix a bug that I can't find the cause of. Also, using my server will mean I can see everything that's going on and if I can get it to work on mine, yet another user can't get it to work, then we can compare how I'm set up to how they're set up and see what they're doing wrong.

    I am also willing to join into other people's servers to do live testing, though it will come on a first-come, first-serve basis and will only be available once I've finished testing on my server. As a heads up, I will probably start adding a command specifically for me to use when I join other servers so I can get any info I may need without having to ask around and test things out. It's not going to take anything personal, just stuff like who has what permissions, what your config looks like, etc. so I can try to point out a problem easier.
     
  20. Offline

    Soulblitz

    I don't have Permissions though. I'm just an OP on my server, but it seems odd that I'd be able to add them but not remove them.
     
  21. Offline

    DioZero

    why don't u just type /prefix diozero [nothing here all spaces]
    it's what i do atleast works perfectly
     
  22. Offline

    Soulblitz

    That's what I do, but it doesn't remove them.
     
  23. Offline

    Atticusmas

    1.5 support!
     
  24. Offline

    Specops343

    Any plans to update to 733? I tested it, it doesnt work.
     
  25. Offline

    Valrix

    If you're using Essentials it probably won't work anyway because Essentials likes to break stuff, especially ColorMe and Prefixer. But I'll check it out when I can.
     
  26. Offline

    zok

    Wonderful plugin jsut what ive needed please update for build 740, it works with 740 tought.
     
  27. Offline

    robbert777

    so i like this plug in but when i say something it says example: Admin <prefix>robbert<suffix> hi
    any solutions?
     
  28. Offline

    Valrix

    I don't get what you mean.
     
  29. Offline

    BindMind

    Just out of curiosity, is it possible for this plugin to work in conjunction with iChat? If that's at all possible, it'd be PERFECT for my server.
     
  30. Offline

    Valrix

    I really don't know. Prefixer has hooking capability, so you're welcome to suggest it to the iChat dev and have him add hooking support for it.
     
  31. Offline

    BindMind

    This plugin works in conjunction with iChat, which is fantastic.

    My only issue is colour. Instead of actually being coloured, it instead shows up as "&e{prefix}". I would assume this is because of iChat domineering the colours, but I don't know for sure.
     

Share This Page