public class DefaultOutput extends Object implements Output
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(Message message)
Broadcast a message on the whole server
|
void |
broadcast(org.bukkit.World world,
Message message)
Broadcast a message in a specific world
|
void |
debugMessage(String message)
Prints a debug message
|
Logger |
getLogger()
Gets the plugin's Logger
|
void |
printConsole(Message message)
Prints message to console.
|
void |
printConsole(String message)
Prints string message to console.
|
void |
printError(String message)
For severe errors Prints the message to console
|
void |
printError(String message,
Throwable e)
For severe errors Prints the message and info about the throwable to console
|
void |
printError(Throwable e)
For severe errors Prints info about the throwable to console
|
void |
printException(String message)
Prints the message to console.
|
void |
printException(String message,
Throwable e)
Prints the message and info about the throwable to console.
|
void |
printException(Throwable e)
Prints info about the throwable to console.
|
void |
sendMessage(org.bukkit.command.CommandSender sender,
Message message)
Send a message to a CommandSender
|
void |
sendMessage(org.bukkit.command.CommandSender sender,
Message message,
Object... params)
Send a CommandSender a message
|
public Logger getLogger()
Outputpublic void printError(Throwable e)
OutputprintError in interface Outpute - the Throwablepublic void printError(String message)
OutputprintError in interface Outputmessage - the message. Should be user readablepublic void printError(String message, Throwable e)
OutputprintError in interface Outputmessage - the message, Should be user readablee - the Throwablepublic void printException(Throwable e)
OutputprintException in interface Outpute - the Throwablepublic void printException(String message)
OutputprintException in interface Outputmessage - the message. Should be user readablepublic void printException(String message, Throwable e)
OutputprintException in interface Outputmessage - the message, Should be user readablee - the Throwablepublic void printConsole(Message message)
OutputprintConsole in interface Outputmessage - the messagepublic void printConsole(String message)
OutputprintConsole in interface Outputmessage - the messagepublic void sendMessage(org.bukkit.command.CommandSender sender,
Message message)
OutputsendMessage in interface Outputsender - the sendermessage - the messagepublic void sendMessage(org.bukkit.command.CommandSender sender,
Message message,
Object... params)
OutputsendMessage in interface Outputsender - the sendermessage - the messageparams - the parameterspublic void broadcast(Message message)
Outputpublic void broadcast(org.bukkit.World world,
Message message)
Outputpublic void debugMessage(String message)
OutputdebugMessage in interface Outputmessage - the messageCopyright © 2015. All rights reserved.