Coder Social home page Coder Social logo

arciera / server Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 0.0 291 KB

A Minecraft server written in TypeScript. Modern, multi-threaded, modular and built for performance.

License: GNU General Public License v3.0

TypeScript 100.00%
minecraft-server nodejs typescript game minecraft minecraft-api minecraft-performance minecraft-protocol

server's Introduction

arciera/server

Node.js CI

Download · Documentation

A Minecraft server written in TypeScript. Modern, multi-threaded, modular and built for performance.

Running

To run arciera/server you need Node.js 18 or higher.

Download server.mjs from the latest release. Alternatively, you can clone the repository and run npm run bundle to build the server yourself. You will find the bundled server in build/index.js.

To start the server:

node server.mjs

To stop the server, send SIGINT by pressing Ctrl+C (^C).

Issues

If you find any bugs or issues, or have any suggestions, please open an issue.

Fixing bugs is our utmost priority.

FAQ

I can't join the world!

Arciera server is a bare-bones server and does not have a world. If you want to connect to a world, you need to use a plugin that provides a world. Any additional features beyond simply establishing a connection require a plugin.

Contributing

All contributions are most welcome!

If you would like to contribute a new feature, make sure that it is within the scope of the project. Arciera server aims to be minimal and lightweight and sometimes creating a plugin might be more suitable.

To contribute, fork the repository, make your changes and open a pull request.

server's People

Contributors

dependabot[bot] avatar km127pl avatar zefir-git avatar

Stargazers

 avatar  avatar  avatar  avatar

server's Issues

Wrong packet when refreshing the server list

When refreshing the server list, "LoginPacket" is executed, so the data is all messed up.

log

Steps to reproduce

  • Start the server
  • Add it to the server list
  • Refresh the list with either F5 or the Refresh button.

[Feature]: Protocol types

What feature would you like to see?

Create types for VarInt, String, Chat, Array, etc. that can be used like this:

ParsedPacket#get<Type>(type: Type)
ParsedPacket#write<Type>(type: Type)

This will also be useful in constructors of ServerPacket packets.

Logger min level

A configuration option to filter logger levels. If you set it to WARN, you will only see warnings and higher.

default: info

Hierarchy:

  • debug
  • info
  • success
  • warn
  • error

[Feature]: Make interface for config

What feature would you like to see?

sth like

interface Config {
    /**
     * The port the server will listen on for new connections
     */
    port: number;
}

and

ConfigLoader.fromFile(string): Config

[Bug]: Logger#error sends stdout

What happened?

logger level ERROR should log in stderr

Version

None

What Minecraft version are you running?

No response

Relevant log output

No response

[Feature]: Plugin loader

What feature would you like to see?

Create a class that plugins extend and gives them access to even low-level features.

Also needed plugin loader.

We could maybe somehow use NPM to inherit the benefits of package management.

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.