diff --git a/config.d/mayhem-party.d/fill.sh b/config.d/mayhem-party.d/fill.sh index ce86d33..ecda8db 100644 --- a/config.d/mayhem-party.d/fill.sh +++ b/config.d/mayhem-party.d/fill.sh @@ -1,4 +1,7 @@ #! /bin/bash -curl -sS http://mp.home.blapointe.com:17071/gm/rpc/fillNonPlayerAliases \ +curl \ + -X POST \ + -i -sS \ + http://mp.home.blapointe.com:17071/gm/rpc/fillNonPlayerAliases \ -d '[mario luigi peach daisy wario waluigi bowser junior koopa shy guy boo toad toadette coin star minigame win lose]' diff --git a/config.d/mayhem-party.d/init.sh b/config.d/mayhem-party.d/init.sh new file mode 100644 index 0000000..3c7954f --- /dev/null +++ b/config.d/mayhem-party.d/init.sh @@ -0,0 +1,7 @@ +#! /bin/bash + +set -e + +bash ./shuffle.sh +bash ./fill.sh +cat ./v01-live.yaml diff --git a/config.d/mayhem-party.d/shuffle.sh b/config.d/mayhem-party.d/shuffle.sh new file mode 100644 index 0000000..15de5dc --- /dev/null +++ b/config.d/mayhem-party.d/shuffle.sh @@ -0,0 +1,2 @@ +#! /bin/bash +curl -sS -i http://mp.home.blapointe.com:17071/gm/rpc/shuffle diff --git a/config.d/mayhem-party.d/v01-live.yaml b/config.d/mayhem-party.d/v01-live.yaml index 87aa094..ccb4f02 100644 --- a/config.d/mayhem-party.d/v01-live.yaml +++ b/config.d/mayhem-party.d/v01-live.yaml @@ -2,43 +2,10 @@ feedback: addr: :17071 ttsurl: http://localhost:15002 users: - bill: + bel: meta: - lasttsms: 1680754074260 - lastlag: 74 - state: - player: 0 - message: "" - gm: - alias: "" - lastalias: "" - vote: "" - mason: - meta: - lasttsms: 1680754066487 - lastlag: 101 - state: - player: 0 - message: "" - gm: - alias: "" - lastalias: "" - vote: "" - roxy: - meta: - lasttsms: 1680753732685 - lastlag: 24 - state: - player: 2 - message: "" - gm: - alias: "" - lastalias: "" - vote: "" - zach: - meta: - lasttsms: 1680754081946 - lastlag: 271 + lasttsms: 1680754728499 + lastlag: 67 state: player: 1 message: "" @@ -97,4 +64,4 @@ players: w: "n" quiet: false broadcast: - message: roxy is now player 2, zach is now player 1 + message: bel is now player 1