Go to file
Diego Martínez 024e657a20 Fixed crash on !adm_banlist 2013-01-13 03:16:14 -02:00
README.txt Updated README 2013-01-12 18:52:00 -02:00
_install.sh Added adm_grant/revoke 2012-12-27 21:48:54 -02:00
ban.lua Fixed crash on !adm_banlist 2013-01-13 03:16:14 -02:00
config.lua Added config.lua and ban.lua 2013-01-13 02:54:16 -02:00
depends.txt Init 2012-12-27 20:45:44 -02:00
give.lua Added support for (un)ban and multiple accounts 2013-01-12 18:30:10 -02:00
init.lua Added support for (un)ban and multiple accounts 2013-01-12 18:30:10 -02:00
privs.lua Added support for (un)ban and multiple accounts 2013-01-12 18:30:10 -02:00

README.txt

Remote Administration Mod
-------------------------

This is a mod fomr Minetest-C55 that allows some basic administration tasks
 to be performed on a game server via IRC.


Requirements
------------
  - Minetest 0.4.3+ (https://github.com/celeron55/minetest)
  - IRC Mod for Minetest (https://github.com/kaeza/minetest-irc)


Usage
-----
These are the bot commands added by this mod:

!adm_login <password>
  Authenticates the user to the system. Only authenticated users can use
   the other commands described here.

!adm_logout
  Closes the administration session. Once this is called, you must login
   again (with `!adm_login') to be able to use the admin commands.

!adm_grant <name> <privs>
  Grant privilege(s) <privs> to the player named <name>. It uses the same
   syntax as the /grant chat command.

!adm_revoke <name> <privs>
  Revoke privilege(s) <privs> to the player named <name>. It uses the same
   syntax as the /revoke chat command.

!adm_give <name> <stackstring>
  Give items <stackstring> to the player named <name>. It uses the same
   syntax as the /give chat command.

!adm_ban <name>
  Bans the player named <name>. Same as the /ban chat command.

!adm_unban <name>
  Unbans the player named <name> (may be name or IP). Same as the /unban
   chat command.

!adm_banlist <name>
  Lists the players currently banned.


Settings
--------
These settings are changed in `config.lua'.

mt_irc_admin.users (table)
  This table specifies which users are allowed to log-in, and their
   passwords.
  Example:
    mt_irc_admin.users = {
      admin = "1234",
      joemtuser = "abcd",
    }


License
-------
            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
                    Version 2, December 2004 

 Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> 

 Everyone is permitted to copy and distribute verbatim or modified 
 copies of this license document, and changing it is allowed as long 
 as the name is changed. 

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 

  0. You just DO WHAT THE FUCK YOU WANT TO.