HomeJavaModsWebSender | Send Command with PHP (Bungee and Bukkit Support!)
WebSender | Send Command with PHP (Bungee and Bukkit Support!)
ModsJava

WebSender | Send Command with PHP (Bungee and Bukkit Support!)

⬇ Download on Spigot
Websender, ready to help you!

The project is now open source: https://github.com/yyunusyigit/websender
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

Step 2
service iptables save
 
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.

WebSender | Send Command with PHP (Bungee and Bukkit Support!) is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 19,081 times (via Spigot). Download it and open it directly in the game.

Explore more