Sueta

WebSender | Send Command with PHP (Bungee and Bukkit Support

3.1

Send Command With PHP! For Bungee or Bukkit! Its Free!

·Plugin

Websender, ready to help you!

The project is now open source: https://github.com/yyunusyigit/websender

  • 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:

<?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:

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.

First: login the console.

Step 1
iptables -A INPUT -m state --state NEW -p tcp --dport 9876 -j ACCEPT

Step 2
service iptables save

Similar projects

Plugin →