Our first step of the new Authors Portal is Live! Learn more or click here to check it out!
I just want you to be able to choose if you are going to dissapear from the [TAB] list or not.
Do you want the name to appear there even if vanished?
By default the names of vanished players can not be seen in the tab-player-list for players that can not see them.
That actually is Bukkit internals.
Yes, that's exactly what i want.
If it's bukkits fault, isn't there any way to add it to config or something? Cause it's very weird if youre alone on the server. In the multiplayer menu it says 1 player online and when you join there is noone?
Easier to provide would be to fake the number of players in the multiplayer menu to be lower if players are vanished. The efffect would then be that players see a not full server but can not join because the server is full.
About forcing the name to still appear: it seems that the Bukkit API is not so fine grained as to allow a player not to see another player, but still have the other player be seen on the tab list. And i doubt that such will be added soon. If the player List is sent by the server each time a player presses tab, then i can imagine, that threre might be an event for it some day.
Yeah, that would work too.
Unfortunately the ServerListPingEvent does not allow to set the number of players that are online... so this can not be done simply, currently.
Bukkit does not allow to manipulate the number of players (for good reasons) - so we are stuck here, there is no way to do this using the API only.
But i will make a feature request to allow to decrease the number of playes sent for that server-list ping thingy: https://bukkit.atlassian.net/browse/BUKKIT-1393
I will have another look if somehting exists on this field.
However i will not try to override the NetServerHandler just for the tab player list :) , that i have to leave to plugins that really have to, like DisguiseCraft.
Maybe DisguiseCraft has the option to control the player list, in that case maybe a spin off plugin or a DisguiseCraft specific addition would be thinkable, i might contact the developers for that ...
To post a comment, please
or register a new account.