Home›Java›Mods›PHPInfo
ModsJava

PHPInfo

Minecraft Java mod. Download on the author's site.

⬇ Download on Spigot
PHPInfo collects server statistics like Ticks Per Second, Total players online, RAM Used, and the server Uptime. This data, along with the name of the server will be sent to a PHP web server repetitively with a user specified gap between each time. The plugin uses the GET method to send the data. It also has a password field that it sends to the PHP server, in case the user would like to password protect their PHP file.

This plugin is useful for PHP/Web developers who would like to mess around with their server stats on the interweb. There are various uses of this such as making applications that show the current status of the Server, and notify people if the it is experiencing downtime.

jeff142 has written a simple php page that works as an api, saving the last 15 or so data lines received from the plugin in a html page. You may check it out HERE.

If you like my work, please consider donating, I would greatly appreciate it. [​IMG]

Commands
/sendinfo
/si
These commands are used to send server stats to the PHP server manually. They do not affect the auto timer.

Permissions
PHPInfo.sendinfo - Allows the player to use the /sendinfo command.

Config.yml
Code (Text):
PHP Script: http://localhost/index.php
#link to the PHP script including the http:// tag.
Interval: 5
# Interval is the time in minutes before the plugin writes the Server Stats into Stats.txt. Minimum interval is 2 minutes.
Server Name: A Minecraft Server
#Name of this server goes here. This is used when posting to the webserver.
Password: pass
#You can use this field if you want to encrypt your php data with a password. The plugin sends the password a along with the other variables to the php server.
PHPInfo Repository can be found HERE

The code for the PHP page developed by jeff142 can be found HERE

This plugin is licensed under CC Attribution-ShareAlike 4.0 International

In very basic terms, Do whatever you want with the code of this plugin, as long as you give credits to the author and/or the plugin itself.

Plugin made by a member of
[​IMG]


Please leave a comment or rate the plugin, and tell us what you think of it. We would greatly appreciate it
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PHPInfo is a free Minecraft Java mod. Downloaded 2,208 times (via Spigot). Download it and open it directly in the game.

Explore more