[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

    killabb23

    Np :) I am sorry for the hassle.. But its always good to find the problems now right
     
  3. Offline

    Valrix

    It's fine, and it was good to join your server and do some live testing. Quite helpful when finding bugs, and yes it's always best to find and fix them early on.
     
  4. Offline

    killer66143

    I am having problems as well. I was not able to get the prefixes working.
     
  5. Offline

    Valrix

    I just fixed it, download it again and everything should be working. Gonna go into killabb23's server and have him test it
     
  6. Offline

    Nuinbot

    Just to note, I got the coloring of the prefix to work as such:
    Code:
    /prefix &4Admin Nuin
    -or-
    /prefix &7Admin
    Adding the color code onto the front of the prefix name works for me. Otherwise, it throws up the syntax message.

    I would like to see you combine this plugin with ColorMe. I am looking for titles within the lt/gt signs. So instead of
    Code:
    Admin <Nuin>
    it would look like
    Code:
    <Admin*Nuin>
    with same/different colors for the prefix and name. Possible?

    Great plugin. Thanks!
     
  7. Offline

    Valrix

    Yeah, the code has to go before the text you want to have colored. you can also use multiple codes to color different parts of the prefix.
     
  8. Offline

    xFuryy

    Dosnt seem to want to let me do it for other people unless they've been in server for a while, a bug maybe?
     
  9. Offline

    Valrix

    Do you try and do it before they try talking? I'll add a few more "catches" to try and remedy the possible reason it's not working.

    EDIT: I just updated the jar, try grabbing that one and see if that changes anything.
     
  10. Offline

    overlordror

    You mentioned it's possible to color different parts of the prefix using different color codes, is it possible to make it so that the brackets around the prefix remain white, while the actual prefix itself is colored? As an example:

    [OP] overlordror: Says some text.

    I'm curious since having the brackets remain white seems to make the prefix stand out better in my opinion. Otherwise, kudos on this lightweight plugin. I was planning on installing a mod like HeroChat for this, but this covers my needs perfectly and is much more lightweight than having several different channels, options, and permissions I'll never use.
     
  11. Offline

    Valrix

    Yep, /prefix &F[&AOP&F] = [OP]
     
  12. Offline

    overlordror

    Awesome! You've solved my problem, then. Kudos and once again, thanks for the lightweight plugin.
     
  13. Offline

    Valrix

    You're quite welcome and thank you for the compliment ^^
     
  14. Offline

    xFuryy

    Working way better now great job and mad plugin saves me writing sh*t loads of permissions
     
  15. Offline

    Valrix

    Great to hear it, please do enjoy the hell out of it. Makes me happy to have people get a lot of use out of it and make their lives easier.
     
  16. Offline

    Poinball

    I use : /prefix patate01 &C
     
  17. Offline

    Vittek

    I had the same issues like above yesterday (Couldn't change someone elses prefix) So I updated and now it gives me this error everytime someone chats:
    Any idea whats going? It was working fine yesterday, using CB 670.
     
  18. Offline

    Valrix

  19. Offline

    Nuinbot

    Is there any way you can set it up so that it combines the prefix and name all into one string like this...
    <Admin*Nuin>
    Thanks again for a great mod!
     
  20. Offline

    Garrick

    Well i dont have a permissions file... i use intergrated permissions with mcmyadmin on servercraft.co
     
  21. Offline

    Valrix

    If you want something like that you'd probably be better using something else, prefixer is specifically to have something before the name.

    Hmm, then I really don't know what to tell you. It sounds like you're on an unfavorable set up.

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

    Poinball

    Sorry my comamnd is /prefix pattatoe21 &C[Member]
     
  23. Offline

    Agmanotis

    CB Build: 674
    Command: /prefix LordONoobs test
    Permissions: Yes
    I am OP: Yes
    OP=false: No

    It seems the plugin is not working in the newest recommended CB Build. The following error appears upon startup:

    18:02:36 [SEVERE] String index out of range: -1 loading Prefixer v2.0 (Is it up to date?)
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.charAt(String.java:694)
    at com.sparkedia.valrix.Prefixer.Property.load(Property.java:80)
    at com.sparkedia.valrix.Prefixer.Property.<init>(Property.java:38)
    at com.sparkedia.valrix.Prefixer.Prefixer.onEnable(Prefixer.java:124)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  24. Offline

    Valrix

    I just checked it and it works fine. Either way I updated the .jar to add command-line support. You may want to try updating it again. If it still seems to act weird, delete the .jar and download the new one again.
     
  25. Offline

    Agmanotis

    Nevermind, I think the problem was coming from my own Prefixer directory. Deleted it, and now it works. :D
     
  26. Offline

    CrazyCocoK

    Seems like a great mod, but HeroChat makes this non-applicable. Which makes me sad :( Is there any up-to-date localchat plugin for Bukkit? This mod will definitely help the RP experience on my server.
     
  27. Offline

    Valrix

    A lot of people seem to like it and I've tried to make it as lightweight as possible too. As far as I know there's only HeroChat, but you're welcome to keep looking around or suggest something that doesn't break Prefixer.
     
  28. Offline

    Garrick

    lmao ok so i got the plugin working just fine... but.... i keep typing the command /prefix (name) omit and it wont remove his prefix... in fact his prefix becomes.. "omit" lol what do i do??
     
  29. Offline

    Valrix

    By omit, I mean don't put in a prefix, so just /prefix (name)
     
  30. Offline

    Garrick

    lol thanks bro
     
  31. Offline

    Valrix

    Welcome ^^
     

Share This Page