mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
more bug fix and security update
This commit is contained in:
parent
e40f147121
commit
6216752a83
23 changed files with 123 additions and 146 deletions
7
dist/ba_root/mods/custom_hooks.py
vendored
7
dist/ba_root/mods/custom_hooks.py
vendored
|
|
@ -17,7 +17,6 @@ import time
|
|||
from datetime import datetime
|
||||
|
||||
import _babase
|
||||
import _bascenev1
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import babase
|
||||
|
|
@ -65,13 +64,13 @@ class modSetup(babase.Plugin):
|
|||
bootstraping()
|
||||
servercheck.checkserver().start()
|
||||
ServerUpdate.check()
|
||||
bs.AppTimer(5, account.updateOwnerIps)
|
||||
bs.apptimer(5, account.updateOwnerIps)
|
||||
if settings["afk_remover"]['enable']:
|
||||
afk_check.checkIdle().start()
|
||||
if (settings["useV2Account"]):
|
||||
|
||||
if (babase.internal.get_v1_account_state() ==
|
||||
'signed_in' and babase.internal.get_v1_account_type() == 'V2'):
|
||||
if (plus.get_v1_account_state() ==
|
||||
'signed_in' and plus.get_v1_account_type() == 'V2'):
|
||||
logging.debug("Account V2 is active")
|
||||
else:
|
||||
logging.warning("Account V2 login require ....stay tuned.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue