Skip to content

BongoThirteen/ubgs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An Unnamed Block Game Server.

This is a Minecraft-compatible server built using the Valence framework. It is designed to be similar in functionality to the official server, yet significantly more performant. Due to the excellent plugin architecture of Bevy ECS, it is also highly customizable.

Features such as entity physics, redstone, terrain generation, and world file loading and saving, are under development. Ultimately, this project aims to provide a complete replacement for the official servers written in Rust and permissively licensed. However, at the moment there are many bugs and incomplete features.

Getting Started

Currently no application binaries are provided, so just create a new Rust project and import this repository. First, install Rust from rustup.rs and create a new project.

cargo new blockgame
cd blockgame

Edit Cargo.toml and add this line under [dependencies]:

ubgs = { git = "https://github.com/BongoThirteen/ubgs.git" }

Then, write this in your src/main.rs:

use ubgs::Vanilla;
use ubgs::save::Save;
use ubgs::prelude::*;

fn main() {
  App::new()
    .add_plugins(Save) // important that this goes first
    .add_plugins(Vanilla)
    .run();
}

Finally, run the code with cargo run --release and connect with your version 1.20.1 Minecraft-compatible client of choice to localhost. Make sure you put a Minecraft world in the world folder wherever you run the server, and back it up as the server will save chunks. The code may take a long time to compile and you may need to install some dependencies depending on your OS.

Licensing

Like most Rust software, this project is dually licensed under

at your option.

About

An Unnamed Block Game Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages