Package io.papermc.paper.event.player
Class PlayerSignCommandPreprocessEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerCommandPreprocessEvent
io.papermc.paper.event.player.PlayerSignCommandPreprocessEvent
- All Implemented Interfaces:
 Cancellable
Called when a 
Player clicks a side on a sign that causes a command to run.
 This command is run with elevated permissions which allows players to access commands on signs they wouldn't normally be able to run.
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result - 
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerCommandPreprocessEvent
getHandlerList, getHandlers, getMessage, getRecipients, isCancelled, setCancelled, setMessage, setPlayerMethods inherited from class org.bukkit.event.player.PlayerEvent
getPlayerMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous 
- 
Constructor Details
- 
PlayerSignCommandPreprocessEvent
 
 - 
 - 
Method Details
- 
getSign
Gets the sign that the command originated from.- Returns:
 - the sign
 
 - 
getSide
Gets the side of the sign that the command originated from.- Returns:
 - the sign side
 
 
 -