Skip to content

Commit e872a59

Browse files
authored
Merge branch 'CheatBreakerNet:master' into master
2 parents f2e9970 + cd93915 commit e872a59

25 files changed

+226
-125
lines changed

mappings/README.md

Lines changed: 2 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,8 @@
11
# Server Mappings
22

3-
## Summary
3+
## Documentation
44

5-
This is a public mapping of server IPs <-> a pretty display name. This data is used extensively around CheatBreaker, most notably when displaying server names (or "Private Server", if unknown) on the friends list and the Discord RPC. Historically, this mapping was handled internally, and server owners did not have a good way to manage data for their server.
6-
7-
## How do I add/update/remove a server?
8-
9-
Each server in this repository is represented by a folder with an accompanying `metadata.json`, `logo.png`, `icon.png`, `primarybackground.png` and `secondarybackground.png`. Open a [pull request](https://github.com/CheatBreakerNet/Client-API/pulls) in this repository whilst following the steps below, and we'll review it as soon as possible. Once merged, CheatBreaker's services will update over the next 5 minutes (depending on when the cache resets). Check out `metadata.example.json` as an example of how to structure your metadata file.
10-
11-
**Note: Do not modify any other repository files! All your edits must be inside your server's folder.**
12-
13-
## IP Addresses
14-
15-
The `addresses` array in each server object is actually an array of IP _suffixes_. For example, `"addresses": ["goldenpvp.net", "other.domain"]` will match `goldenpvp.net`, `na.goldenpvp.net`, `play.other.domain`, and so on. The `primaryAddress` field is where you can include the desired subdomain (`na.goldenpvp.net`, `play.goldenpvp.net`) 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.
16-
17-
## Primary Info & Minecraft Versions
18-
19-
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.
20-
21-
The `minecraftVersions` field must be an array of client versions allowed on your Minecraft server. *(ie. 1.7.10, 1.8.9)*; The `primaryMinecraftVersion` field must be a subversion of a major version included in the `minecraftVersions` array. **The versions you include must at least be versions that are directly offered in CheatBreaker**, which can be found in the version selector of the CheatBreaker Launcher. However, we also support intended versions:
22-
23-
- 1.9.*
24-
- 1.10.*
25-
- 1.11.*
26-
- 1.12.*
27-
- 1.16.*
28-
- 1.17.*
29-
- 1.18.*
30-
- 1.19.*
31-
- 1.20.*
32-
- 1.21.*
33-
34-
We only allow intended versions as long as your list contains at least one version supported from our services.
35-
36-
If your server supports all of the subversions within a major version, you can list the version in `minecraftVersions` as `1.7.*`, 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 Connecting.
37-
38-
## Logos
39-
40-
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 (108x108 `logo.png`), a server icon (64x64 `icon.png`) and a Discord logo (between 512x512 & 1024x1024 `discord.png`) into the same folder. All images are to be _transparent_, with the exception of the Discord logo, which can have a background.
41-
42-
## Backgrounds
43-
44-
**Partnered servers** are also required to provide background images, you will need to upload a `.png` version of the primary background (774x363 `primarybackground.png`) and a secondary background (447x172 `secondarybackground.png`) into the same folder as your `metadata.json`. Images should represent either the artistic style or the content of the server. Backgrounds should be free of marketing, text, and/or any logos (on the primary background) (that isn't part of a build).
45-
46-
## Regions
47-
48-
In your `metadata.json`, you can define both a `primaryRegion` and `regions` which your server supports. Below is a table of the regions.
49-
50-
| Region Code | Name |
51-
| --- | --- |
52-
| AF | Africa |
53-
| AS | Asia |
54-
| EU | Europe |
55-
| NA | North America |
56-
| OC | Oceania |
57-
| SA | South America |
58-
59-
## Game Types
60-
61-
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`.
62-
63-
You can add up to 3 unique types on the `gameTypes` field in your `metadata.json`.
64-
65-
## Restrictions
66-
67-
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.
68-
69-
CheatBreaker reserves the right to omit any servers.
70-
71-
## Problematic Enforcement
72-
73-
While this will be rare. If a server is found to be problematic for our userbase, we will add it to the `problematic.json`. The list will go as follows:
74-
75-
### Mark
76-
77-
The server has been deemed problematic, but no further decision has been made yet. If the server continues to be problematic after 7-30 days, the server will then proceed one or more levels as shown below.
78-
79-
### Minor
80-
81-
The server has caused issues with our userbase, but is only for a minor reason. This includes but is not limited to:
82-
83-
- Client crashes from the server
84-
- API tampering
85-
- Misinformation directly related to our services
86-
87-
Users will encounter a 10 second, skippable warning prompt upon attempting to join the server.
88-
89-
### Unsafe
90-
91-
The server has been deemed unsafe; however, users will still be allowed to join. Reasons may include:
92-
93-
- Failure to keep playerbase safe from any malicious activity
94-
- Sensitive data breach. This will only be for one time offensives
95-
- Extreme lack of rule enforcement from server moderation team.
96-
97-
Users will encounter a 30 second, non skippable warning prompt. The server will also not be promoted on our client Discord RPC, and will instead show that they are playing on an unsafe server.
98-
99-
### Block
100-
101-
The server has been deemed problematic to where we do not feel comfortable allowing users to join the server. Reasons may include:
102-
103-
- Malicious activity from ownership or developers
104-
- Repeated sensitive data breaches
105-
- Disallowing CheatBreaker services without any proper communication to us
106-
107-
Users will not be able to join the server through our services.
108-
109-
## Inactive Server Policy
110-
111-
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.
112-
113-
If you think your server has been added to this list by mistake, please create a new [issue](https://github.com/CheatBreakerNet/Client-API/issues).
5+
Documentations for adding/editing/deleting a server can be found [here](https://docs.cheatbreaker.net/category/server-mappings).
1146

1157
## Any other questions?
1168

mappings/inactive.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[
2-
"cobra",
3-
"vanicnetwork"
2+
"cobra"
43
]

mappings/index.json

Lines changed: 73 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,15 @@
153153
"description": "The home of European PvP",
154154
"addresses": [
155155
"coldnetwork.net",
156-
"coldpvp.com"
156+
"coldpvp.com",
157+
"coldgames.fun"
157158
],
158159
"primaryAddress": "play.coldnetwork.net",
159160
"minecraftVersions": [
160-
"1.7.10",
161-
"1.7",
162161
"1.8.9",
163162
"1.8"
164163
],
165-
"primaryMinecraftVersion": "1.7.10",
164+
"primaryMinecraftVersion": "1.8.9",
166165
"primaryColor": "#0da1de",
167166
"secondaryColor": "#081723",
168167
"primaryLanguage": "en",
@@ -179,12 +178,12 @@
179178
"PvP",
180179
"Minigames"
181180
],
182-
"website": "https://coldnetwork.net/",
181+
"website": "https://coldgames.fun/",
183182
"store": "https://store.coldnetwork.net/",
184183
"socials": {
185184
"twitter": "coldnetworknet",
186185
"discord": "https://discord.com/invite/NX9U5ZR",
187-
"youtube": "coldnetworknet"
186+
"youtube": "@ColdGamesFun"
188187
},
189188
"inactive": false
190189
},
@@ -297,6 +296,40 @@
297296
},
298297
"inactive": false
299298
},
299+
{
300+
"id": "ezpvp",
301+
"name": "EzPvP Network",
302+
"description": "KitPvP Network in Europe",
303+
"addresses": [
304+
"ezpvp.lol",
305+
"jamals.lol"
306+
],
307+
"primaryAddress": "ezpvp.lol",
308+
"minecraftVersions": [
309+
"1.7.10",
310+
"1.7",
311+
"1.8.9",
312+
"1.8"
313+
],
314+
"primaryMinecraftVersion": "1.8.9",
315+
"primaryColor": "#AF15CA",
316+
"secondaryColor": "#FFFFFF",
317+
"primaryLanguage": "en",
318+
"languages": [
319+
"en"
320+
],
321+
"primaryRegion": "EU",
322+
"regions": [
323+
"EU"
324+
],
325+
"gameTypes": [
326+
"PvP"
327+
],
328+
"socials": {
329+
"telegram": "EzPvPPractice"
330+
},
331+
"inactive": false
332+
},
300333
{
301334
"id": "goldenpvpnetwork",
302335
"name": "GoldenPvP Network",
@@ -728,6 +761,40 @@
728761
},
729762
"inactive": false
730763
},
764+
{
765+
"id": "sorux",
766+
"name": "Sorux Network",
767+
"description": "PvP Based Network",
768+
"addresses": [
769+
"sorux.net"
770+
],
771+
"primaryAddress": "sorux.net",
772+
"minecraftVersions": [
773+
"1.8.9",
774+
"1.8"
775+
],
776+
"primaryMinecraftVersion": "1.8.9",
777+
"primaryColor": "#f26151",
778+
"secondaryColor": "#6a2338",
779+
"primaryLanguage": "en",
780+
"languages": [
781+
"en"
782+
],
783+
"primaryRegion": "EU",
784+
"regions": [
785+
"EU"
786+
],
787+
"gameTypes": [
788+
"PvP",
789+
"Minigames"
790+
],
791+
"website": "https://sorux.net",
792+
"store": "https://sorux.net/store/",
793+
"socials": {
794+
"discord": "https://discord.gg/mHAbWWNZB6"
795+
},
796+
"inactive": false
797+
},
731798
{
732799
"id": "spalion",
733800
"name": "Spalion",

mappings/metadata.example.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
"website": "https://goldenpvp.net",
2929
"socials": {
3030
"twitter": "GoldenPvPNet"
31-
}
31+
},
32+
"thirdPartyAPIs": [
33+
"Apollo"
34+
]
3235
}

mappings/metadata.schema.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@
118118
"type": "string"
119119
}
120120
}
121+
},
122+
"thirdPartyAPIs": {
123+
"type": "array",
124+
"uniqueItems": true,
125+
"items": {
126+
"$ref": "#/definitions/ThirdPartyAPI"
127+
}
121128
}
122129
},
123130
"definitions": {
@@ -202,6 +209,12 @@
202209
"Roleplay",
203210
"Adventure"
204211
]
212+
},
213+
"ThirdPartyAPI": {
214+
"type": "string",
215+
"enum": [
216+
"Apollo"
217+
]
205218
}
206219
}
207220
}

mappings/servers/coldnetwork/metadata.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"description": "The home of European PvP",
55
"addresses": [
66
"coldnetwork.net",
7-
"coldpvp.com"
7+
"coldpvp.com",
8+
"coldgames.fun"
89
],
910
"primaryAddress": "play.coldnetwork.net",
1011
"minecraftVersions": [
11-
"1.7.*",
1212
"1.8.*"
1313
],
14-
"primaryMinecraftVersion": "1.7.10",
14+
"primaryMinecraftVersion": "1.8.9",
1515
"primaryColor": "#0da1de",
1616
"secondaryColor": "#081723",
1717
"primaryLanguage": "en",
@@ -28,11 +28,11 @@
2828
"PvP",
2929
"Minigames"
3030
],
31-
"website": "https://coldnetwork.net/",
31+
"website": "https://coldgames.fun/",
3232
"store": "https://store.coldnetwork.net/",
3333
"socials": {
3434
"twitter": "coldnetworknet",
3535
"discord": "https://discord.com/invite/NX9U5ZR",
36-
"youtube": "coldnetworknet"
36+
"youtube": "@ColdGamesFun"
3737
}
38-
}
38+
}
405 KB
Loading
10.8 KB
Loading
19.9 KB
Loading
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"id": "electronnetwork",
3+
"name": "Electron Network",
4+
"description": "A unique PVP server with HCF, PVP and minigames.",
5+
"addresses": [
6+
"electronmc.club"
7+
],
8+
"primaryAddress": "electronmc.club",
9+
"primaryColor": "#AA00AA",
10+
"secondaryColor": "#AAAAAA",
11+
"primaryLanguage": "en",
12+
"languages": [
13+
"en"
14+
],
15+
"minecraftVersions": [
16+
"1.7.*",
17+
"1.8.*"
18+
],
19+
"primaryMinecraftVersion": "1.8.9",
20+
"primaryRegion": "EU",
21+
"regions": [
22+
"EU"
23+
],
24+
"gameTypes": [
25+
"HCF",
26+
"PVP",
27+
"Minigames"
28+
],
29+
"website": "https://www.electronmc.club/",
30+
"store": "https://store.electronmc.club/",
31+
"socials": {
32+
"discord": "https://dsc.gg/electronmc"
33+
"youtube": "ElectronNetwork"
34+
"twitter": "ElectronNetMC"
35+
}
36+
}

0 commit comments

Comments
 (0)