-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
This server is running CraftBukkit version 3661-Spigot-19641c7-8434e36 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT)
-
Yes
Currently the hidePlayer API provides no options regarding the tablist. The current behaviour seems to hide the tablist entry, but there are instances where I want to hide the player only in game, not in the tablist, e.g. for lobbies. In other instances, hiding the tablist is desired, e.g. for vanish plugins. Therefore I suggest adding a way of controlling if a hidden player should also have their tablist hidden.
Ideas for that:
- Adding a hidePlayer(plugin, player, boolean) method to specify the tablist status in the last argument and have the current hidePlayer(plugin, player) method call that with "true"
- Adding a hidePlayer(plugin, player, enum hidemethod) method similar to the first idea to allow for additional hidemethods in the future, e.g. only equipment hiding.
- Have new methods for tablist manipulation in general. This would also reduce the dependency on library plugins.
- is duplicated by
-
SPIGOT-7317 Player#hideEntity/Player#hidePlayer and Entity#setVisibleByDefault on player should allow not removing player's name from player list
- Resolved