diff options
| author | Matthew <pugmatt@gmail.com> | 2020-12-15 23:25:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-15 23:25:42 -0500 |
| commit | 37d2c34ff97efbc74652c58bf1ba8d749b9c41c5 (patch) | |
| tree | 991d181238fd79f6d694cfaaf5b562999d4b6000 /README.md | |
| parent | 382fd504bec9c586f7ae52a78260b533cce208ce (diff) | |
| parent | 26168fb5c8a038b5469ceea65975a35a7e940587 (diff) | |
| download | BedrockConnect-1.6.tar.gz BedrockConnect-1.6.tar.bz2 BedrockConnect-1.6.zip | |
Merge pull request #125 from Technoguyfication/master1.6
Add support for global custom servers
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -60,12 +60,37 @@ The following arguments can be placed in the startup command to ajust settings: | nodb | If true, use JSON files for data instead of MySQL | false | | generatedns | If true, generate a DNS zone file using user input (Only needed if you're using the mod0Umleitung DNS software) | false | | kick_inactive | If true, players will be kicked after 10 minutes of inactivity with the serverlist UI | true | +| custom_servers| Sets the path to a custom server file, for specifying your servers in the list for all players. See [custom servers](#defining-your-own-custom-servers). | | MySQL example: ``` java -jar BedrockConnect-1.0-SNAPSHOT.jar mysql_pass=test123 server_limit=10 ``` +# Defining your own custom servers + +When hosting your own serverlist server, you add your own custom servers to the top of the serverlist for all players. To get started, create a JSON file and follow this format: +```json +[ + { + "name": "My Custom Server 1", + "iconUrl": "https://i.imgur.com/3BmFZRE.png", + "address": "mc1.example.com", + "port": 19132 + }, + { + "name": "My Custom Server 2", + "iconUrl": "https://i.imgur.com/3BmFZRE.png", + "address": "mc2.example.com", + "port": 19132 + } +] +``` + +Then, add this argument to your startup script: `custom_servers=[path to json file]` + +The icon URL is not required, if omitted it will show the default icon. + # Libraries used - [NukkitX Bedrock Protocol Library](https://github.com/NukkitX/Protocol) |
