GithubHelp home page GithubHelp logo

cyberflamego / basin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from basinserver/basin

0.0 2.0 0.0 1.05 MB

An alternative Minecraft server implementation built from scratch.

License: GNU General Public License v3.0

C 99.83% CMake 0.09% C++ 0.07%

basin's Introduction

Basin

A high performance Minecraft server implementation written in C.

Discord Server

Join the Discord server here.

Goals

  • Pure performance: minimum resource usage for a full Minecraft server implementation
  • Drop-in replacement: compatible with Spigot API plugins via JNI, standard Minecraft world format (Anvil)
  • Extensibility: ease of modification, large plugin API
  • Stability: use good C programming standards to prevent server-breaking bugs

Status

Currently, version Minecraft 1.11.2 and 1.10.2 is supported. As of April 2019, this project is being refactored to meet higher standards of quality and stability. Feature development will resume afterwards, with Minecraft 1.14 support coming concurrently.

Features

  • Low memory footprint (13 MB for a 400-chunk spawn and one player on a 64-bit system)
  • Block placing/breaking
  • Survival mode
  • Creative mode
  • Inventories
  • Players, Chat, and Tab menu
  • Item entities
  • Chests, Furnaces, Crafting
  • PvP
  • Fall damage
  • Block physics & updates
  • C plugin system
  • Block & sky lighting
  • Anvil world loading

Work In Progress

  • Mob AI
  • Spigot-mirrored Java plugin system
  • Command system
  • World generation
  • Anticheat

Planned

  • Protocol generator/export Minecraft protocol as a shared library for various versions
  • Natural mob spawning
  • Lua plugin system
  • Permission system
  • World saving

Maybe One Day

  • Forge mod analog API to allow server-side reimplementation of Java forge mods in C
  • Protocol compatibility layer to allow several versions of the game without a third party tool
  • Reverse proxy dimension/world sourcing

Development

Basin uses cmake to build, install, and package.

Dependencies

  • avuna-util
  • OpenSSL
  • JNI (if Java plugin support is enabled)

Compilation:

mkdir build
cd build
cmake ..
make -j 16

Clean

Within your build directory:

make clean

Install

Within your build directory:

sudo make install

Package

Within your build directory:

cpack --config ./CPackConfig.cmake

Running Basin

To run Basin, simply invoke the binary ./basin. Ensure that the binary is located with the relevant data files (the JSONs).

basin's People

Contributors

ecx86 avatar inklit avatar javaprophet avatar n0toose avatar protryon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.