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
|
void |
printConsole(Message message)
Prints message to console.
|
void |
printConsole(String message)
Prints string message to console.
|
void |
printException(Exception e)
Prints out "An exception occurred" to the console
|
void |
printException(String message)
Prints the message to console
|
void |
printException(String message,
Exception e)
Prints the message 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 void printException(Exception e)
printException in interface Outpute - the exceptionpublic void printException(String message)
printException in interface Outputmessage - the message. Should be user readablepublic void printException(String message, Exception e)
printException in interface Outputmessage - the message, Should be user readablee - the exceptionpublic void printConsole(Message message)
printConsole in interface Outputmessage - the messagepublic void printConsole(String message)
OutputprintConsole in interface Outputmessage - the messagepublic void sendMessage(org.bukkit.command.CommandSender sender,
Message message)
sendMessage in interface Outputsender - the sendermessage - the messagepublic void sendMessage(org.bukkit.command.CommandSender sender,
Message message,
Object... params)
sendMessage in interface Outputsender - the sendermessage - the messageparams - the parameterspublic void broadcast(Message message)
public void broadcast(org.bukkit.World world,
Message message)
public void debugMessage(String message)
debugMessage in interface Outputmessage - the messageCopyright © 2015. All rights reserved.