Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.46 KB

README.rst

File metadata and controls

68 lines (51 loc) · 2.46 KB

ircbuilder

This package provides a python api for sending commands to a Minetest server over IRC.

The source for this package is available here.

To install

pip install ircbuilder

Requires Minetest with irc_builder mod

On Ubuntu or Debian linux:

sudo apt install minetest lua-socket
mkdir -p ~/.minetest/mods
cd ~/.minetest/mods
git clone --recursive [email protected]/minetest-mods/irc.git
git clone [email protected]:ShadowNinja/minetest-irc_commands.git irc_commands
git clone https://github.com/mt-mods/basic_materials.git
git clone https://github.com/mt-mods/signs_lib.git
git clone [email protected]:timcu/irc_builder.git
minetest

On Windows:

# Download and extract minetest-5.3.0-win64.zip to Documents folder (https://www.minetest.net/downloads/)
# Run Git-Bash (you will need to install it first. https://git-scm.com/download/)
cd ~/Documents/minetest/mods
git clone --recursive [email protected]/minetest-mods/irc.git
git clone [email protected]:ShadowNinja/minetest-irc_commands.git irc_commands
git clone https://github.com/mt-mods/basic_materials.git
git clone https://github.com/mt-mods/signs_lib.git
git clone [email protected]:timcu/irc_builder.git
exit
# Double click on Documents > minetest > bin > minetest.exe

On Mac OS X:

brew install minetest luarocks-5.1
luarocks-5.1 install luasocket
mkdir -p ~/Library/Application\ Support/minetest/mods
cd ~/Library/Application\ Support/minetest/mods
git clone --recursive [email protected]/minetest-mods/irc.git
git clone [email protected]:ShadowNinja/minetest-irc_commands.git irc_commands
git clone https://github.com/mt-mods/basic_materials.git
git clone https://github.com/mt-mods/signs_lib.git
git clone [email protected]:timcu/irc_builder.git
/usr/local/opt/minetest/minetest.app/Contents/MacOS/minetest

On Mac OS X using MacPorts:

sudo port install minetest luarocks
sudo -H luarocks install luasocket
cd /opt/local/share/lua/5.1
sudo ln -s ../5.3/socket
# Then continue from third line above

Once running, adjust the following settings:

# Settings > Advanced > Server/Singleplayer > Security > Trusted mods > irc
# Settings > Advanced > Mods > irc > Basic > Bot nickname > eg mtserver
# Settings > Advanced > Mods > irc > Basic > IRC server > eg irc.undernet.org
# Settings > Advanced > Mods > irc > Basic > IRC server port > eg 6667 or 6697
# Settings > Advanced > Mods > irc > Basic > Channel to join > eg ##myminetest