|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.src.RConConsoleSource
public class RConConsoleSource
| Field Summary | |
|---|---|
static RConConsoleSource |
consoleBuffer
only ever used by MinecraftServer.executeCommand |
| Constructor Summary | |
|---|---|
RConConsoleSource()
|
|
| Method Summary | |
|---|---|
boolean |
canCommandSenderUseCommand(String par1Str)
Returns true if the command sender is allowed to use the given command. |
String |
getChatBuffer()
|
String |
getCommandSenderName()
Gets the name of this command sender (usually username, but possibly "Rcon") |
void |
resetLog()
Clears the RCon log |
void |
sendChatToPlayer(String par1Str)
|
String |
translateString(String par1Str,
Object... par2ArrayOfObj)
Translates and formats the given string key with the given arguments. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final RConConsoleSource consoleBuffer
| Constructor Detail |
|---|
public RConConsoleSource()
| Method Detail |
|---|
public void resetLog()
public String getChatBuffer()
public String getCommandSenderName()
getCommandSenderName in interface ICommandSenderpublic void sendChatToPlayer(String par1Str)
sendChatToPlayer in interface ICommandSenderpublic boolean canCommandSenderUseCommand(String par1Str)
canCommandSenderUseCommand in interface ICommandSender
public String translateString(String par1Str,
Object... par2ArrayOfObj)
translateString in interface ICommandSender
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||