From 200c7f9b7db8d35789cc4059c36c98029f945d28 Mon Sep 17 00:00:00 2001 From: Steffen Date: Thu, 10 Dec 2020 22:30:34 +0100 Subject: [PATCH] custom roles are no longer synced in live games due to traffic and security concerns (closes #60) --- README.md | 3 ++- src/components/modals/EditionModal.vue | 1 + src/store/index.js | 4 +++- src/store/persistence.js | 6 +++++- src/store/socket.js | 20 ++++++++++++++++++-- 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a749f05..8c3fb4b 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,8 @@ For base game characters, it is sufficient to only provide the ID, similar to wh - **team**: the team of the character, has to be one of `townsfolk`, `outsider`, `minion`, `demon` or `traveler` - **ability**: the displayed ability text of the character -_Note:_ custom characters are currently not supported in live sessions and will not be synchronised to other players. +_Note:_ in order to use custom characters in live sessions, your players have to load the same JSON file that the storyteller +has loaded before joining the live session. ## [Code of Conduct](CODE_OF_CONDUCT.md) diff --git a/src/components/modals/EditionModal.vue b/src/components/modals/EditionModal.vue index d3fce6f..3670a71 100644 --- a/src/components/modals/EditionModal.vue +++ b/src/components/modals/EditionModal.vue @@ -38,6 +38,7 @@ >the documentation on how to write a custom character definition file. + Only load custom JSON files from sources that you trust!

Some popular custom scripts: