Send command with PHP your Bungee or Bukkit server!
BungeeCord and Spigot support!
%100 Customizable config!
Password protection method.
Fast socket system!
Multiple server support!
/websender command. Perm: websender.admin
PHP EXAMPLE:
Code (Text):
<?php
require_once("WebsenderAPI.php");
$wsr = new WebsenderAPI("127.0.0.1","123qwe","9876"); // HOST , PASSWORD , PORT
if($wsr->connect()){
$wsr->sendCommand("gamemode 1 CraftRise");
$wsr->sendMessage("hello server!"); // This method for developers. (This method calling a event for developers)
}else
echo "Connection error! Check info.";
$wsr->disconnect();
?>
PLUGIN CONFIG:
Code (Text):
socketPort: 9876
socketPassword: 123qwe
senderPrefix: '[WebSender]'
wrongPassword: Incorrect password, please enter it carefully.
wrongData: Please check PHP variables.
succesfullyLogin: Login is successful.
consoleInfo: 'true'
commandPermission: websender.admin
nothavePerm: You not have permission!
pluginReloaded: Websender reloaded!
If your os not Windows, please open port.
Code (Text):
First: login the console.
Step 1
iptables -A INPUT -m state --state NEW -p tcp --dport 9876 -j ACCEPT