|
2 | 2 |
|
3 | 3 | ## Summary
|
4 | 4 |
|
5 |
| -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. |
| 5 | +Server Mappings is a collection of mappings for Minecraft servers, including the most popular servers such as Hypixel, Mineplex, and more. Server Mappings provides information such as server name, server icon and more. |
6 | 6 |
|
7 |
| -## How do I add/update/remove a server? |
8 |
| - |
9 |
| -Each server in ServerMappings is represented by a folder with an accompanying `metadata.json` and `logo.png`. Open a pull request 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. |
10 |
| - |
11 |
| -## IP Addresses |
12 |
| - |
13 |
| -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. The `primaryAddress` field is where you can include the desired subdomain (`na.lunar.gg`, `play.lunar.gg`) for users to connect to your server on and is required to be resolvable. This primary address will be used to ensure that the server remains online and active. |
14 |
| - |
15 |
| -## Primary Info & Minecraft Versions |
16 |
| - |
17 |
| -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. |
18 |
| - |
19 |
| -The `minecraftVersions` field must be an array of client versions allowed on your Minecraft server. *(ie. 1.18.1, 1.19.2)*; The `primaryMinecraftVersion` field must be a subversion of a major 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. |
20 |
| - |
21 |
| -If your server supports all of the subversions within a major version, you can list the version in `minecraftVersions` as `1.19.*`, but you will still need to specify the specific subversion in the `primaryMinecraftVersion` as this is the specific version that the client uses to Launch you into the game for Quick Joining. |
22 |
| - |
23 |
| -## Logos |
24 |
| - |
25 |
| -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! |
26 |
| - |
27 |
| -## Backgrounds |
| 7 | +For a full overview of the information which can be found in Server Mappings, [check out our documentation](https://lunarclient.dev/server-mappings/introduction). |
28 | 8 |
|
29 |
| -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). |
30 |
| - |
31 |
| -## Banners |
32 |
| - |
33 |
| -Servers may also provide a server banner - you will be made aware if this is a requirement for your server. If a banner is provided, it must be uploaded as either a `.png` version named `banner.png` (for static banners,) or a `.gif` version named `banner.gif` (for animated banners,) in the same folder as your `metadata.json`. Banners should represent the content of the server, and prominently feature the server's name and/or IP. All banners must be _a minimum of 340 pixels wide and 45 pixels high, resulting in a 68:9 aspect ratio._ Additionally, animated (GIF) banners must play at _20 frames per second_, and be no more than _10 seconds in duration_. |
34 |
| - |
35 |
| -## Regions |
36 |
| - |
37 |
| -In your `metadata.json`, you can define both a `primaryRegion` and `regions` which your server supports. Below is a table of the regions. |
38 |
| - |
39 |
| -| Region Code | Name | |
40 |
| -| --- | --- | |
41 |
| -| AF | Africa | |
42 |
| -| AS | Asia | |
43 |
| -| EU | Europe | |
44 |
| -| NA | North America | |
45 |
| -| OC | Oceania | |
46 |
| -| SA | South America | |
47 |
| - |
48 |
| -## Game Types |
49 |
| - |
50 |
| -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`. |
| 9 | +## How do I add/update/remove a server? |
51 | 10 |
|
52 |
| -You can add up to 3 unique types on the `gameTypes` field in your `metadata.json`. |
| 11 | +You can add your server to Server Mappings by creating a pull request on this repository. We ask that you **must** follow the guidelines detailed in [our documentation](https://lunarclient.dev/server-mappings/adding-servers/overview) on what you should include to have your server added. |
53 | 12 |
|
54 | 13 | ## Restrictions
|
55 | 14 |
|
56 | 15 | 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.
|
57 | 16 |
|
58 |
| -Lunar Client also reserves the right to omit any servers that do not comply with our [Terms of Service](https://www.lunarclient.com/terms). |
| 17 | +**Lunar Client also reserves the right to omit any servers that do not comply with our [terms of service](https://www.lunarclient.com/terms).** |
| 18 | + |
59 | 19 |
|
60 | 20 | ## Inactive Server Policy
|
61 | 21 |
|
62 | 22 | 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.
|
63 | 23 |
|
64 |
| -If you think your server has been added to this list by mistake, please make a support ticket at the link below. |
| 24 | +If you believe your server has been incorrectly marked as inactive, please contact us in the [Lunar Client Developers Discord](https://discord.gg/ww4UhsPNwf) or [create an issue](https://github.com/LunarClient/ServerMappings/issues/new). |
| 25 | + |
| 26 | +## Can I use this data for my project? |
65 | 27 |
|
66 |
| -## Can I use this data for ___? |
| 28 | +You are free to use this data for anything you wish. As long as it abides by [our terms of service](https://www.lunarclient.com/terms). You can read how to harness this data in our [documentation](https://lunarclient.dev/server-mappings/using-servermappings). |
67 | 29 |
|
68 |
| -Go for it! |
69 | 30 |
|
70 | 31 | ## Any other questions?
|
71 | 32 |
|
72 |
| -Please contact us at [support.lunarclient.com](https://support.lunarclient.com) for any additional questions. |
| 33 | +Please join our [Lunar Client Developers Discord](https://discord.gg/ww4UhsPNwf) for any additional questions. |
0 commit comments