CLASS net/minecraft/class_7472 net/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket COMMENT A packet used to execute commands on the server. COMMENT COMMENT

This truncates the command to at most 256 characters before sending to the COMMENT server on the client. If the server receives the command longer than 256 characters, COMMENT it will reject the message and disconnect the client. COMMENT COMMENT

If the command contains an invalid character (see {@link COMMENT net.minecraft.util.StringHelper#isValidChar}) or if the server receives COMMENT the commands in improper order, the server will reject the command and disconnect COMMENT the client. COMMENT COMMENT

Commands that took more than {@link COMMENT net.minecraft.network.message.SignedMessage#SERVERBOUND_TIME_TO_LIVE} COMMENT to reach the server are considered expired and log warnings on the server COMMENT if it contains signed message arguments. If the message takes more than COMMENT {@link net.minecraft.network.message.SignedMessage#CLIENTBOUND_TIME_TO_LIVE} to COMMENT reach the clients (including the time it took to reach the server), the message COMMENT is not considered secure anymore by the clients, and may be discarded depending COMMENT on the clients' options. COMMENT COMMENT @see net.minecraft.client.network.ClientPlayNetworkHandler#sendCommand(String) COMMENT @see net.minecraft.server.network.ServerPlayNetworkHandler#onCommandExecution FIELD field_48178 CODEC Lnet/minecraft/class_9139; METHOD (Lnet/minecraft/class_2540;)V ARG 1 buf METHOD method_55964 write (Lnet/minecraft/class_2540;)V ARG 1 buf