public class RconCommandOutput extends Object implements CommandOutput
| Modifier and Type | Field and Description |
|---|---|
private StringBuffer |
buffer |
private static LiteralText |
RCON_NAME |
private MinecraftServer |
server |
DUMMY| Constructor and Description |
|---|
RconCommandOutput(MinecraftServer server) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
void |
clear() |
ServerCommandSource |
createRconCommandSource() |
void |
sendSystemMessage(Text message,
UUID senderUuid) |
boolean |
shouldBroadcastConsoleToOps() |
boolean |
shouldReceiveFeedback() |
boolean |
shouldTrackOutput() |
private static final LiteralText RCON_NAME
private final StringBuffer buffer
private final MinecraftServer server
public RconCommandOutput(MinecraftServer server)
public void clear()
public String asString()
public ServerCommandSource createRconCommandSource()
public void sendSystemMessage(Text message, UUID senderUuid)
sendSystemMessage in interface CommandOutputpublic boolean shouldReceiveFeedback()
shouldReceiveFeedback in interface CommandOutputpublic boolean shouldTrackOutput()
shouldTrackOutput in interface CommandOutputpublic boolean shouldBroadcastConsoleToOps()
shouldBroadcastConsoleToOps in interface CommandOutput