[ADMIN] HTTPConsole IRC Bot Module

Discussion in 'Bukkit Tools' started by ks07, Apr 30, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    ks07

    HTTPConsole IRC Bot Module

    HTTPConsole by BlueJeansAndRain is a great plugin for executing console commands over an http connection, which I decided to write an IRC bot for to make administrating my server quicker and easier. Now that it works and does the basic tasks I need it to do, I decided to upload it for others to use. In short, this allows you to use all bukkit + plugin commands from an IRC channel that would usually work from the console. (e.g. kick, ban, promote, save-all)

    Download/Source Available on github:
    https://github.com/ks07/MCPass_Mod

    Usage and Installation:
    Readme (open)

    MCPass_Mod is a module for the PHP-IRC bot available for download at http://www.phpbots.org/ that connects to the HTTPConsole plugin (available here: http://forums.bukkit.org/threads/we...1-issue-console-commands-over-http-740.12504/) running on a Minecraft Bukkit server. Mainly written as a simple learning project, this module is very simple and provides only basic functions. This module has the potential to allow an attacker to gain access to your server console. Therefore, it is advised to use your IRC network's services to provide protection in the form of nickname registration and access control lists.

    ------------------------ Installation: ------------------------
    1) Download and configure PHP-IRC from http://www.phpbots.org/
    2) Download and configure the HTTPConsole plugin on your Bukkit server from http://forums.bukkit.org/threads/we...1-issue-console-commands-over-http-740.12504/
    3) Place the mcpass/ folder in the modules/ folder where you downloaded PHP-IRC
    4) Edit the mcpass.ini file to suit your setup, most importantly the nicknames, channel and port fields.
    5) Add the following line to the end of function.conf in your PHP-IRC folder: "include modules/mcpass/mcpass.conf"
    6) Start the IRC bot with php bot.php bot.conf (On Linux)

    ------------------------ Available Commands: ------------------------
    !mcdo <command string> -Runs the <command string> in the server console and replies with the output.
    !mcreload -Reloads the mcpass.ini settings.
    !mcallow <nick> -Temporarily allows <nick> to use all commands until the module is reloaded.
    !mcrevoke <nick> -Temporarily denies <nick> access to all commands until the module is reloaded.


    Changelog:
    Changelog (open)
    Version 1.0
    -Basic permissions and command blacklist.
    -Run console commands with !mcdo
    -Online settings reload.
    -Basic temporary permissions.
     
    AndyPandy89 likes this.
Thread Status:
Not open for further replies.

Share This Page