mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
FFA Changed
This commit is contained in:
parent
c06ac3db31
commit
f681eb1994
4 changed files with 19 additions and 9 deletions
|
|
@ -71,7 +71,7 @@ session_max_players_override = 10
|
|||
# playlist editor in the regular version of the game.
|
||||
# This will give you a numeric code you can enter here to host that
|
||||
# playlist.
|
||||
playlist_code = 412175
|
||||
playlist_code = 500809
|
||||
|
||||
# Alternately, you can embed playlist data here instead of using
|
||||
# codes. Make sure to set session_type to the correct type for the
|
||||
|
|
|
|||
|
|
@ -276,10 +276,10 @@ def get_profiles(arguments, clientid):
|
|||
def party_toggle(arguments):
|
||||
if arguments == ['public']:
|
||||
bs.set_public_party_enabled(True)
|
||||
bs.chatmessage("party is public now")
|
||||
bs.chatmessage("El server ahora es público.")
|
||||
elif arguments == ['private']:
|
||||
bs.set_public_party_enabled(False)
|
||||
bs.chatmessage("party is private now")
|
||||
bs.chatmessage("El server ahora es privado")
|
||||
else:
|
||||
pass
|
||||
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ import bascenev1 as bs
|
|||
from babase._general import Call
|
||||
from .handlers import send
|
||||
|
||||
Commands = ['me', 'list', 'uniqeid', 'ping']
|
||||
Commands = ['me', 'list', 'uniqeid', 'ping', 'discord']
|
||||
CommandAliases = ['stats', 'score', 'rank',
|
||||
'myself', 'l', 'id', 'pb-id', 'pb', 'accountid']
|
||||
'myself', 'l', 'id', 'pb-id', 'pb', 'accountid', 'ds', 'dc', 'dis']
|
||||
|
||||
|
||||
def ExcelCommand(command, arguments, clientid, accountid):
|
||||
|
|
@ -38,10 +38,20 @@ def ExcelCommand(command, arguments, clientid, accountid):
|
|||
elif command in ['ping']:
|
||||
get_ping(arguments, clientid)
|
||||
|
||||
elif command in ['discord', 'dc', 'ds', 'dis']:
|
||||
show_discord()
|
||||
|
||||
|
||||
def show_discord():
|
||||
try:
|
||||
send('https://discord.gg/RUzsHEKseq')
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
def get_ping(arguments, clientid):
|
||||
if arguments == [] or arguments == ['']:
|
||||
send(f"Your ping {_bascenev1.get_client_ping(clientid)}ms ", clientid)
|
||||
send(f"Tu ping es {_bascenev1.get_client_ping(clientid)}ms ", clientid)
|
||||
elif arguments[0] == 'all':
|
||||
pingall(clientid)
|
||||
else:
|
||||
|
|
|
|||
6
dist/ba_root/mods/custom_hooks.py
vendored
6
dist/ba_root/mods/custom_hooks.py
vendored
|
|
@ -311,17 +311,17 @@ def night_mode() -> None:
|
|||
|
||||
def kick_vote_started(started_by: str, started_to: str) -> None:
|
||||
"""Logs the kick vote."""
|
||||
logger.log(f"{started_by} started kick vote for {started_to}.")
|
||||
logger.log(f"{started_by} inició votación para expulsar a {started_to}.")
|
||||
|
||||
|
||||
def on_kicked(account_id: str) -> None:
|
||||
"""Runs when someone is kicked by kickvote."""
|
||||
logger.log(f"{account_id} kicked by kickvotes.")
|
||||
logger.log(f"{account_id} expulsado por kickvotes.")
|
||||
|
||||
|
||||
def on_kick_vote_end():
|
||||
"""Runs when kickvote is ended."""
|
||||
logger.log("Kick vote End")
|
||||
logger.log("Votación para expulsar finalizada.")
|
||||
|
||||
|
||||
def on_join_request(ip):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue