Added Gigef to Bridge player map and fixed output format in Bridge and Control
This commit is contained in:
parent
28a2f01c0f
commit
56165e96e5
2 changed files with 12 additions and 11 deletions
|
|
@ -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}"')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue