這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Server Status For Minecraft PC & PE (MCServerStatus)

描述

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.

螢幕截圖

  • Runtime Photos
  • Setting Options 1
  • Setting Options 2

安裝

  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

常見問題

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.

評價

2021年11月9日 1 reply
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
2018年2月20日
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.
2017年3月29日
I have query and everything set correcntly, the plugin says server offline when its not.
2016年12月11日
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.
閱讀全部6個評價

貢獻者及開發者

“Server Status For Minecraft PC & PE (MCServerStatus)” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Server Status For Minecraft PC & PE (MCServerStatus) 外掛目前已有 4 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Server Status For Minecraft PC & PE (MCServerStatus) 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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