Giter VIP home page Giter VIP logo

world-host-server-kotlin's Introduction

World Host Server

This is the server software for World Host that manages a list of online players and communications between them. It also serves as a proxy server for when UPnP is not available.

Proxy server

For the proxy server to work, --baseAddr needs to be passed, and a wildcard domain needs to be set up. For example, if wh.example.com is passed, there needs to be a CNAME for *.wh.

Analytics

Basic analytics about how many players are online as well as how many players are from each country are written to analytics.csv while the server is running. Information will be flushed to this file with the period specified with --analyticsTime (default every 10 minutes). --analyticsTime 0s will disable analytics.

world-host-server-kotlin's People

Contributors

gaming32 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

world-host-server-kotlin's Issues

Constant "ArrayChannel was cancelled"

My friend and I both tried to add each other, but when we do it still says 0 friends. We have both tried to host a single-player world, but nothing shows up in the "friends" tab - even though everything appears to work normally as it displays the port number in chat. Clicking refresh a couple times did not help.

(Their name is censored btw)
unknown_2023 03 13-10 33
unknown_2023 03 13-10 30

Server rewrite

Just a tracking issue for this claim:

Currently the server software is quite buggy (because of a strange Ktor bug that almost nobody else seems to have), but after a rewrite using a different framework, everything should be ok.

In depth tutorial on self hosting it please

Can you make a detailed tutorial on setting up the server.
I have an Ubuntu VPS and I am confused on how to set it up, as well as the DNS.

Right now, I executed
java -jar ./world-host-server-kotlin-all.jar --baseAddr "wh.example.com"

And have a CName record with value: *.wh and Target: wh.example.com

In-game, it fails to connect to the server wh.example.com.

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.