-
Notifications
You must be signed in to change notification settings - Fork 1
SuckerServ/python_bot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Hopmod PythonBot (c) by Michael, Commands (c) by Thomas, Some improvements by LoveForEver
To run the Bot you need to have Python and Twistd for Python installed.
Once you have them installed, you can run the Bot with:
# twistd -ny hopmod_bot.tac &
=== List of commands ===
.servers -> prints a sorted list of the connected servers
== Admin Commands (requires operator in the channel) ==
.<servername> ping -> check if the server answers
.<servername> players -> prints playerlist of connected players
.<servername> restart -> restart the server
.<servername> uptime -> prints the server uptime of hopmod
.<servername> kick <cn> -> kick a player
.<servername> stats <cn> -> prints player stats
.<servername> mute <cn> <min> -> mute a player
.<servername> unmute <cn> -> unmute a player
.<servername> disconnect <cn> -> disconnect a player
.<servername> spec <cn> -> spec a player
.<servername> unspec <cn> -> unspec a player
.<servername> specall <cn> -> spec all players
.<servername> unspecall <cn> -> unspec all players
.<servername> pause -> pauses the game
.<servername> resume -> resumes the game
.<servername> ip <cn> -> prints the ip of the player
.<servername> map <newmap> -> changes the map
.<servername> changetime <min> -> change gametime
.<servername> say <text> -> say something to the players
=== Adding Servers ===
Checkout config.py for that
'server1': { <- name of the server
'host': 'localhost', <- host of the server
'port': 28795, <- irc listener port (gameport + 10)
'password': '', <- irc listener password (defined in the server.conf of hopmod)
'format': '\00301%s\003', <- color for the server name
'reconnect_time': 60, <- reconnect time in seconds, if the server was disconnect or restarted
},
* Warning: Don't copy that example to the config without removing the comments! *
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published