Giter Site home page Giter Site logo

servermappings's Introduction

Server Mappings

Summary

This is a public mapping of server IPs <-> a pretty display name. This data is used extensively around Lunar Client, most notably when displaying server names (or "Private Server", if unknown) on the friends list. Historically, this mapping was handled internally, and server owners did not have a good way to manage data for their server.

How do I add/update/remove a server?

Each server in ServerMappings is represented by a folder with an accompanying metadata.json and logo.png. Open a pull requrest in this repository whilst following the steps below, and we'll review it as soon as possible. Once merged, Lunar Client services will update over the next 20 minutes. Check out metadata.example.json as an example of how to structure your metadata file.

IP Addresses

The addresses array in each server object is actually an array of IP suffixes. For example, "addresses": ["lunar.gg", "other.domain"] will match lunar.gg, na.lunar.gg, play.other.domain, and so on.

Primary Info & Minecraft Versions

We also require your server's primary connection information and allowed client versions. The primaryAddress field should be an address included** in the addresses array. The minecraftVersions field must be an array of client versions allowed on your Minecraft server. (ie. 1.18, 1.19); The primaryMinecraftVersion field must be a version included in the minecraftVersions array. The versions you include must be versions that are directly offered in Lunar Client, which can be found in the version selector of the Lunar Client Launcher.

Logos

In addition to the data that you will need to provide in your metadata.json, you will need to upload a .png version of your logo into the same folder. All images are to be transparent, square (1:1 aspect ratio), and a minimum of 512px in width and height. The file name should be logo.png. We require the logo to be large as we perform a number of different transformations for all the various places in Lunar Client!

Backgrounds

Servers are also required to provide background image, you will need to upload a .png version of the background into the same folder as your metadata.json. Images should represent either the artistic style or the content of the server, with images needing to be a minimum of 1920px in width and 1080px in height, resulting in a 16:9 aspect ratio. The file name should be background.png. Backgrounds should be free of marketing, text, and/or any logos (that isn't part of a build).

Regions

In your metadata.json, you can define both a primaryRegion and regions which your server supports. Below is a table of the regions.

Region Code Name
AF Africa
AS Asia
EU Europe
NA North America
OC Oceania
SA South America

Game Types

Game types help identify the style of games that your server will offer to player. The following are games you may include: PvP, PvE, HCF, Factions, Minigames, Skyblock, Parkour, UHC, Hardcore, Survival, Open World, Prison, Creative, Roleplay, and Adventure.

You can add up to 3 unique types on the gameTypes field in your metadata.json.

Restrictions

We ask that this repository is only used to store mappings for public Minecraft servers. Some server IPs, such as private SMPs, tournament servers, etc. should not be listed in this repository, out of respect for privacy.

Lunar Client also reserves the right to omit any servers that do not comply with our Terms of Service.

Inactive Server Policy

If a server has closed down or has not been joinable for at least 3 months, we will add it to the inactive.json. This just flags our internal systems to not include the server in various place, but still retains all of the branding and other metadata you submit.

If you think your server has been added to this list by mistake, please make a support ticket at the link below.

Can I use this data for ___?

Go for it.

Any other questions?

Please contact us at support.lunarclient.com for any additional questions.

servermappings's People

Contributors

imconnorngl avatar growlyx avatar thatkawaiisam avatar k0m1d3v avatar itsjordan avatar ashtton avatar freaky767 avatar ohemilyy avatar tehneon avatar thekodetoad avatar moose1301 avatar miquelangelamengual avatar vopswtf avatar shastagrande avatar e-splat avatar akaiomoi avatar godl1nk avatar elb1to avatar notdomau avatar gatitouwu avatar dawn4life avatar danidev819 avatar cyberflamego avatar c0an avatar blazingtide avatar bettd avatar ryanmoodgaming avatar spqrkys avatar techloaf avatar valoriommx 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.