PHPsend: Remote Server Control via PHP

Unlocking Remote Server Control with PHPsend for Minecraft Managing a Minecraft server often means being tied to the console or relying on in-game operator commands. But what if you could send commands from your own website, a custom dashboard, or even a mobile app? That is exactly what the PHPse...

Download PHPSend1.1 for Minecraft 1.5.1, 1.4.2, 1.3.1

Original name: PHPSend1.1

Minecraft: 1.3.1, 1.4.2, 1.5.1

FileVersionLoaderSize
PHPSend1.1.zip——16 КБDownload
PHPsend07.zip1.3.1—6 КБDownload
PHPsend09.zip1.3.1—9 КБDownload
PHPsend1.0.zip1.4.2—26 КБDownload
PHPSend.jar1.5.1—19 КБDownload
PHPSendWebFiles.zip1.5.1—1 КБDownload

Unlocking Remote Server Control with PHPsend for Minecraft

Managing a Minecraft server often means being tied to the console or relying on in-game operator commands. But what if you could send commands from your own website, a custom dashboard, or even a mobile app? That is exactly what the PHPsend plugin makes possible. It bridges the gap between your web environment and your Minecraft server, allowing you to execute console commands securely through simple PHP scripts. Whether you run a small community server or a large network, this lightweight tool opens up a world of automation and remote administration.

What Is PHPsend and Why Does It Matter?

PHPsend is a Bukkit/Spigot plugin that exposes a tiny HTTP API on a configurable port, letting external PHP applications authenticate and push commands directly to the server console. Instead of building complex RCON wrappers or polling log files, you get a clean, modern interface designed specifically for PHP. The plugin handles authentication via SHA1 hashing, supports IP whitelisting, and even allows commands to be associated with a specific player for permission checks. All of this runs with minimal overhead, making it ideal for servers that value performance.

Key Features That Set PHPsend Apart

  • Web-based command execution: Run any console command from your website, including /say, /give, /kick, or custom plugin commands.
  • SHA1 password authentication: Securely validate requests without sending plain-text credentials over the network.
  • IP whitelist: Restrict access to known PHP scripts and server IPs, adding an extra layer of protection.
  • Configurable port: Change the listening port (default 11223) to fit your firewall rules.
  • Player-associated commands: Execute commands as if a specific player typed them, preserving permission nodes and logging.
  • Reload support: Use /phpsend reload to refresh configuration and whitelist without restarting the server.
  • Minimal footprint: Extremely lightweight codebase that won’t drag down your server’s TPS.
  • Comprehensive API: Includes both plugin hooks and PHP-side functions to simplify integration.

Understanding the New Version and Protocol Changes

The latest release brought a major naming overhaul: all functions and protocol names now use the PHPS prefix instead of the old PHP prefix. For example, the former PHPconnect is now PHPSconnect, and the plugin itself is referenced as PHPSend. This change was made to avoid conflicts and align with future updates. If you are upgrading from an older version, you will need to update your PHP scripts accordingly. The protocol documentation has been fully revised to reflect these changes, and the built-in logging system now respects a configurable logging level, eliminating the console spam that plagued earlier builds.

Getting Started: Installation and Configuration

Setting up PHPsend is straightforward. After downloading the plugin JAR, place it in your server’s plugins folder and restart the server. A default configuration file will be generated, where you can set the listening port, the shared secret (used for SHA1 hashing), and the IP whitelist. The plugin is so lightweight that you can have it running in under a minute. If you prefer a more visual approach to managing your Minecraft tools, the foxygame.net launcher offers a modern and flexible way to install plugins like PHPsend directly from its menu, making the whole process even smoother for server admins who like to keep everything in one place.

Once the plugin is active, you can test the connection using a simple PHP script. The API expects a POST request with parameters such as password (hashed), command, and optionally player. The plugin verifies the hash, checks the IP against the whitelist, and executes the command. A successful response returns a JSON object with the command output. This flow makes it trivial to build a live server status panel, a donation reward system, or an admin control panel that works from anywhere.

Exploring the API: Functions and Hooks

For developers, PHPsend provides a rich set of API functions on both the PHP side and the plugin side. On the PHP end, you have PHPSconnect to establish a connection, PHPSsendCommand to fire a command, and several utility functions to handle responses. On the Bukkit side, a new event hook called onWebCommandAsPlayer lets other plugins intercept or modify commands that arrive with a player association. This is incredibly useful for logging, rate limiting, or integrating with anti-grief systems. The codebase has been cleaned up, with more exceptions handled gracefully, making it stable for production use.

Security Best Practices with PHPsend

Because you are opening a network port that accepts commands, security must be a top priority. Always use a strong, randomly generated secret and keep it confidential. Enable the IP whitelist so that only your web server’s IP address can connect. If your website runs on the same machine, bind the plugin to localhost (127.0.0.1) in the configuration. The switch to SHA1 hashing in the latest version improves integrity, but you should still consider using HTTPS on your website to protect the secret during transmission. Regularly audit your PHP scripts to ensure they are not leaking the secret or accepting unauthorized input.

Real-World Applications for Your Server

PHPsend shines when you need to bridge the gap between your web presence and the game world. Imagine a donation page that automatically grants in-game ranks or items via a PHP callback. Or a live map that lets moderators issue warnings directly from a web interface. You could even build a mini-game lobby where players queue up from a website and are teleported into the game automatically. The plugin’s ability to associate commands with a player ensures that permissions are enforced, so a web-triggered /ban command will only work if the associated player has the required permission node.

Development Builds and Community Support

For those who want to test the latest features before they hit the stable release, development builds are available through the project’s continuous integration server. These builds are not officially approved by BukkitDev staff, so use them with caution. The source code is also open for inspection, allowing server owners to verify exactly what the plugin does. The documentation includes a full protocol reference, API tutorials, and a step-by-step guide for creating a simple online player list website, making it accessible even for those new to PHP.

Conclusion: A Must-Have Tool for Web-Connected Servers

PHPsend transforms the way you interact with your Minecraft server by giving you a secure, scriptable command interface that fits neatly into any PHP-based website. Its tiny footprint, robust authentication, and player-aware command execution make it a standout choice for server administrators who value automation and remote control. Whether you are building a custom admin panel, a donation reward system, or simply want to trigger server commands from a cron job, PHPsend delivers the flexibility you need without the bloat. Upgrade your server management today and experience the convenience of web-powered Minecraft administration.