Player disguises no longer hang around in tab

Fix setSkin not working on active disguises
Fixed tab names not displaying
This commit is contained in:
libraryaddict
2020-04-07 16:14:17 +12:00
parent 2c5301eb6c
commit fb97dd4857
14 changed files with 112 additions and 206 deletions

View File

@@ -253,11 +253,9 @@ HideDisguisedPlayersFromTab: false
ShowPlayerDisguisesInTab: false
# On player disguise, a fake player is added to tablist so the skin can load properly.
# If the viewer sees the player disguise but there's no tablist name, they won't see a skin.
# 3 seconds is normally long enough to load the skin properly, but sometimes the server needs longer
# This is in ticks, there are 20 ticks in every second. 60 ticks = 3 seconds. 200 ticks = 10 seconds.
# This option is ignored if 'ShowPlayerDisguisesInTab' is enabled.
PlayerDisguisesTablistExpires: 60
# 2 ticks should easily be enough.
PlayerDisguisesTablistExpires: 2
# Don't like players able to set themselves invisible when using the disguise commands? Toggle this to true and no one can use setInvisible! Plugins can still use this however.
DisableInvisibility: false