[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

    Tfs Halo

    oh i was just about to ask if the permission node i have was right before i entered it but cool no permissions yet :p
     
  3. Offline

    mjmr89

    Could you make it so that we could customize it more? For example, I'd like it to say something like

    ||+||<mjmr89>: dsfdsfdsf

    Make it so that the ['s aren't forced, and allow more than one color. For example, if I wanted the first two pipes to be green, the + to be red, and the last two pipes to be black, it would be something like

    /prefix mjmr89 '&2||&4&0'

    It uses the single quotes to show that its without the []s and uses color codes (the ampersand-number/characters).
     
  4. Offline

    Valrix

    Hmm, that's an interesting thought. I could try to see how well that would work. Thanks for the idea, I'll let you know how it goes.
     
  5. Offline

    Matty11

    I get the same error every time :
    2011-03-26 17:21:28 [SEVERE] Could not load plugins/Prefixer.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:58)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/command/CommandExecutor
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.command.CommandExecutor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 11 more
     
  6. Offline

    Valrix

    What version of CraftBukkit are you running? The important thing I notice is this line:
    "Caused by: java.lang.ClassNotFoundException: org.bukkit.command.CommandExecutor"
     
  7. Offline

    blackmist

    OMG YOU ARE AWESOME.

    THE PLUGIN THAT I NEEDED.

    spazzzingggggg [diamond][diamond] -infinite diamonds for you-
     
  8. Offline

    Poinball

    When you think the permission will be here ??
    I need it :(
     
  9. Offline

    Valrix

    I'm currently learning how permissions works, so once I figure it out then I'll be adding it. Hopefully within a few days I'll have it ready and working.
     
  10. Offline

    Poinball

    Thx !
     
  11. Offline

    Matty11

    I was using a really old build but I just lately updated my server and it works fine now but still thank you for responding
     
  12. Offline

    Valrix

    Good to hear that it's working. Enjoy :)
     
  13. Offline

    DJ Olditmes

    are there any permissions?
     
  14. Offline

    Valrix

    There will be, but it's going to have to wait until after the update to see if anything breaks during that time. Hopefully won't, but still.
     
  15. Offline

    jonassm

    [SEVERE] Nag author: 'Valrix' of 'Prefixer' about the following event: onPlayerJoin has been replaced with a new a new signature, (PlayerJoinEvent)
     
  16. Offline

    Linki

    Great Plugin, hope you will update this to 1.4
     
  17. Offline

    Lookatmego

    hey dude using cb 617 and it loads but for some reason every player that joins gets an empty prefix in the file for it also no players have prefixes when i set it for them....any idea?it works in file not ingame however
     
  18. Offline

    Valrix

    I'm still patching it up, I just got back to the dorms where the internet isn't horrible so I can do proper testing. I'm also not home anymore so there won't be many/any distractions besides school which doesn't start until Monday.
     
  19. Offline

    Lookatmego

    can i know when its upadted?
     
  20. Offline

    zok

    What about auto prefixes to new players untill a spesified emount of time has passed?
     
  21. Offline

    TheDarkness73

    I type in /prefix kravitzz Trader yellow, but it just ocmes up with the prefixer message. help?
     
  22. Offline

    Valrix

    What does it say? And please post your server version.

    Going off what mjmr89 said, I'm going to let users style the prefixes; however, spaces aren't allowed. The way it'll work is like this:
    Code:
    /prefix valrix &1||&2DEV&1||
    Will show ||DEV|| with the pipes being one color, DEV being another. Spaces aren't allowed because that causes CraftBukkit to think you're entering in different arguments. Any other symbols should be fine, including the & character since I'll have Prefixer look for & paired with a number so if one isn't found then it'll be left alone. I'll also add support for Permissions and possibly the ability to hook into Prefixer for other plugins to be allowed to get and change prefixes. The new version will be adding a new file to support the old format of prefixes, but with a slight difference. Instead of automatically adding the [] around the prefix, you'll have to put it in yourself.

    EDIT: There are also color codes with letters, those will require a capital letter after the & to be recognized as a color key. If you forget to capitalize it, it will not create the color.

    This may take a bit since I'm having to rebuild the very core of the plugin, so please have some patience. Thank you for your support thus far. :)

    I have almost finished up a working beta version that if anyone is willing to test out, please let me know so I can talk with you back and forth to get some quick feedback. Lots of new things in this version, so things may break. You'll also have to delete the old .prefix file to work with the new format. Few more little things I've got to patch up, but once those are ready then I'l be posting the beta link. I'd appreciate any extra help I can get.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  23. Offline

    Poinball

    I am willing to test out
     
  24. Offline

    Waffletastic

    Could you get this plugin to work with the prefix on iChat?
     
  25. Offline

    GamerX

    @Wafflestatic iChatf gives prefix.....
     
  26. Offline

    TheDarkness73

    Well, Im using bukkit 617, and when i enter that, it comes up with the normal list of prefixer commands, and the person doesnt have their prefix
     
  27. Offline

    Valrix

    I'm working on the newer version which should solve any problems and allow more dynamic prefixes.
     
  28. Offline

    Superhykle

    I have used this plugin allways but now if I typ: /prefix superhykle Owner green
    it doesnt work and it says
    <>=required [] optional
    /prefix list
    /prefix <prefix> [color]
    /prefix <name> <prefix> [colour]

    help?
     
  29. Offline

    Valrix

    The new version is going to work differently and should fix the problems of the old one.
     
  30. Offline

    Superhykle

    When is it coming on? Its the best plugin:D much easier than permissions
     
  31. Offline

    Valrix

    It'll be ready pretty soon. Just a few little things to work out and test before I put it out.
     
  32. Offline

    Superhykle

    but like days or hours?
     

Share This Page