Coder Social home page Coder Social logo

mcnewstools / mcserverstatus-wordpresswidget Goto Github PK

View Code? Open in Web Editor NEW
17.0 5.0 13.0 449 KB

Minecraft PC & PE Server Status For WordPress Widget

Home Page: https://wordpress.org/plugins/server-status-for-minecraft-pc-pe

License: GNU Lesser General Public License v3.0

PHP 100.00%
wordpress wordpress-plugin minecraft minecraft-server mcpe mcpe-server minecraft-pocket-edition wordpress-widget player server-status

mcserverstatus-wordpresswidget's Introduction

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.

Download this plugin

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

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.

mcserverstatus-wordpresswidget's People

Contributors

daniel-widrick avatar gonetone avatar vvzar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mcserverstatus-wordpresswidget's Issues

Change query port?

I already have my query port set to 8193, as a few of the voting websites have query enabled. Is it possible to have this plugin check 8193 instead? I entered that in the widget config, and I also edited the plugin using the built in editor and replaced 2 instances of the number 25565 with 8193 but it still shows our server as offline.

Any help would be greatly appreciated!

SSL mixed content

Excuse me publishing issues in here, but I think that problem could be of interest really unlike the previous one. I've got an SSL certificate installed in my webserver as you can see in lentium but I permanently have got the mixed content message, that message is caused by your plugin, concretely the part to fetch the skins from cravatar.eu

<?php if ($server['server']['server_platform'] == 'MINECRAFT') { ?>
      <?php echo ' <img src="https://cravatar.eu/helmhead/' . $player['name'] . '/' . $instance['avatar-size'] . '.png">'; ?>
<?php } else { ?>
	<?php  echo ' <img src="https://cravatar.eu/helmhead/steve/' . $instance['avatar-size'] . '.png">'; ?>
<?php } ?>

As you can see I've tried solving this by switching http for https in online.phtml but the mixed content persist, I think finally that's caused by the way in which cravatar.eu provides the avatar, I found much clearer use Firefox to inspect images loaded in the website.

Of course people playing in MC server is needed, otherwise there will not be pics to load and all ssl would be right.

Maybe we should contact with cravatar admins?

Plugin don't recognise new IP

Recently the public IP provided by my ISP has changed and I've pointed my domain to my new IP but your plugin doesn't recognise the new domain as online, however if I setup the plugin with IP instead my domain works fine, maybe is a DNS propagation issue but I think is strange because have elapsed aprox 10 hours after IP change and still doesn't work properly. What do you think?

Thank you so much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.