valence/crates
qualterz 1cd6be0781
Minimal stresser implementation (#240)
<!-- Please make sure that your PR is aligned with the guidelines in
CONTRIBUTING.md to the best of your ability. -->
<!-- Good PRs have tests! Make sure you have sufficient test coverage.
-->

## Description

<!-- Describe the changes you've made. You may include any justification
you want here. -->

An implementation of a Minecraft server stresser for testing purposes.

The potential of this pull request is to implement a minimal stresser
binary package that would be bound to the local `valence_protocol`
package, so it would be always up to date with the latest Valence
Minecraft protocol implementation.

The MVP version is going to be able concurrently connect headless
clients to a target Minecraft server.

## Test Plan

<!-- Explain how you tested your changes, and include any code that you
used to test this. -->
<!-- If there is an example that is sufficient to use in place of a
playground, replace the playground section with a note that indicates
this. -->

<!-- <details>

<summary>Playground</summary>

```rust
PASTE YOUR PLAYGROUND CODE HERE
```

</details> -->

<!-- You need to include steps regardless of whether or not you are
using a playground. -->
Steps:
1. Ensure that the connection mode is offline
2. Run `cargo run --example bench_players` or any other example
3. Run `cargo run --package valence_stresser -- --target 127.0.0.1:25565
--count 1000`
4. Monitor the `bench_players` output
 
#### Related

closes #211

---------

Co-authored-by: Carson McManus <dyc3@users.noreply.github.com>
2023-02-21 08:54:16 -05:00
..
packet_inspector Colorise the inspector output based on S2C or C2S (#242) 2023-02-14 15:31:17 -08:00
playground Implement Drop Item Events (#252) 2023-02-20 15:37:09 -08:00
valence Implement Drop Item Events (#252) 2023-02-20 15:37:09 -08:00
valence_anvil Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_nbt Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_protocol Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_protocol_macros Add block entities (#32) 2023-02-18 10:16:01 -08:00
valence_spatial_index Reorganize Packages (#180) 2022-12-29 16:51:05 -08:00
valence_stresser Minimal stresser implementation (#240) 2023-02-21 08:54:16 -05:00