MinoMino / minqlx

Extends Quake Live's dedicated server with extra functionality and scripting.
GNU General Public License v3.0
112 stars 42 forks source link

!help content in database #20

Closed Melodeiro closed 9 years ago

Melodeiro commented 9 years ago

Would be great if there will be commands like !sethelp which will write info to database. So, after updating minqlx, changes in !help will not be canceled.

MinoMino commented 9 years ago

Changes in !help? Do you mean modifying the output? You generally shouldn't have a need to modify official plugins at all. If you want !help to do something else, simply make your own plugin, and add a command with self.add_command("help", [...], priority=minqlx.PRI_HIGH) and then return minqlx.RET_STOP in the handler to prevent the one in essentials from going off.

Melodeiro commented 9 years ago

Wow, you also solved my question about how to patch minqlx with my changes after updates! Thanks