mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 07:50:29 +01:00
Updated IRC mod
This commit is contained in:
parent
58493231a2
commit
2cb0ad809f
@ -6,28 +6,31 @@ Introduction
|
|||||||
This mod is just a glue between IRC and Minetest. It provides two-way
|
This mod is just a glue between IRC and Minetest. It provides two-way
|
||||||
communication between the in-game chat, and an arbitrary IRC channel.
|
communication between the in-game chat, and an arbitrary IRC channel.
|
||||||
|
|
||||||
The forum topic is at http://minetest.net/forum/viewtopic.php?id=3905
|
The forum topic is at https://forum.minetest.net/viewtopic.php?f=11&t=3905
|
||||||
|
|
||||||
|
|
||||||
Installing
|
Installing
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Quick one line install for linux:
|
Quick one line install for Linux:
|
||||||
|
|
||||||
cd <Mod directory> && git clone https://github.com/kaeza/minetest-irc.git irc && cd irc && git submodule update --init
|
cd <Mods directory> && git clone --recursive https://github.com/kaeza/minetest-irc.git irc
|
||||||
|
|
||||||
Please change `<Mod directory>` to fit your installation of minetest.
|
Please change `<Mods directory>` to fit your installation of Minetest.
|
||||||
For more information, see [the wiki](http://wiki.minetest.net/Installing_mods).
|
For more information, see [the wiki](http://wiki.minetest.net/Installing_mods).
|
||||||
|
|
||||||
The Minetest IRC mod uses submodules, therefore you will have to run
|
The IRC mod's git repository uses submodules, therefore you will have to run
|
||||||
`git submodule init` when first installing the mod, and `git submodule update`
|
`git submodule init` when first installing the mod (unless you used
|
||||||
every time that a submodule is updated. These steps can be combined as
|
`--recursive` as above), and `git submodule update` every time that a submodule
|
||||||
`git submodule update --init`.
|
is updated. These steps can be combined into `git submodule update --init`.
|
||||||
|
|
||||||
The Minetest IRC mod also requires LuaSocket. This can be installed using your
|
You'll need to install LuaSocket. You can do so with your package manager on
|
||||||
package manager on many distributions, for example on Arch Linux:
|
many distributions, for example:
|
||||||
|
|
||||||
|
# # On Arch Linux:
|
||||||
# pacman -S lua51-socket
|
# pacman -S lua51-socket
|
||||||
|
# # On Debian/Ubuntu:
|
||||||
|
# apt-get install lua-socket
|
||||||
|
|
||||||
|
|
||||||
Settings
|
Settings
|
||||||
@ -35,10 +38,10 @@ Settings
|
|||||||
All settings are changed in `minetest.conf`. If any of these settings
|
All settings are changed in `minetest.conf`. If any of these settings
|
||||||
are not set, the default value is used.
|
are not set, the default value is used.
|
||||||
|
|
||||||
* `irc.server` (string, default "irc.freenode.net")
|
* `irc.server` (string)
|
||||||
This is the IRC server the mod connects to.
|
The address of the IRC server to connect to.
|
||||||
|
|
||||||
* `irc.channel` (string, default "##mt-irc-mod")
|
* `irc.channel` (string)
|
||||||
The IRC channel to join.
|
The IRC channel to join.
|
||||||
|
|
||||||
* `irc.interval` (number, default 2.0)
|
* `irc.interval` (number, default 2.0)
|
||||||
@ -46,15 +49,14 @@ are not set, the default value is used.
|
|||||||
least 2.0 but can be higher. After four messages this much
|
least 2.0 but can be higher. After four messages this much
|
||||||
time must pass between folowing messages.
|
time must pass between folowing messages.
|
||||||
|
|
||||||
* `irc.nick` (string, default "MT-FFFFFF")
|
* `irc.nick` (string)
|
||||||
Nickname used as "proxy" for the in-game chat.
|
Nickname the server uses when it connects to IRC.
|
||||||
'F' stands for a random base-16 number.
|
|
||||||
|
|
||||||
* `irc.password` (string, default "")
|
* `irc.password` (string, default nil)
|
||||||
Password to use when connecting to the server.
|
Password to use when connecting to the server.
|
||||||
|
|
||||||
* `irc.NSPass` (string, default nil)
|
* `irc.NSPass` (string, default nil)
|
||||||
NickServ password. Don't use this if you use SASL authentication.
|
NickServ password. Don't set this if you use SASL authentication.
|
||||||
|
|
||||||
* `irc.sasl.pass` (string, default nil)
|
* `irc.sasl.pass` (string, default nil)
|
||||||
SASL password, same as nickserv password.
|
SASL password, same as nickserv password.
|
||||||
@ -62,7 +64,7 @@ are not set, the default value is used.
|
|||||||
if the server supports it.
|
if the server supports it.
|
||||||
|
|
||||||
* `irc.sasl.user` (string, default `irc.nick`)
|
* `irc.sasl.user` (string, default `irc.nick`)
|
||||||
The SASL username. This should normaly be set to your main NickServ account name.
|
The SASL username. This should normaly be set to your NickServ account name.
|
||||||
|
|
||||||
* `irc.debug` (boolean, default false)
|
* `irc.debug` (boolean, default false)
|
||||||
Whether to output debug information.
|
Whether to output debug information.
|
||||||
@ -84,13 +86,11 @@ are not set, the default value is used.
|
|||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Once the game is connected to the IRC channel, chatting using the 'T' or
|
Once the game is connected to the IRC channel, chatting in-game will send
|
||||||
F10 hotkeys will send the messages to the channel, and will be visible
|
messages to the channel, and will be visible by anyone. Also, messages sent
|
||||||
by anyone. Also, when someone sends a message to the channel, that text
|
to the channel will be visible in-game.
|
||||||
will be visible in-game.
|
|
||||||
|
|
||||||
Messages that begin with `[off]` from in-game or IRC are not sent to the
|
Messages that begin with `[off]` from in-game or IRC are not sent to the other side.
|
||||||
other side.
|
|
||||||
|
|
||||||
This mod also adds a few chat commands:
|
This mod also adds a few chat commands:
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ This mod also adds a few chat commands:
|
|||||||
|
|
||||||
You can also send private messages from IRC to in-game players.
|
You can also send private messages from IRC to in-game players.
|
||||||
|
|
||||||
To do it, you must send a private message to the bot (set with
|
To do so, you must send a private message to the bot (set with
|
||||||
the `irc.nick` option above), in the following format:
|
the `irc.nick` option above), in the following format:
|
||||||
|
|
||||||
@playername message
|
@playername message
|
||||||
@ -151,7 +151,7 @@ forum topic. Thanks to you all!
|
|||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
||||||
(C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
Copyright © 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
||||||
|
|
||||||
See LICENSE.txt for licensing information.
|
See LICENSE.txt for licensing information.
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ package.path =
|
|||||||
-- The build of Lua that Minetest comes with only looks for libraries under
|
-- The build of Lua that Minetest comes with only looks for libraries under
|
||||||
-- /usr/local/share and /usr/local/lib but LuaSocket is often installed under
|
-- /usr/local/share and /usr/local/lib but LuaSocket is often installed under
|
||||||
-- /usr/share and /usr/lib.
|
-- /usr/share and /usr/lib.
|
||||||
if not jit and package.config:sub(1, 1) == "/" then
|
if not rawget(_G, "jit") and package.config:sub(1, 1) == "/" then
|
||||||
package.path = package.path..
|
package.path = package.path..
|
||||||
";/usr/share/lua/5.1/?.lua"..
|
";/usr/share/lua/5.1/?.lua"..
|
||||||
";/usr/share/lua/5.1/?/init.lua"
|
";/usr/share/lua/5.1/?/init.lua"
|
||||||
|
@ -7,6 +7,7 @@ MAJ de "whoison" (la commande "/timeonline <pseudo>" peut aussi être utilisé d
|
|||||||
MAJ de "mobs" (ajout des chèvres/goats)
|
MAJ de "mobs" (ajout des chèvres/goats)
|
||||||
|
|
||||||
---??/??/2015--- (Remerciements : Mg)
|
---??/??/2015--- (Remerciements : Mg)
|
||||||
|
MaJ de "irc"
|
||||||
MaJ de "homedecor"
|
MaJ de "homedecor"
|
||||||
MaJ de "metatools"
|
MaJ de "metatools"
|
||||||
Ajout du mod "connected_chests" (permet de fusionner deux chests, il suffit de placer le second en cliquant droit sur le côté du premier avec sneak enfoncé)
|
Ajout du mod "connected_chests" (permet de fusionner deux chests, il suffit de placer le second en cliquant droit sur le côté du premier avec sneak enfoncé)
|
||||||
|
Loading…
Reference in New Issue
Block a user