Español nomas

This commit is contained in:
Luis 2025-02-20 22:38:11 -05:00
parent 3f02a444ee
commit 11b2e159b2
4 changed files with 11 additions and 11 deletions

View file

@ -64,14 +64,14 @@ session_max_players_override = 10
# Options here are 'ffa' (free-for-all), 'teams' and 'coop'
# (cooperative) This value is ignored if you supply a playlist_code
# (see below).
session_type = "ffa"
#session_type = "ffa"
# Playlist-code for teams or free-for-all mode sessions.
# To host your own custom playlists, use the 'share' functionality in the
# 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 = 501330
playlist_code = 501330
# Alternately, you can embed playlist data here instead of using
# codes. Make sure to set session_type to the correct type for the

View file

@ -39,12 +39,12 @@ def ExcelCommand(command, arguments, clientid, accountid):
get_ping(arguments, clientid)
elif command in ['discord', 'dc', 'ds', 'dis']:
show_discord()
show_discord(clientid)
def show_discord():
def show_discord(clientid):
try:
send('https://discord.gg/RUzsHEKseq')
send('https://discord.gg/RUzsHEKseq', clientid)
except:
pass
@ -62,7 +62,7 @@ def get_ping(arguments, clientid):
name = player.getname(full=True, icon=False),
if player.inputdevice.client_id == int(arguments[0]):
ping = _bascenev1.get_client_ping(int(arguments[0]))
send(f" {name}'s ping {ping}ms", clientid)
send(f"El ping de {name} es {ping}ms", clientid)
except:
return
@ -121,7 +121,7 @@ def accountid_request(arguments, clientid, accountid):
"""Returns The Account Id Of Players"""
if arguments == [] or arguments == ['']:
send(f"Your account id is {accountid} ", clientid)
send(f"La id de tu cuenta es: {accountid} ", clientid)
else:
try:
@ -131,6 +131,6 @@ def accountid_request(arguments, clientid, accountid):
name = player.getname(full=True, icon=True)
accountid = player.get_v1_account_id()
send(f" {name}'s account id is '{accountid}' ", clientid)
send(f"La id de la cuenta de {name} es: '{accountid}' ", clientid)
except:
return

View file

@ -334,11 +334,11 @@ def shutdown(func) -> None:
def wrapper(*args, **kwargs):
# add screen text and tell players we are going to restart soon.
bs.chatmessage(
"Server will restart on next opportunity. (series end)")
"El server se reiniciará al final de la serie.")
_babase.restart_scheduled = True
bs.get_foreground_host_activity().restart_msg = bs.newnode('text',
attrs={
'text': "Server going to restart after this series.",
'text': "El server se reiniciará al final de la serie.",
'flatness': 1.0,
'h_align': 'right',
'v_attach': 'bottom',

View file

@ -28,7 +28,7 @@ class BsDataThread(object):
def __init__(self):
global stats
stats["name"] = _babase.app.classic.server._config.party_name
stats["discord"] = "https://discord.gg/ucyaesh"
stats["discord"] = "https://discord.gg/RUzsHEKseq"
stats["vapidKey"] = notification_manager.get_vapid_keys()["public_key"]
self.refresh_stats_cache_timer = bs.AppTimer(8, babase.Call(