[Inactive] DispNameChanger 3.0 - Change Names! + Spout [1000]

Discussion in 'Inactive/Unsupported Plugins' started by captainawesome7, Apr 16, 2011.

  1. Offline

    captainawesome7

    Inactive. Being replaced by:
    DispNameChanger 3.o - Change anybody's display name!

    Version: 3.0
    DispNameChanger is a plugin that lets you easily change your display name or any other player's display name. I know there are other plugins that do this, but I think this is the only one (aside from /nick in essentials) that allows you to change YOUR name and ANYONE's name and permissions support. It now saves your name after you leave and loads it when you come back! *NEW* With Spout, this plugin also changes the name above the player's head and sends you a fancy notification!

    Features:
    • Change the display name of a specified player, including yourself
    • Spout: If installed, changes player's names above heads
    • Permissions Support (Default is Permissions 2.7.x or 3.x) if not found, uses SuperPerms
    • PERSISTENCE! (Thanks to @Sammy for that one, he helped me a TON)
    • Supports Colors! (Thanks to @itsatacoshop247)
    • IMPORTANT: This plugin conflicts with Essentials, it doesn't work with this plugin. If you have essentials, you can just use /nick and change the nickname character to '' in the config, so it basically does the same thing :)
    Commands:
    Commands (open)
    Commands (open)

    The permissions default to the Permissions Plugin 2.7.x or 3.x
    If you don't have it installed it uses SuperPerms(PermissionsBukkit, bPermissions)
    Commands:
    • /rename <player> <new> - Changes the specified player to the specified name
    • /rename <player> - Resets the player's name
    • /rename - Reset's your own name
    • /checkname <player> - Checks the player's name (Not really working)

    Downloads
    The source code is included in the .jar (/me/captain/dnc/)

    Planned Changes
    None so far

    Changelog:
    Version 3.0
    • This one was largely a community update.
    • New Features by Daxiongmao87:
      • New Permission nodes.
        • dispname.change for regular changing of your own name
        • dispname.changeother for regular changing of other's names (requires dispname.change)
        • dispname.changespace for changing names w/ spaces in them (requires dispname.change)
        • dispname.check for checking names (not really working)
    • New Features by Luke Zwekii:
      • Spout support!
    • If you run into any problems, be sure to let me know!
    Version 2.0
    • Added name above head changing support with BukkitContrib. If it isn't installed nothing will happen in regard to names above heads. Also, you have to have the BukkitContrib client mod installed to be able to see the changes.
    • Made join messages and leave messages use display name
    Changelog Cont. (open)
    Changelog Cont. (open)

    Version 1.4.2
    • Added the spaces into the name again, if you are using the iJobs plugin, don't update
    Version 1.4.1
    • Fixed the 'could not pass player join' error.
    Version 1.4
    • Fixed the conflict with iJobs, the plugin will no longer load your name if there is a space in it :)
    Version 1.3
    • PERSISTENCE YEEEAAAAHHHH (thanks to @Sammy)
    • ^Saves your name when you leave and loads it when you return :p ^
    Version 1.2
    • Added your name reset when you type /rename with no parameters, I will change this to /resetname soon
    Version 1.1
    Version 1.0
    • Original Release!

    [​IMG] To me to support my plugins :)
    Share the love with @Daxiongmao87 and @Luke Zwekii , They earned it!
     
  2. Offline

    msw1

    Dude your such an awesome coder, you've once again coded something fantastic.
     
    iGrovyle likes this.
  3. Offline

    Andre_9796

    cool plugins and btw, the dispnamechanger in your signature leads to annoyer thread.
     
  4. Offline

    captainawesome7

    oh
    ok

    I changed the .zip download so you don't have to be logged in, just like the .jar download

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

    jamescosten

    Nice plugin thank you, any chance to have coloured names?
     
  6. Offline

    captainawesome7

    Wow you just read my mind, I am looking into it now :)
     
  7. Offline

    jamescosten

    :) Thank you, My display name is set as GOD, non egotistical name and all :p
     
  8. Offline

    derchris

    Hey,

    can I add a feature request?
    Was looking for a plugin which sets a players name to "[AFK] Name" when they are AFK for some time.
    Now there are plugins for AFK, and there are plugins for name changes. But not both together.

    Would you be able to add this as a feature.
    Or at least could tell me if it would be difficult to implement?

    Thanks,
    derchris
     
  9. Offline

    captainawesome7

    I think this Would be pretty hard to implement, but essentials can do that with its /afk and /nick. You might as well use that because I can't even get colors to work :(
     
  10. Offline

    jamescosten

  11. Offline

    captainawesome7

    The problem is, i don't think you can make a player's display name this:
    Code:
    player.setDisplayName(ChatColor.GREEN + n)
    where n is the player's new name. Obviously that isn't for all colors but I think that you can't make a name with ChatColor and I don't know how else you would do it.
    When I try to replac & with § I get "invalid character constant" no matter what encoding I use :(
     
  12. Offline

    jamescosten

    also just bee trying it, when i disconnect server and reload, my name goes back to default any chance to make perm??
     
  13. Offline

    itsatacoshop247

    player.setDisplayName(n.replaceAll("(&([a-f0-9]))", "\u00A7$2"));
    Users can then use the color codes when deciding the name. I think works, but im not 100% sure. Add it, and try setting the name to "&eBob".
     
  14. Offline

    captainawesome7

    wow thank You so much! :)
    re-uploading new version colors work! @itsatacoshop247 (even though that code is probably common thanks for bringing it to my attention)
    If you don't have any chat plugin, and you rename captainawesome7 to &4derp, when chatting it will look like this:
    <derp> hello!
    You can type /rename captainawesome7 &4Derp&f for regular color after chat
     
  15. Offline

    BioRage

    Does this interfere with other plugins?

    Example: I set permissions for group
    <HERP>
    - node x
    - node a-d

    I rename "X" and would that mess up the permission's?

    Just curious.
     
  16. Offline

    captainawesome7

    ? Not really understanding what you are saying here...
    It just changes Display Name, not your actual name. Any command that has to do with a name like tp or give, you need their real name, not display name. It doesn't mess up permissions... I don't really know what you are asking.
     
  17. Offline

    Sim121

    Hi.
    I just installed this plugin for my own server, but the problem is that when I use /rename <player> <player name>,
    it seems to work but nothing change concerning the player display name...
    How can I solve it ?
     
  18. Offline

    captainawesome7

    um, can you post anything in the log that will help? or cb build, other plugins?
     
  19. Offline

    CrazyCocoK

    I love you! This is so what I needed! Works perfectly and is simply awesome!

    A question; does it change the name above their head?
     
  20. Offline

    captainawesome7

    No :( Sadly it does not, BUT it is useful to see their actual name, I don't think there is a way to change the name above a person's head.
     
  21. Offline

    CrazyCocoK

    Ah, it's fine! Still a VERY helpful plugin :D
     
  22. Offline

    Sim121

    I don't know why but now it does work... ><

    Thank you a lot !
     
  23. Offline

    captainawesome7

  24. Offline

    ratty

    Thanks for making a renamer that has permission support!
    One thing I'd like to suggest is, could you add a command to reveal someone's real name? Like maybe a /who command that shows real name - fake name, or some kind of lookup command.
     
  25. Offline

    captainawesome7

    I experimented with that, but I gave up for now because I was also developing another plugin. I will take another look at this soon.
     
  26. Offline

    Fr34km4n

    Can you make so the name doesn't resets when you log out? ;)

    But still an awesome plugin! Thanks!
     
  27. Offline

    Kainzo

    Where are these config / name changes stored? Whats the impact on the server? How's the lag? Will I die young?​
     
  28. Offline

    captainawesome7

    I can add name saving if you want, but currently it is VERY lightweight, it adds no lag on my server, and hopefully you won't die young. I was going to add a .db saving like Basic Name Changer, and as far as I know they don't have color or permissions support. (thats why I made this)
     
  29. Offline

    Kainzo

    And yes please persistence so the name doesnt reset on log out
     
    CrazyCocoK likes this.
  30. Offline

    captainawesome7

    Yeah, I am working on that now :)
     

Share This Page