Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codedcosmos/honeycomb
Automatically types teleport commands to pre-generate a minecraft world.
https://github.com/codedcosmos/honeycomb
minecraft rust
Last synced: about 2 months ago
JSON representation
Automatically types teleport commands to pre-generate a minecraft world.
- Host: GitHub
- URL: https://github.com/codedcosmos/honeycomb
- Owner: codedcosmos
- License: gpl-3.0
- Created: 2021-03-06T02:13:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-06T05:01:35.000Z (almost 4 years ago)
- Last Synced: 2024-10-15T09:09:07.620Z (3 months ago)
- Topics: minecraft, rust
- Language: Rust
- Homepage:
- Size: 2.66 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Honeycomb
### By codedcosmos and Ironfist95Honeycomb is a tool that automatically types teleport commands to pre-generate a minecraft world.
### Why pregenerate?
Generating chunks fresh from the world takes up additional cpu resources.
The server has to first generate the chunk and then send it to the client.
If chunks are pregenerated the server simply needs to load them from disk and send them to the client, which is a lot faster.This is why big servers like [Hermitcraft Season 7](https://www.youtube.com/watch?v=eA35S2GW-jI) pregenerate their chunks.
### Usage
Windows should work just fine, but if on linux you also need to install xdotool.
Ubuntu/Debian: `apt install libxdo-dev`
Arch: `pacman -S xdotool`
### Running
Along with some run arguments (listed below), you simply open up a terminal or command prompt and type:`./honeycomb`
If on windows you should be able to just doubleclick on honeycomb.exe and it will launch command prompt for you.
It will wait for 5 seconds by default, and then start sending commands.
After executing you should quickly switch to minecraft to prevent typing commands all over the place.Run arguments
Honeycomb - Chunk Pregenerator 1.0
IronFist95 & codedcosmos ([email protected])
Automatically types teleport commands to pre-generate a minecraft world.USAGE:
honeycomb [FLAGS] [OPTIONS]FLAGS:
-r, --auto_return Automatically returns to spawn
-c, --creative_mode Starts the script by setting the players gamemode to creative
-s, --spectator_mode Starts the script by setting the players gamemode to spectator
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-t, --teleport_delay
Sets the delay between teleports (milliseconds) [default: 12000]-d, --input_delay Sets the delay between keypresses (milliseconds) [default: 120]
-p, --pregenerate_distance
Used to set how far to pregenerate (blocks). If set to 0, continues until manually stopped. [default: 1024]-e, --start_delay Sets the delay before starting (seconds) [default: 5]
-x, --start_x Sets the starting location on the x axis [default: 0]
-y, --start_y Sets the starting location on the y axis [default: 0]
-b, --view_buffer
Safety Buffer distance, to help make sure all chunks are loaded [default: 0.9]-v, --view_distance Used to calculate how far to teleport the player [default: 12]
### Why won't it work?
Though this may not be the issue, it's likely you need to set your open chat key to t.
You might have rebound it to a different key.If not feel free to post an github issue :)
### Why hexagon?
Well apart from [hexagons being the bestagons](https://www.youtube.com/watch?v=thOifuHs6eY).Hexagons are the shape with the highest, command to area ratio, when tiling.
Additionally, they are much closer to a circle than a rectangle, this helps make every pregenerated chunk be equidistant from spawn.A pregenerated world can be seed below:
### Building
When building on Ubuntu/Debian make sure to install mingw: `apt install mingw-w64`Either build directly with `cargo build --release`
or run `sh build.sh` if on linux.