Online status

Category:

Online status is our biggest feature and also most important in Magicraft theme. Thanks to this feature you can show on website online status of your server and how many players you have. Setup online status is very easy in theme but you have to do some important changes in your Minecraft server settings.

Configuring minecraft server

There are two different options how to setup server for online status. If you are hosting server on your own machines at home or you using dedicated server. Second option is when you are using special minecraft game server hostings. These hostings already have all configurations for online status and you don’t have to do any changes in your server properties.

  1. Go into your server folder where are all files about your minecraft server.
  2. Open server.properties and line where is enable-query=false change to enable-query=true
  3. Now find line where is query.port=25565 . If you don’t have this line, make it! And remember, query port should never be the same as server ports. It’s different port and has to be different.

Configuring online status in theme

  1. Go in your wordpress administration menu on the left side, click on Server Settings.
  2. In Server Settings administration you can easily add your server or servers and manage names and ip adresses.
  3. Put server name (eg. survival, pvp) in the input.
  4. Now you have to add ip adress of your server. It doesn’t matter if you using ip adress throught domain or just numeric ip adress with port. Our online status accepts all variations of ip adress.
  5. Under server name you have input for Server description. Put there some basic informations about your server.
  6. Save setting to see changes on the right side.
Online status server settings

Setup online status for more servers.

Yeah, I mentioned we also prepared online status for more servers. So If you have bigger community and more servers you can still simply show online status.

  1. When you add your first server, click on Add server  and administration show you new table to add servers.
  2. Fill in all informations as we did it before.
  3. You can add more servers if you want, or remove some just by clicking on Remove.
  4. Save all your setting.
Online status settings for more servers

 

Showing online status on page

When you setup your online status you have to show it on page through widgets.

  1. Go to Appearance > Widgets, and there you will have 2 widgets Minecraft server – Single and Minecraft server – Multi.
  2. Choose one of these widgets. If you want a list of servers then choose multi. If you want just one server solo, then go for solo.
  3. Now choose widget area, where you would like to put this new widget,  you can choose from Sidebar and Footer.
  4. So you added widget to widget area, great! Now just add few more settings.
  5. For Multi you see title, display title (It’s for design. If you want online status on the top of widgets don’t check it), and servers which you would like to show.
  6. Check boxes of servers which you want to show and Save.
  7. For Single you see title, display title ( Again it’s for design. If you want online status on the top of widgets don’t check it), and server which you would like to show.
  8. Select server which you want to show and hit Save.
Online status widgets