Have you ever wanted an easy way to disguise players as other players? Well here it is! With this library, disguising will be easy as 123/abc! INSTRUCTIONS 1) Go here and click Download ZIP. 2) Extract the zip file, drag and drop the 'me' folder inside 'src' into your project's source folder. 2.5) If you want, you can delete the example package (teehee). 3) Start coding! All methods are self explanatory, some are not. (refresh()) Constructors for Disguise classes: (Disguise is abstract, so let's skip that) PlayerDisguise: Code: PlayerDisguise disguise = new PlayerDisguise(Player player, String name); EntityDisguise: Code: EntityDisguise disguise = new EntityDisguise(Player player, EntityType type); HOW DOES THIS WORK? This uses NMS to send the players a fake entity that will move as the player does. You can disguise as any mob (Living, for now), without the need to worry about packets! The only thing you should worry about is the version of Bukkit you are using. FEATURES Disguising! (Well then why not?) Colored names! (Use ChatColor to apply.) Easy API access. SOURCE CODE GitHub SCREENSHOTS Coming soon.
xTrollxDudex Yea. It's all the rage lately, I heard its the best version around. You should update your server ASAP. pls
SacredWaste xTrollxDudex I'm still trying to find a way to fix this for 1.7.9 because of new skin/authentication servers.
Hate to burst your bubble, but LibDisguises offers the same features as this and more. I would post a link, but it's on Spigot.
FabeGabeMC I think this is awesome, it allows you to disguise players without forcing the servers to get a disguise plugin.
FabeGabeMC I was bored so I made my own version. Uses ProtocolLib and reflection, don't know how efficient it will be considering it uses reflection, but here is mine, https://github.com/rbrick/NameTahg uses the base logic you used for yours.
FabeGabeMC The problem is that when you state 'DisguiseAPI' and you only offer 1 disguise isn't the best. You should make the title say like Be another Player or something like that. Again, you never receive the best feedback here, theres only like 4 people that didnt receive bad feedback. We all did.
DevRosemberg True, I haven't updated it in a while. Next feature I will add every single mob in the game, so the title fits. EDIT: If craftbukkit is going to continue updating until 1.8 and packets are still a thing, I will add the new mobs (rabbits, endermites, guardians, even armor stands!).
@FabeGabeMC hey my man you want to do this to 1.7.x|1.8.x Change b.set(packet,newGameProfile(a.getName(),p.getName())); to b.set(packet, new GameProfile(Bukkit.getOfflinePlayer(a.getName()).getUniqueId(), newName)); its work!!! Enjoy
BananaBitchs It will not work because Bukkit for 1.8 isn't out. However, I could check source code for the 1.8 server platform to see what the constructor for the GameProfile class is.
@DogeDebugger If you are using 1.7.5+ then this will not work as packets have changed since Bukkit 1.7.5+. But you just use the API and use the disguise method, voila!
UPDATE | NOT NECROPOST, BUT RATHER REVIVING THE THREAD: 1.8 version coming out OCT 29 at 6 PM EST! THE HALLOWEEN UPDATE!
@BrickBoy55 Yes, but there is only one 6 PM Eastern Standard Time. Meaning its the same for everyone because you have to CONVERT the time to your zone time.
@Zombie_Striker @BrickBoy55 DANG! I forgot about this! I am bad at organizing myself! Here you goooooo. GITHUB UPDATED!!! v 2.0: GITHUB Changelog: - Added many disguises (living, at least for now) - Bugfixes and all. Notable Bugs: - Skins won't render capes nor hats, but it will be fixed very soon! (I promise) HAPPY HALLOWEEN! Accurately in my timezone (5:14 PM EST, Oct 31st, 2015 aka 10 days after #BackToTheFutureDay) EDIT: Any bugs you may find, send a PM or tahg me! ~ Gabe
@FabeGabeMC I would recommend abstracting your use of NMS, because this works for only one version of Bukkit (or Spigot now, I guess). https://bukkit.org/threads/support-multiple-minecraft-versions-with-abstraction-maven.115810/