toggleSpy

open fun toggleSpy(manager: PaperCommandManager, player: Player)(source)

Toggles the spy mode of a player, which allows them to spy on guild chats.

Parameters

manager

the command manager for sending messages to the player

player

the player whose spy mode is being toggled