void function ( final RawText arg0 ) { for ( Player loc0 : p . getServer ( ) . getOnlinePlayers ( ) ) { if ( p . getPlayerData ( loc0 ) . isSpectating ( ) ) { MessageSender . sendChatMessage ( loc0 , arg0 ) ; } } p . getServer ( ) . getConsoleSender ( ) . sendMessage ( arg0 . toFormattedText ( ) ) ; }
sends a message to all spectators and the console . concode_field_sep String SPECTATORS_CHAT_PREFIX concode_elem_sep SpectatorPlus p concode_elem_sep List<String> internalWhitelist concode_elem_sep List<String> commandsWhitelist concode_field_sep void broadcastToSpectators concode_elem_sep void addCommandToWhitelist concode_elem_sep void removeCommandFromWhitelist concode_elem_sep void reloadCommandsWhitelist concode_elem_sep void sendSpectatorsChatMessage concode_elem_sep boolean isCommandWhitelisted