Closed Frogperson closed 7 years ago
It is true that executing /disguise player SomePlayer visibility=not-list visibility-param=MyAltAccount
does not affect the visibility of the player disguise. But this is not a bug. The problem is just that iDisguise does not parse any additional arguments after the player name. So in order to get this to work, you have to execute two commands: first disguise yourself using /disguise player SomePlayer
then afterwards adjust the visibility using only /disguise visibility=not-list visibility-param=MyAltAccount
Awesome, thanks for the clarification! Just tested it and it works perfectly.
I have another small question so I guess I'll just ask it here. We're trying to use this plugin for a UHC where everyone is disguised as one player and teaming is allowed. The problem is, we would like it so teams can have their names colored so that it's not quite as confusing during a fight. Using the built-in Minecraft teams for this didn't work (as I was kind of expecting). I'm unsure of how "deep" the disguises are, but do you think that another plugin could possibly solve this?
Oh after looking at it a bit more it looks like I may be able to use the custom-name param? Is it possible to do this while disguised as a player? Doing the command /disguise custom-name=&6SomePlayer
gives me this errorWrong usage: unknown arguments custom-name=&6SomePlayer
You can't apply custom names to a player disguise. But player disguises support coloring and formatting. Just try it: /disguise player &cNotch
Additionally, via the API you can set both display name and skin name of a player disguise completely independent from each other. This might be the thing you're looking for. If you wish, I could add a command for this feature as well.
I think I can make it work with just the /disguise player &cNotch
, but if you could add the command to have skin and name separate like that, that would be awesome.
Okay so I think I have almost everything working how I'd like, but after some more testing it seems I've run into a couple more problems.
First problem:
In the config file, no matter what I have modify-message-death
and modify-message-kill
set to, the kills and deaths are always showing the disguised name instead of the actual player.
Second problem:
Even though I have modify-player-list-entry
set to false, it still seems to be modifying it slightly. Here's what I mean
My view (correct)
Other people's view (incorrect)
As you can see, other people can correctly see the undisguised username, but it's stripped of the color and the hearts. Is this something that would be fixed if you add the commands for separate skin and names? Or is it just a different problem altogether?
I've already received another report about the first problem you mentioned a few days ago. It will be fixed in the next release, until then you may use the latest snapshot file which you can grab over here: https://www.robingrether.de/idisguise/
The second problem has nothing to do with that player disguise skin name stuff. I've known this problem for a while now, but I could not find a proper solution for it. However, I will keep trying out new things as soon as possible.
Dude, you've been so awesome so far! Hopefully you'll be able to work out a solution to that second problem soon. We'd really like to have hearts and team colors in tab for our UHC this weekend. Please let me know if there's anything I can do to help.
I'm afraid I have to disappoint you: I won't have time to do any coding until next weekend since I'm having my A-level exams this week and they're very important to me.
No worries, we'll work something out. Good luck on your exams!
When you have time, maybe you could test the latest snapshot of iDisguise which you can grab here.
In this version you can use either /disguise player <name> like it was before (color and format codes are supported) or /disguise player <skin> <name> to set skin and display name independent from each other.
Hey sorry it took so me so long to respond, Just tested those commands and and they seem to work perfectly. That will definitely make things a bit easier if we do another UHC like this.
I think I figured out a way to fix the player list problem. Which plugin did you use to append that health bar to the player names? I'd appreciate if I could use that plugin to test my code.
Scoreboard and team problems should be finally fixed in 5.6.4-SNAPSHOT #6 which you can grab over here: https://www.robingrether.de/idisguise/
Oh awesome thanks for updating it! Sorry for not getting back to you on the plugin by the way. Had to ask someone which one we used again and then I completely forgot to send you the link. If you would still like it I'm pretty sure this is the UHC plugin we used which did the hearts in the tab menu. https://www.spigotmc.org/resources/ultrahardcore-reloaded.1622/
Finally, you may switch to the official release (5.6.4) which contains the fix as well.
So yeah as stated in the title, the command
/disguise sheep red visibility=not-list visibility-param=MyAltAccount
works just fine; my alt can still see me as me, and other see me as a red sheep. But when I switch "sheep red" to "player SomePlayer"/disguise player SomePlayer visibility=not-list visibility-param=MyAltAccount
then everybody, including my alt see me as SomePlayer.