mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +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"])
|
||||
_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()
|
||||
|
|
|
|||
4
dist/ba_root/mods/setting.json
vendored
4
dist/ba_root/mods/setting.json
vendored
|
|
@ -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>",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue