settingsJSON
Description
Contains global settings affecting duels, lives, deckbuilder, and more.
| Link | Name | Data Type | Description | Notes |
|---|
| LINK | Duelingbook_Name | String | Player name on Duel Screen. |
| LINK | Duelingbook_Avatar | String | Avatar image from /duelingbook/ |
| LINK | deckBuilderImage | ImageURL | Background image in deckbuilder from /background/. |
| LINK | noLossDRAW | Boolean | True means DRAW does not cause a loss. |
| LINK | hideEMZ | Boolean | Hide Extra Monster Zones uring Duels. |
| LINK | hideSideZones | Boolean | Hides the leftmost and rightmost monster and spelltrap zones during Duels. |
| LINK | hideMP2 | Boolean | Hides the Main Phase 2 button during Duels. |
| LINK | relevant | Array | Force duel UI terms on/off (e.g. ['counter', '!tuner']). |
| LINK | allowTokensInEMZ | Boolean | If true, tokens will not be destroyed if they enter the Extra Monster Zone. Note that it is impossible to do this within normal yugioh rules. |
| LINK | startingHandSize | Integer | The number of cards in a starting hand. Default is 5. Absolute minimum is 0. Absolute maximum is 10. |
Life Settings
| Link | Name | Data Type | Description | Notes |
|---|
| LINK | defaultDeathEvent | EventID | ends event that triggers when player hits 0 lives. |
| LINK | defaultVictoryEvent | EventID | ends event that triggers when player wins. |
| LINK | startingLives | Integer | Default number of starting lives. |
PvDM Settings
| Link | Name | Data Type | Description | Notes |
|---|
| LINK | dungeonMasterMode | Boolean | True if PvDM mode. |
| LINK | dungeonMasterMessage | String | Message shown to Dungeon Master. |
Deckbuilder Settings
| Link | Name | Data Type | Description | Notes |
|---|
| LINK | cardFrame | String | Default card frame image. |
| LINK | minimumMaindeckSize | Integer | Smallest legal deck size. Default 40. Absolute minimum is 5. |
| LINK | maxmimumMaindeckSize | Integer | Largest legal deck size. Default 60. Absolute maximum is 60. |
| LINK | minimumExtradeckSize | Integer | Smallest legal extradeck size. Default 0. Absolute minimum is 0. |
| LINK | maxmimumExtradeckSize | Integer | Largest legal extradeck size. Default 15. Absolute maximum is 60. |
Other
| Link | Name | Data Type | Description | Notes |
|---|
| LINK | custom | Boolean | Enable if using Custom Cards. |
| LINK | rarity | Object | Assign rarity overlays by card name. |
| LINK | maximumItems | Integer | Max number of items a player can have. |
| LINK | variables | Key-Value Pairs | Variables that are set at game start. |