mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
Proper integration of plugins.
This commit is contained in:
parent
a420b93dc0
commit
3900816e75
6 changed files with 8 additions and 2 deletions
6
dist/ba_root/mods/custom_hooks.py
vendored
6
dist/ba_root/mods/custom_hooks.py
vendored
|
|
@ -61,10 +61,12 @@ def bootstraping():
|
||||||
_ba.set_kickvote_msg_type(settings["KickVoteMsgType"])
|
_ba.set_kickvote_msg_type(settings["KickVoteMsgType"])
|
||||||
_thread.start_new_thread(mystats.refreshStats,())
|
_thread.start_new_thread(mystats.refreshStats,())
|
||||||
if settings["elPatronPowerups"]["enable"]:
|
if settings["elPatronPowerups"]["enable"]:
|
||||||
from tools import elPatronPowerups
|
from plugins import elPatronPowerups
|
||||||
elPatronPowerups.enable()
|
elPatronPowerups.enable()
|
||||||
if settings["mikirogQuickTurn"]["enable"]:
|
if settings["mikirogQuickTurn"]["enable"]:
|
||||||
from tools import wavedash
|
from plugins import wavedash
|
||||||
|
if settings["characterChooser"]["enable"]:
|
||||||
|
from plugins import CharacterChooser
|
||||||
|
|
||||||
if settings["whitelist"]:
|
if settings["whitelist"]:
|
||||||
pdata.loadWhitelist()
|
pdata.loadWhitelist()
|
||||||
|
|
|
||||||
4
dist/ba_root/mods/setting.json
vendored
4
dist/ba_root/mods/setting.json
vendored
|
|
@ -38,6 +38,7 @@
|
||||||
"enable":false,
|
"enable":false,
|
||||||
"minPlayerToExitCoop":0
|
"minPlayerToExitCoop":0
|
||||||
},
|
},
|
||||||
|
"plugins": {
|
||||||
"mikirogQuickTurn":{
|
"mikirogQuickTurn":{
|
||||||
"enable":true
|
"enable":true
|
||||||
},
|
},
|
||||||
|
|
@ -59,6 +60,9 @@
|
||||||
"Ice Man": 1,"Tank Shield": 1, "Impairment Bombs": 2,
|
"Ice Man": 1,"Tank Shield": 1, "Impairment Bombs": 2,
|
||||||
"Fire Bombs": 3, "Fly Bombs": 3}
|
"Fire Bombs": 3, "Fly Bombs": 3}
|
||||||
},
|
},
|
||||||
|
"characterChooser": {
|
||||||
|
"enable": true
|
||||||
|
}},
|
||||||
"discordbot":{
|
"discordbot":{
|
||||||
"enable":false,
|
"enable":false,
|
||||||
"token":"<secret-token-here>",
|
"token":"<secret-token-here>",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue