-
Notifications
You must be signed in to change notification settings - Fork 18
Economy
ChessCraft supports multiple Economy plugins (via Nijikokun's Register API):
- iConomy - versions 4, 5 & 6
- BOSeconomy
- Essentials Economy
- Multicurrency
With economy active, you can bet Economy credits on a game, by setting a stake. This works as follows:
-
There is a global default stake for all games, which is a configurable item: stake.default. This is 0 by default.
-
After you create a game but before you invite anyone, you can use the /chess stake command to set a stake for the game.
-
You can also alter the stake using the board's control panel. Left-click the Stake button to increase the stake, right-click to decrease it. If you hold Shift (sneak), the stake will increase/decrease by an alternate amount (see stake.smallIncrement and stake.LargeIncrement in ConfigFile)
-
When the game starts, both you and your opponent will have the stake deducted from your current balance.
-
The game winner takes all the money, and the loser gets nothing. If the game is a draw, both players get their stake back.
You can also bet money against AI players; their balance can be considered to be infinite. It is possible to set payout multipliers for different AI engines and strengths - see AI for more details.