User Tools

Site Tools


melanobot:modules:xonotic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
melanobot:modules:xonotic [2015/06/20 16:09]
melanosuchus [Formatted Message]
melanobot:modules:xonotic [2015/06/20 20:09] (current)
melanosuchus [Status Handlers]
Line 187: Line 187:
 ===== Status Handlers ===== ===== Status Handlers =====
 These handlers are called explicitly and show the status of the Xonotic server. These handlers are called explicitly and show the status of the Xonotic server.
 +
 +==== ListPlayers ====
 +Inherits [[melanobot:​modules:​core#​ConnectionMonitor]].
 +
 +Prints a list of connected players in a single line.
 +
 +  * **trigger** ''​who''​
 +  * **bots** ''​0''​ -- Whether to include bots
 +  * **reply** ''#​1#​%players#​-#/#​1#​%max#​-#:​ ''​ -- [[#​Formatted message]] to be shown before the list of players
 +  * **reply_empty** ''#​1#​%players#​-#/#​1#​%max#​-#:​ ''​ -- [[#​Formatted message]] shown when the server is empty
 +
 +==== XonoticStatus ====
 +Inherits [[melanobot:​modules:​core#​ConnectionMonitor]].
 +
 +Prints a table with server status information.
 +For each player shows: IP address, packet loss, ping time, score, entity number, and name.
 +After the list of players, it shows an overview of the current match.
 +
 +==== XonoticMaps ====
 +Inherits [[melanobot:​modules:​core#​ConnectionMonitor]].
 +
 +Prints a list of maps available in the Xonotic server.
 +
 +  * **max_print** ''​6''​ -- Maximum number of match to be printed. If the query exceeds this many matches, only the number of matching maps is shown.
 +  * **regex** ''​0''​ -- Whether queries are to be searched as regular expressions rather than substrings of the map name
 +
 +==== XonoticBan ====
 +Inherits [[melanobot:​modules:​core#​ConnectionMonitor]].
 +
 +Manages Xonotic bans. Although it can function on its own, it's easier to use when [[#​XonoticUpdateBans]] is also enabled for the Xonotic connection.
 +
 +==== XonoticKick ====
 +Inherits [[melanobot:​modules:​core#​ConnectionMonitor]].
 +
 +Kicks a player.
 +
 +
 +
 +
 +
 +
 +
  
 ===== Formatted Message ===== ===== Formatted Message =====
melanobot/modules/xonotic.txt · Last modified: 2015/06/20 20:09 by melanosuchus