Written by Juan Valero
Cafiaso is a lightweight implementation of a 1.21.11 Minecraft server without using NMS.
Cafiaso runs asynchronously. It is designed to be fast and efficient, with a focus on performance.
Minimal dependencies and a small codebase make Cafiaso easy to understand and extend. We aim to keep the codebase as clean and simple as possible.
Cafiaso does not use NMS (Net Minecraft Server) code. It is entirely written from scratch, which allows us to have full control over the server's behavior and performance. This makes it easier to maintain and extend.
Cafiaso aims to be fully compatible with the latest Minecraft protocol.
Cafiaso is well-documented, with clear and concise documentation for all classes and methods.
Cafiaso is well-tested, with comprehensive suites that cover all aspects of the server. We aim to maintain a high level of code coverage to ensure the server is stable and reliable (approximately 80%).
Now that you know what Cafiaso is, let's get started with setting it up.
- Java 25+
- Clone the repository
git clone git@github.com:cafiaso/cafiaso.git cd cafiaso - Build the project
./gradlew build
- Run the server
java -jar build/libs/cafiaso-1.0-SNAPSHOT.jar
The server will start listening on localhost (127.0.0.1:25565) by default
(can be configured using -h and -p flags, respectively).
Cafiaso is licensed under the MIT License.
- Thanks to Minestom and Glowstone which inspired me to create Cafiaso.
- Thanks to the Minecraft Wiki for the incredible amount of information about the Minecraft protocol and game mechanics.