SkRcon - Addon for Skript 1.1

execute a skript command with RCON !

  1. TheWinuXs
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    By default RCON deny the command Skript !

    Features

    • execute a command Skript with Rcon

    Commands
    • /skc <command Skript> or /skcommand <command Skript>
    Installation
    1. Put SkRcon in your /plugins folder
    2. Restart or reload your server
    No configuration ! :p
    Example

    PHP:

    <?php
    require_once('rcon.php');

    $host = 'some.minecraftserver.com'; // Server host name or IP
    $port = 25567;  // Port rcon is listening on
    $password = 'server-rcon-password'; // rcon.password setting set in server.properties
    $timeout = 3;  // How long to timeout.

    $rcon = new Rcon($host, $port, $password, $timeout);

    if ($rcon->connect())
    {
      $rcon->send_command("skc shout test");
    }
    ?>
     
    Code (YAML):

    command /shout <text>
    :
        trigger
    :
           broadcast "%arg%"
     

    https://github.com/thedudeguy/PHP-Minecraft-Rcon
    # Compiled with spigot api 1.8.8

Recent Updates

  1. Fix code

Recent Reviews

  1. Kwizzy
    Kwizzy
    5/5,
    Version: 1.0
    Excellent job