# Minecraft High Performance Redstone Server

**URL:** <https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167>\
**Category:** Programming\
**Created:** [August 8, 2020, 8:04am UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167 "2020-08-08T08:04:22Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![StackDoubleFlow](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/stackdoubleflow/32/41_2.png) [@StackDoubleFlow](https://discourse.openredstone.org/u/StackDoubleFlow)\
**Post date:** [August 8, 2020, 8:04am UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/1 "2020-08-08T08:04:22Z")

</div>

This is a project I’ve been working on for the past few months, and a lot of the people here already know about it. Lemme just copy the readme xd

# Minecraft High-Performance Redstone Server

[![Build Status](https://travis-ci.org/MCHPR/MCHPRS.svg?branch=master)](https://travis-ci.org/MCHPR/MCHPRS) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Crates.io](https://img.shields.io/crates/v/mchprs?colorB=319e8c)](https://crates.io/crates/mchprs)

A Minecraft creative server built for redstone. Each 256x256 plot runs on a separate thread, allowing for less lag, more concurrency, and many awesome extra features!

MCHPRS is very different from traditional servers. Because this server is tailored to the use of computation redstone, many things that are a part of Vanilla Minecraft servers don’t exist here. That being said, MCHPRS comes with many of its own unique features.

## Building

If the Rust compiler is not already installed, you can find out how [on their official website](https://www.rust-lang.org/tools/install).

```auto
git clone https://github.com/MCHPR/MCHPRS.git
cd MCHPRS
cargo build --release

```

Once complete, the optimized executable will be located at `./target/release/mchprs` or `./target/release/mchprs.exe` depending on your operating system.

### Building on Windows

To build on Windows, replace the last line of `Cargo.toml` with

```auto
rusqlite = {version="0.23.1", features=["bundled"]}

```

## Usage

### Commands

| Command | Alias | Description |
| --- | --- | --- |
| `/rtps [rtps]` | None | Set the **redstone** ticks per second in the plot to `[rtps]`. (There are two redstone ticks in a game tick) |
| `/radvance [ticks]` | `/radv` | Advances the plot by `[ticks]` redstone ticks. |
| `/teleport [player]` | `/tp` | Teleports you to `[player]`. |
| `/stop` | None | Stops the server. |
| `/plot info` | `/p i` | Gets the owner of the plot you are in. |
| `/plot claim` | `/p c` | Claims the plot you are in if it is not already claimed. |
| `//pos1` | `//1` | Sets your worldedit first position. |
| `//pos2` | `//2` | Sets your worldedit second position. |
| `//set [block]` | None | Sets all the blocks in your selection to `[block]` |
| `//replace [oldblock] [newblock]` | None | Replaces all of the `[oldblock]` in your selection with `[newblock]`. |
| `//copy` | `//c` | Copies your selection into your clipboard. |
| `//paste` | `//p` | Pastes your clipboard into the world. |
| `//undo` | None | Undos the last operation. |
| `//sel` | None | Clears your worldedit first and second positions. |
| `//stack` | None | Stacks your selection in the direction you are facing. |
| `//count [block]` | None | Counts all `[block]` in your selection. |
| `//load` | None | Loads a schematic from the `./schems/` folder. Make sure the schematic in the Sponge format if there are any issues. |

## Acknowledgments

- [@AL1L](https://github.com/AL1L) for his contributions to worldedit and other various features.
- [@DavidGarland](https://github.com/DavidGarland) for a faster and overall better implementation of `get_entry` in the in-memory storage. This simple function runs 30% of the runtime for redstone.

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## Under the hood

When the server starts up, the main thread, which will from now on be referred to as the server thread, loads the `Config.toml` file and starts the networking thread. Threads communicate using message passing.

### Server thread

The server thread handles the initialization process of the server and the login/ping procedure for connecting clients. If a client completes the login procedure, a `Player` struct will be loaded containing the client.

### Networking thread

The networking thread handles all incoming clients. The client is then sent to the server thread through message passing.

### Plot thread

The plot thread handles most of the logic for the server. The plot thread is where the real magic happens. Player movement, player rotation, WorldEdit, command handling, world-saving/loading, etc. are all handled by this thread. If this thread crashes somehow, the player will be sent back to the server thread to be moved to another plot\*.

\* Not yet implemented.

## License

[MIT](https://choosealicense.com/licenses/mit/)

---

<div class="post-metadata">

**Author:** ![GamingLiamStudios](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/gamingliamstudios/32/946_2.png) [@GamingLiamStudios](https://discourse.openredstone.org/u/GamingLiamStudios)\
**Post date:** [August 8, 2020, 8:16am UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/2 "2020-08-08T08:16:21Z")

</div>

:o  
Such **SPED**

---

<div class="post-metadata">

**Author:** ![Verlio\_H](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/verlio_h/32/43_2.png) [@Verlio\_H](https://discourse.openredstone.org/u/Verlio_H)\
**Post date:** [August 8, 2020, 6:51pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/3 "2020-08-08T18:51:55Z")

</div>

spede

---

<div class="post-metadata">

**Author:** ![Tukeque](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/tukeque/32/54_2.png) [@Tukeque](https://discourse.openredstone.org/u/Tukeque)\
**Post date:** [August 9, 2020, 12:53pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/4 "2020-08-09T12:53:13Z")

</div>

bad tukxel server better smh

---

<div class="post-metadata">

**Author:** ![StackDoubleFlow](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/stackdoubleflow/32/41_2.png) [@StackDoubleFlow](https://discourse.openredstone.org/u/StackDoubleFlow)\
**Post date:** [September 16, 2020, 2:34pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/5 "2020-09-16T14:34:26Z")

</div>

how is tukxel going

---

<div class="post-metadata">

**Author:** ![Tukeque](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/tukeque/32/54_2.png) [@Tukeque](https://discourse.openredstone.org/u/Tukeque)\
**Post date:** [September 17, 2020, 1:34pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/6 "2020-09-17T13:34:10Z")

</div>

baad lmfao

---

<div class="post-metadata">

**Author:** ![StackDoubleFlow](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/stackdoubleflow/32/41_2.png) [@StackDoubleFlow](https://discourse.openredstone.org/u/StackDoubleFlow)\
**Post date:** [September 17, 2020, 1:34pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/7 "2020-09-17T13:34:42Z")

</div>

👌

---

<div class="post-metadata">

**Author:** ![Giggly\_Joe](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/giggly_joe/32/758_2.png) [@Giggly\_Joe](https://discourse.openredstone.org/u/Giggly_Joe)\
**Post date:** [November 5, 2020, 4:33pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/8 "2020-11-05T16:33:30Z")

</div>

ban stack for suggesting things. He’s not aloud to

---

<div class="post-metadata">

**Author:** ![StackDoubleFlow](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/stackdoubleflow/32/41_2.png) [@StackDoubleFlow](https://discourse.openredstone.org/u/StackDoubleFlow)\
**Post date:** [May 5, 2021, 12:39pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/9 "2021-05-05T12:39:06Z")

</div>

I should probably put these here for the future people:

[![](https://discourse.openredstone.org/uploads/default/original/1X/043cfd2ee67ee0d86cf32e3ffda7e8a55be6a51c.jpeg "MCHPRS Redpiler StackPU 1khz 8000rtps test") ](https://www.youtube.com/watch?v=9tkgySlcxxk)

[![](https://discourse.openredstone.org/uploads/default/original/1X/5351ee51ed23e68965017b731620ebf947208692.jpeg "MCHPRS Redpiler pishleback's 4D Renderer 800rtps") ](https://www.youtube.com/watch?v=rpum7zOqBQI)

---

<div class="post-metadata">

**Author:** ![jobe](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/jobe/32/5061_2.png) [@jobe](https://discourse.openredstone.org/u/jobe)\
**Post date:** [July 19, 2024, 12:35pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/10 "2024-07-19T12:35:47Z")

</div>

This is sick lol. Haven’t noticed there is a thread on mchrps lol.

---

<div class="post-metadata">

**Author:** ![Amelium](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/amelium/32/8371_2.png) [@Amelium](https://discourse.openredstone.org/u/Amelium)\
**Post date:** [July 19, 2024, 5:00pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/11 "2024-07-19T17:00:57Z")

</div>

> 3 years later

---

<div class="post-metadata">

**Author:** ![itsalexanderh](https://discourse.openredstone.org/user_avatar/discourse.openredstone.org/itsalexanderh/32/7053_2.png) [@itsalexanderh](https://discourse.openredstone.org/u/itsalexanderh)\
**Post date:** [June 17, 2025, 8:25am UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/12 "2025-06-17T08:25:00Z")

</div>

When would the MCHPRS ViaFabricPlus crash fix be fixed

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openredstone.org/uploads/default/original/1X/3751cb7164d949629ccd5dd712d1e65996e22e97.png) [@system](https://discourse.openredstone.org/u/system)\
**Post date:** [August 23, 2026, 6:57pm UTC](https://discourse.openredstone.org/t/minecraft-high-performance-redstone-server/167/13 "2026-08-23T18:57:53Z")

</div>

Closed on August 23, 2026, 6:57pm UTC


