Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 166 commands...
NameMoney
Syntaxmoney [give/take/set] (quantity:<#.#>) (players:<player>|...)
Short DescriptionManage a player's money.
Full DescriptionGive money to, take money from, and set the balance of a player.
If no quantity is specified it defaults to '1'. You can specify a list of
players to give to or take from. If no player(s) are specified defaults to the attached player.
NOTE: This requires an economy plugin. May work for offline players depending on economy plugin.
Related Tags<PlayerTag.money> Returns the amount of money the player has with the registered Economy system. (...)
Usage Example
#Use to give 1 money to the player.
- money give
Usage Example
#Use to take 10 money from a player.
- money take quantity:10 from:<[player]>
Usage Example
#Use to give all players on the server 100 money.
- money give quantity:100 to:<server.players>
Usage Example
#Use to set the money of all online players to 250.
- money set quantity:250 players:<server.online_players>
Groupplayer
RequiresVault
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/MoneyCommand.java#L28