Added Gigef to Bridge player map and fixed output format in Bridge and Control

This commit is contained in:
Malasaur 2025-08-30 14:36:41 +02:00
parent 28a2f01c0f
commit 56165e96e5
2 changed files with 12 additions and 11 deletions

View file

@ -12,16 +12,17 @@ players = {
"Filippo": "BrixsBang",
"Mr Beast": "firr",
"Nick": "NPZ",
"Osvaldo": "Cheruz"
"Osvaldo": "Cheruz",
"Black Gigef": "Gigef",
}
@libminecraft.onConsoleOutput(r"\[.*\] \[Server thread\/INFO\]: <(.*)> (.*)")
def minecraftToSignal(usr: str, msg: str):
libsignal.sendMessage(f"[{usr}] {msg}", RetardsServer)
libsignal.sendMessage(f"<{usr}> {msg}", RetardsServer)
@libsignal.onMessage(RetardsServer)
def signalToMinecraft(usr: str, msg: str):
usr = players.get(usr, usr)
libminecraft.sendCommand(f'tellraw @a "[{usr}] {msg}"')
libminecraft.sendCommand(f'tellraw @a "<{usr}> {msg}"')