Proper integration of plugins.

This commit is contained in:
pranav1711 2022-01-05 20:38:28 +05:30
parent a420b93dc0
commit 3900816e75
6 changed files with 8 additions and 2 deletions

View file

@ -61,10 +61,12 @@ def bootstraping():
_ba.set_kickvote_msg_type(settings["KickVoteMsgType"])
_thread.start_new_thread(mystats.refreshStats,())
if settings["elPatronPowerups"]["enable"]:
from tools import elPatronPowerups
from plugins import elPatronPowerups
elPatronPowerups.enable()
if settings["mikirogQuickTurn"]["enable"]:
from tools import wavedash
from plugins import wavedash
if settings["characterChooser"]["enable"]:
from plugins import CharacterChooser
if settings["whitelist"]:
pdata.loadWhitelist()

View file

@ -38,6 +38,7 @@
"enable":false,
"minPlayerToExitCoop":0
},
"plugins": {
"mikirogQuickTurn":{
"enable":true
},
@ -59,6 +60,9 @@
"Ice Man": 1,"Tank Shield": 1, "Impairment Bombs": 2,
"Fire Bombs": 3, "Fly Bombs": 3}
},
"characterChooser": {
"enable": true
}},
"discordbot":{
"enable":false,
"token":"<secret-token-here>",