The money system settings.

Accessors

  • get scoreboardName(): string

    The name of the scoreboard to use for the money system.

    Dynamic Property ID: andexdbSettings:moneySystem.scoreboardName

    Returns string

    "andexdb:money"
    
  • set scoreboardName(enabled: string): void

    Parameters

    • enabled: string

    Returns void

  • get useScoreboardBasedMoneySystem(): boolean

    Whether or not to use a scoreboard-based money system instead of a dynamic property-based one.

    Enabling this option will cause the money system to max out at the 32-bit integer limit (approximately 2.1 billion), but will allow for modifying a player's money with the /scoreboard command instead of having to use the main menu or use script eval.

    When this option is disabled the limit is 10^32767. So basically infinite.

    Dynamic Property ID: andexdbSettings:moneySystem.useScoreboardBasedMoneySystem

    Returns boolean

    false
    
  • set useScoreboardBasedMoneySystem(enabled: boolean): void

    Parameters

    • enabled: boolean

    Returns void