mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 18:39:42 -05:00
[Bleeding] Added Vanish API for hiding players from each other.
Adds Player.hidePlayer, Player.showPlayer, and Player.canSee for managing what players are hidden from a player. When someone is hidden from a player the player cannot see them in the user list or /list and they cannot /tell them so they appear to be completely gone from the server. By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
1 parent
b2d95b3937
commit
f7f18879e3
4 files changed
+40
-1
No files matched your search
@@ -609,4 +609,16 @@ public class TestPlayer implements Player {
|
||||
public void setBedSpawnLocation(Location location) {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public void hidePlayer(Player player) {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public void showPlayer(Player player) {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public boolean canSee(Player player) {
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user