Go to file
luk3yx 096f3fbc72 Change password format and add option for legacy passwords 2022-08-12 18:18:10 +12:00
.gitignore Initial commit 2020-07-21 15:09:45 +12:00
LICENSE.md Initial commit 2020-07-21 15:09:45 +12:00
README.md Update x2 2020-08-13 21:25:20 +12:00
trackr.example.ini Change password format and add option for legacy passwords 2022-08-12 18:18:10 +12:00
trackr.py Change password format and add option for legacy passwords 2022-08-12 18:18:10 +12:00

README.md

trackr

An IRC bot that checks player lists for all Minetest servers in a IRC channel.

Usage

  • Make sure you are using the latest miniirc and miniirc_extras.
    • pip3 install --upgrade miniirc miniirc_extras
  • Copy and edit trackr.example.ini.
  • Run ./trackr.py /path/to/trackr.ini

Moderation commands

  • ,mute <player>: Mutes a player permanently.
  • ,unmute <player>: Unmutes a player.
  • ,tempmute <player> <duration>: Temporarily mutes a player for a specified duration. The duration cannot be greater than 2 hours. If the server is shut down before this duration is up, the tempmute is ended prematurely due to technical limitations with trackr.
  • ,warn <player> <message>: Shows the player a warning dialog.
  • ,kick <player> <reason>: Kicks a player.
  • ,tempban <player> <duration> <reason>: Temporarily bans a player. You cannot tempban a player for longer than a month with trackr.
  • ,badservers: Lists the servers trackr isn't logged into.

Parameter format

  • player: A Minetest/MultiCraft/??? player. This can be the player name if the player is in one (and only one) server on the channel. If the player is in multiple servers, you can do player_name@server_name.
  • duration (default: 5 minutes): The duration to mute/ban the player for. By default, this is in minutes, however this can be changed by appending s (seconds), m (minutes), h (hours), d (days), M (months), Y (years), or ms (milliseconds).
  • message: The message to tell the player.
  • reason: The reason for kicking the player. This is shown to the player when being kicked.