Serverside changing the 'top right' World of Minecraft client area
Firstly, if this is in the wrong place, please move it.
I'm wondering how you could add more information into the top right client area where the server name is posted, however on WoMRealms, more information is there.
Is there a way to alter the information displayed for other servers, or is this just WoMRealms related?
thanks for that ill set
thanks for that ill set thiseup on minw
WoM Coins: 8565
But basically there's a bit of data you put into your MOTD to get World of Minecraft client to load a file from your webserver.
This data you put in is like:
"cfg=server.com/config.txt"
The config.txt file at http://server.com/config.txt will spit out client configuration information as per the document at http://files.worldofminecraft.com/textures.php
If you want the client to tell your server that it is a World of Minecraft client and can support extra data to be displayed at the top right, put in the "server.sendwomid = true" field.
When the client connects to your server it will send a command like "/womid 1.8.8" upon seeing this message your server can then send detail messages to the client to manipulate the data in the top right area.
Now in the World of Minecraft client, the top right fields are:
The server.name is the name of the server specified as server.name in the config.txt or the name supplied by the server to the client when it connected if not in the config.txt.
The server.detail is the server.detail line in the config.txt file.
The detail.user field is in the detail.user line in the config.txt file, and can be overridden by the server sending a detail message to the client.
The announcement fields are also manipulated by sending detail messages to the client.
A detail message looks like this:
This particular message if sent to a World of Minecraft Game Client, will change the third line to "Hello world."
The following detail messages are currently supported.
Here is an example typical session:
Client connects to server.
Authentication occurs.
Server sends Server Identification packet to client with Server name field set to "++++ My Server ++++" and Server MOTD field set to "Welcome +hax cfg=tinyurl.com/af47djk"
Client downloads http://tinyurl.com/af47djk which is a config file that tells it:
Upon downloading this, the second line in the connecting screen will change to "Welcome to my server!".
As soon as the map loads, the top right area of the screen will now say:
The client will then send a command to the server: "/womid 1.8.8"
The server can now store the fact that the World of Minecraft client version is 1.8.8 and can accept detail messages.
The server then sends some messages to the client like:
The top right part of the screen will now read: