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/ folder. |
LINK | deckBuilderImage | ImageURL | Background image in deckbuilder. |
LINK | allowDuelingBook | Boolean | Enable if using Custom Cards with duelingbook. |
LINK | noLossDRAW | Boolean | True means DRAW doesn’t cause loss. |
LINK | hideEMZ | Boolean | Hide Extra Monster Zones. |
LINK | hideSideZones | Boolean | Restrict to 3 monster/spell zones each. |
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 | Event when player hits 0 lives. |
LINK | defaultVictoryEvent | EventID | Event on opponent loss. |
LINK | startingLives | Integer | Default lives. 999 hides life counter. |
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 | Vars set at game start. |