DemandCoinsQuery

Demands coins amount of coins from the player.

Possible returns by process:

  • Int (1) => the operation went successfully

  • Result (failure) => player does not have enough coins

Constructors

Link copied to clipboard
constructor(coins: BigDecimal)

Functions

Link copied to clipboard
open override fun process(player: MacrocosmPlayer, paper: Player): Any

Processes this query returning dynamic value based on the implementation

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: String

ID of this query