Giter Club home page Giter Club logo

selectorserver's Introduction

Selector Server

A very light-weight server selection server software working under BungeeCord. It will automatically fetch the server list from BungeeCord.

screenshot

How Light-Weight?

It:

  • have NO server ticks: NO more CPU eatting
  • NO map caching: even blank chunks do cost RAM usage in Spigot/Bukkit servers
  • LESS networking: won't process packets except for joining and inventory packets
  • configure only ONCE(auto-fetch): just edit BungeeCord settings and reload BungeeCord ** note: If you choose the version supporting sub-menu and lores, you'll have to manually set the server list. **

Standby RAM usage around 60MB, almost no CPU usage. It can also fight against some join bots!

Installation

To use it, install NodeJS and run:

cd path/to/this/repo
npm install minecraft-protocol type-detect
node server.js

** note: Ignore type-detect if you are using auto-fetch version. **

Configuration(for auto-fetch version)

To configure it, simply open server.js, and edit stuffs:

/* ==== SETTINGS AREA ==== */
// port binding
const listen_host = "127.0.0.1";
const listen_port = "25570";
// translation replacement
const replacements = {
  "survival": "SOME TRANSLATION"
};
// messages
const message_loading = '\u00a7aLoading... ';
const menu_title = "\u00a70Choose a server";
const message_fetching = "\u00a7bFetching information... ";
const message_error_exit = "You didn't select a server to join! ";
/* == END OF SETTINGS AREA == */

selectorserver's People

Contributors

definitlyevil avatar lukeeey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.