Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Server Status For Minecraft PC & PE (MCServerStatus)

Beskrivning

Server Status For Minecraft PC & PE is a WordPress Widget, show Minecraft Java and Bedrock editions server data.

GitHub: https://github.com/MCNewsTools/MCServerStatus-WordPressWidget

You can display / hide these information:

  • Server name (MOTD)
  • Status (online/offline)
  • IP address / hostname
  • Port
  • Server platform
  • Server software
  • Game version
  • Website
  • DynMap
  • Plugins count
  • Plugins list
  • Player count (current / maximum)
  • Player list
  • Player skin avatar

and more features are planned.

Other functions:

  • Display web site link
  • DynMap
  • Set player avatar size
  • Auto update status (Beta)

Precautions:

  • This method use GameSpy4 protocol, and requires enabling query listener in your server.properties like this: enable-query=true and query.port=25565.
  • Enabled query listener, can’t get server data, it may be that your website hosting provider doesn’t allow requests, you can try setting query port to 25565 (query.port=25565) in server.properties file and then testing it.
  • If you still can’t, please contact your website hosting provider.

If query listener cannot be used, it automatically switches to ping.

Skärmdumpar

  • Runtime Photos
  • Setting Options 1
  • Setting Options 2

Installation

  1. Upload all files to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Enabling query listener in your Minecraft server server.properties file, add enable-query=true and query.port=25565

Vanliga frågor

Installation Instructions
  1. Upload all files to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Enabling query listener in your Minecraft server server.properties file, add enable-query=true and query.port=25565
Why can’t get server data?

This method use GameSpy4 protocol, and requires enabling query listener in your server.properties like this:

enable-query=true
query.port=25565

I have enabled query listener, can’t get server data.

It may be that your website hosting provider doesn’t allow requests, you can try setting query port to 25565 (query.port=25565) in server.properties file and then testing it.

If you still can’t, please contact your website hosting provider.

Fatal error: Cannot redeclare class xxxxx in xxxxxx on line xx

Please close plugins with the same function, this plugin use xPaw/PHP-Minecraft-Query.

Recensioner

9 november 2021 1 svar
Gives the message beloves and inactivates itself when trying to use. Fatal error: Declaration of MCServerStatus_Widget::widget(array $args, array $instance) must be compatible with WP_Widget::widget($args, $instance) in C:\******\******\wp-content\plugins\server-status-for-minecraft-pc-pe\widget.php on line 60
20 februari 2018
Very easy to setup and DOES work. Make sure you follow instructions to set server.properties: enable-query=true query.port=25565 In my case, this port is the same as the server port. Not sure if it must be or not, but you probably need to forward the ports.
29 mars 2017
I have query and everything set correcntly, the plugin says server offline when its not.
11 december 2016
Fatal error: Cannot redeclare class MinecraftQueryException in /var/www/test/data/www/test.com/wp-content/plugins/server-status-for-minecraft-pc-pe/libs/MinecraftQuery.php on line 5 Understood. Widgets prevented another widget. Everything works fine.
Läs alla 6 betyg

Bidragsgivare och utvecklare

”Server Status For Minecraft PC & PE (MCServerStatus)” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Server Status For Minecraft PC & PE (MCServerStatus)” har översatts till 4 språk. Tack till översättarna för deras bidrag.

Översätt ”Server Status For Minecraft PC & PE (MCServerStatus)” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.3.3

  • Fix fatal error when displaying 2 widgets, By daniel-widrick.

1.3.2

  • Update Text Domain.
  • Not updated from version 1.3.0, need to reset Widget.

1.3.1

  • Update load_plugin_textdomain.
  • Not updated from version 1.3.0, need to reset Widget.

1.3.0

  • Solve some problems and add Ping query server.
  • Need to reset Widget after updating!

1.2.0

  • Update part of the code.

1.1.2

  • Add German translation, By koyuawsmbrtn.

1.1.1

  • Add Russian Translation, Thanks vvzar.

1.1.0

  • Some fine-tuning

1.0.0

  • First release