Hosting Servers
Using Online-Mode and adding them to the list.
Online-mode for old servers has been abandoned by Mojang, and has been broken until now.
Online-Mode is a great way to keep your servers secure, the way Mojang used to do it.
All methods listed below can fix online-mode for any legacy server, and add them to the server list.
Configuration
- server-name Name your server on the list. (59 characters max)
- serverlist-motd An MOTD for the server list. (59 characters max)
- serverlist-ip Show a custom IP / Host name on the server list.
- serverlist-port Show a custom port on the server list.
- public Toggle server listing. Set to false to hide a server.
- dont-list-players Hide the player list on your server.
- online-mode Enable server authentication for Alpha - Release
- verify-names Enable server authentication for Classic
- discord-token A discord bot token, set to enable the discord chat bridge, a discord-channel is also required.
- discord-channel A discord channel ID, set to enable the discord chat bridge, a discord-token is also required.
- discord-webhook-url An optional discord webhook URL to send messages through.
- version-md5 Specify which server version you're hosting.
In some cases this can be automatically detected, a list of server MD5s can be found here.
- Using MineOnline
- Using the Plugin (hMod or Bukkit)
- Manually Listing your Server
Servers can be launched through MineOnline using this command:
java -cp MineOnline.jar gg.codie.mineonline.Server (server.jar) [launch arguments]
If you're hosting a non-vanilla server (like bukkit), you'll need to tell MineOnline what version you're running by adding "version-md5" inside your server.properties file.
The MD5s for various servers can be found here. In the case where there are multiple versions, any one will work.
For example, a beta 1.7.3 server would use "version-md5=40F36C4EB86E8AC71D965EB0677D4A6F".
If you'd prefer not to host your server using MineOnline, and are running hMod or Bukkit, a plugin is available to list your server and/or restore online-mode.
Download
If you're using bukkit, you'll need to specify the "version-md5" in the plugin cofiguration file.
The MD5s for various servers can be found here . In the case where there are multiple versions, any one will work.
For example, a beta 1.7.3 server would use "version-md5=40F36C4EB86E8AC71D965EB0677D4A6F".
If you're comforable with scripting/programming, you can send the list request manually.
POST https://mineonline.codie.gg/api/servers
The request takes a JSON content body.
{
"name": "Codie's Classic Server",
"ip": "82.32.534.23",
"port": "26002",
"onlinemode": true,
"md5": "90632803F45C15164587256A08C0ECB4",
"whitelisted": false,
"max": 32,
"motd": "§dClassic Creative!",
"serverIcon": "(optional, base 64 string)"
"players": [ "codie", "kitsun3" ]
}
If you're hosting a classic server with verify-names=true, you'll also need to send a classic heartbeat request, but send it to mineonline.codie.gg instead of minecraft.net.