Conduit-MC / conduit-server

Conduit is a custom Minecraft server written from the ground up in NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conduit

Conduit is a custom Minecraft server written from the ground up in NodeJS

Example gif

THIS IS NOT MEANT TO BE USED AS A PRACTICAL ALTERNATIVE TO EXISTING SERVERS (yet). I started this for fun to see if I could. Many things do not work.

I would eventually like to make this server feature-complete and have it be a viable replacement for servers like Spigot

Currently only supports offline mode! Logins are NOT authenticated yet!

Implemented (Java Edition Protocol):

  • Server list handshake
  • Server list info
  • Server list ping/pong
  • Login/join handshake
  • Authentication
  • Server Joining
  • World rendering (Partially done. Chunks can render, but world generation does not exist yet)
  • World loading from disk (Partially done. Worlds can be loaded from disk but only on initial login. New chunks are not loaded when player moves)
  • World generating
  • World saving
  • World interactions
  • Player/entity rendering
  • Player/entity saving
  • Chat
  • Command handling
  • Implement all vanilla commands
  • Entity spawning
  • Movement (Mostly done. Entities now move and rotate as normal, but no checks for illegal movement are done yet)
  • Entity interactions
  • Basic plugin system

Implemented (Bedrock Protocol):

Not started

Setup

You can customize the server by passing in several settings into the server object.

new JavaEditionServer(version, [settings]);

Params:

  • version: Minecraft version (IE, 1.12.2)
  • settings: Optional. Minecraft server settings. Supports all vanilla settings, using underscores (_) instead of hyphens (-) (allow-flight becomes allow_flight)

Example

// Creates a 1.12.2 server with custom MOTD and 100 max players
const { JavaEditionServer } = require('conduit-server');

new JavaEditionServer('1.12.2', {
	motd: '§bWelcome to Conduit',
	max_players: 100,
	online_mode: false
});

Plugins

Conduit comes with a simple plugin API. For more information, see the Conduit Plugin repo

About

Conduit is a custom Minecraft server written from the ground up in NodeJS


Languages

Language:JavaScript 100.0%