update to 1.21.11
This commit is contained in:
parent
fc2186fc32
commit
13ef61727b
538
Cargo.lock
generated
538
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -12,12 +12,13 @@ codegen-units = 1
|
||||
log = "0.4"
|
||||
simple_logger = "5.1.0"
|
||||
# CLI
|
||||
clap = { version = "4.5.53", features = ["derive"] }
|
||||
clap = { version = "4.5.54", features = ["derive"] }
|
||||
# Networking
|
||||
tokio = { version = "1.48.0", features = ["net", "io-util"] }
|
||||
tokio = { version = "1.49.0", features = ["net", "io-util"] }
|
||||
pumpkin-protocol = { git = "https://github.com/Pumpkin-MC/Pumpkin", package = "pumpkin-protocol", default-features = false, features = ["serverbound", "clientbound"]}
|
||||
pumpkin-util = { git = "https://github.com/Pumpkin-MC/Pumpkin", package = "pumpkin-util"}
|
||||
pumpkin-data = { git = "https://github.com/Pumpkin-MC/Pumpkin", package = "pumpkin-data"}
|
||||
|
||||
crossbeam = "0.8.4"
|
||||
uuid = "1.19.0"
|
||||
rand = "0.9"
|
||||
rand = { git = "https://github.com/rust-random/rand"}
|
||||
|
||||
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 Pumpkin MC
|
||||
Copyright (c) 2026 Pumpkin MC
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<div align="center">
|
||||
|
||||
[](https://opensource.org/licenses/MIT)
|
||||

|
||||

|
||||
|
||||
A tool to stress test Minecraft servers by simulating numerous bot connections, helping identify performance bottlenecks and stability issues.
|
||||

|
||||
@ -40,7 +40,7 @@ Here's a detailed breakdown of all available command-line arguments:
|
||||
- Example: `--delay 500` (500 milliseconds delay)
|
||||
|
||||
- **`--spam_message "<message>"` (Optional):**
|
||||
- Will send a Chat message with the specefied `spam_message_delay`.
|
||||
- Will send a Chat message with the specified `spam_message_delay`.
|
||||
- Example: `--spam_message "Hello, I'm a Robot"`
|
||||
|
||||
- **`--spam_message_delay <delay>` (Optional, Default: `210`):**
|
||||
|
||||
@ -19,6 +19,7 @@ use pumpkin_protocol::{
|
||||
ClientPacket, CompressionLevel, CompressionThreshold, ConnectionState, PacketDecodeError,
|
||||
RawPacket, ServerPacket,
|
||||
};
|
||||
use pumpkin_util::version::MinecraftVersion;
|
||||
use std::io::Write;
|
||||
use std::net::SocketAddr;
|
||||
use std::sync::atomic::{AtomicU32, Ordering};
|
||||
@ -174,7 +175,7 @@ impl Client {
|
||||
) -> Result<(), WritingError> {
|
||||
let mut write = write;
|
||||
write.write_var_int(&VarInt(P::PACKET_ID))?;
|
||||
packet.write_packet_data(write)
|
||||
packet.write_packet_data(write, &MinecraftVersion::V_1_21_11)
|
||||
}
|
||||
|
||||
/// Sends a clientbound packet to the connected client.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user