Documentation Index
Fetch the complete documentation index at: https://velas.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
PlayerSidebar extends Sidebar and is bound to exactly one player at a time. All base Sidebar methods also apply.
Player binding
| Method | Returns | Description |
|---|---|---|
setPlayer(Player player) | void | Assign this sidebar to a player |
removePlayer() | void | Detach the current player |
getPlayer() | Player (nullable) | The currently bound player |
Visibility
| Method | Returns | Description |
|---|---|---|
show() | void | Show the sidebar to the bound player |
show(SidebarShowEvent.Reason reason) | void | Show with a specific reason (fires event with that reason) |
hide() | void | Hide the sidebar from the bound player |