economy out of 3928 meta-documentation entries...| Name | Economy Script Containers |
| Description | Economy script containers
Economy script containers provide a Vault economy, which can be used in scripts by PlayerTag.money and money and as well by any other plugin that relies on economy functionality (such as shop plugins). Note that vault economy bank systems are not currently supported. Per-world economies are also not currently supported. Note that in most cases, you do not want to have multiple economy providers, as only one will actually be in use. ALL SCRIPT KEYS ARE REQUIRED. Economy scripts can be automatically disabled by adding "enabled: false" as a root key (supports any load-time-parseable tags). |
| Group | Script Container System |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/containers/core/EconomyScriptContainer.java#L34 |
| Name | <server.economy.currency_name[<#.#>]> |
| Returns | ElementTag |
| Description | Returns the server's economy currency name (automatically singular or plural based on input value). |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L126 |
| Name | <server.economy.currency_plural> |
| Returns | ElementTag |
| Description | Returns the server's economy currency name (in the plural form, like "Dollars"). |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L138 |
| Name | <server.economy.currency_singular> |
| Returns | ElementTag |
| Description | Returns the server's economy currency name (in the singular form, like "Dollar"). |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L150 |
| Name | <server.economy.format[<#.#>]> |
| Returns | ElementTag |
| Description | Returns the amount of money, formatted according to the server's economy. |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L114 |
| Name | <server.has_economy> |
| Returns | ElementTag(Boolean) |
| Description | Returns whether the server has a known economy plugin loaded. |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/ServerTagBase.java#L1102 |
| Name | essentials player balance changes |
| Event Lines | essentials player balance changes |
| Triggers | when a player's balance changes, when using Essentials economy. |
| Generated Examples | after essentials player balance changes: |
| Has Player | Always. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
| Contexts | <context.old_balance> Returns the balance before changes are made.
<context.new_balance> Returns the balance after changes are made.
<context.cause> returns the reason for the balance change, refer to https://github.com/EssentialsX/Essentials/blob/2.x/Essentials/src/main/java/net/ess3/api/events/UserBalanceUpdateEvent.java#L73-L78.
|
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Depenizen |
| Requires | Depenizen, Essentials |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/events/essentials/PlayerBalanceChangeScriptEvent.java#L14 |
| Name | Money |
| Syntax | money [give/take/set] (quantity:<#.#>) (players:<player>|...) |
| Short Description | Manage a player's money. |
| Full Description | Give 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 or script, and Vault. 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 | |
| Usage Example | |
| Usage Example | |
| Usage Example | |
| Group | player |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/MoneyCommand.java#L28 |
| Name | playerpoints |
| Syntax | playerpoints [set/give/take] [<#>] |
| Short Description | Adjusts the amount of points the player has. |
| Full Description | Take, give or set the amount of points a player has.
This is useful for plugins supporting this kind of economy which uses the points instead of money as an alternative system. This works for offline players. |
| Related Tags | <PlayerTag.playerpoints_points> Returns the amount of points the player has. Only works on online players.
|
| Usage Example | |
| Usage Example | |
| Group | Depenizen |
| Requires | Depenizen, PlayerPoints |
| Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/commands/playerpoints/PlayerPointsCommand.java#L22 |
| Name | <PlayerTag.formatted_money> |
| Returns | ElementTag |
| Description | Returns the formatted form of the player's money balance in the registered Economy system. |
| Generated Example | |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L719 |
| Name | <PlayerTag.money> |
| Returns | ElementTag(Decimal) |
| Description | Returns the amount of money the player has with the registered Economy system.
May work offline depending on economy provider. |
| Generated Example | |
| Requires | Vault |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L736 |