diff --git a/docs/Cooldowns.md b/docs/Cooldowns.md
index 766a4912..2c7f486d 100644
--- a/docs/Cooldowns.md
+++ b/docs/Cooldowns.md
@@ -9,16 +9,16 @@ Players with the `huskhomes.bypass_cooldowns` [permission node](commands) bypass
### Table of actions
| Action | Description |
|---------------------------|-------------------------------------------------------------|
-| `additional_home_slot` | When a user wants to buy another home slot |
-| `make_home_public` | When a user wants to make their home public |
-| `random_teleport` | When a user executes /rtp |
-| `back_command` | When a user executes /back to return to their last position |
-| `home_teleport` | When a user executes /home to teleport to a home |
-| `public_home_teleport` | When a user uses /phome to teleport to a public home |
-| `warp_teleport` | When a user uses /warp to teleport to a warp |
-| `spawn_teleport` | When a user uses /spawn to teleport to spawn |
-| `send_teleport_request` | When a user sends a teleport request |
-| `accept_teleport_request` | When a user accepts an incoming teleport request |
+| `ADDITIONAL_HOME_SLOT` | When a user wants to buy another home slot |
+| `MAKE_HOME_PUBLIC` | When a user wants to make their home public |
+| `RANDOM_TELEPORT` | When a user executes /rtp |
+| `BACK_COMMAND` | When a user executes /back to return to their last position |
+| `HOME_TELEPORT` | When a user executes /home to teleport to a home |
+| `PUBLIC_HOME_TELEPORT` | When a user uses /phome to teleport to a public home |
+| `WARP_TELEPORT` | When a user uses /warp to teleport to a warp |
+| `SPAWN_TELEPORT` | When a user uses /spawn to teleport to spawn |
+| `SEND_TELEPORT_REQUEST` | When a user sends a teleport request |
+| `ACCEPT_TELEPORT_REQUEST` | When a user accepts an incoming teleport request |
### Example config
Cooldowns are defined under `cooldown_times` in the `cooldowns` section of [`config.yml`](config-files). By default, only a cooldown for `random_teleport` is defined. Add the other actions to this section of the file and associate a cooldown with them to enable them.
@@ -27,20 +27,12 @@ Cooldowns are defined under `cooldown_times` in the `cooldowns` section of [`con
Defining cooldowns (config.yml)
```yaml
+# Action cooldown settings. Docs: https://william278.net/docs/huskhomes/cooldowns
cooldowns:
# Whether to apply a cooldown between performing certain actions
enabled: true
- # Set a cooldown between performing actions (in seconds). Docs: https://william278.net/docs/huskhomes/cooldowns/
+ # Map of cooldown times to actions
cooldown_times:
- additional_home_slot: 0
- make_home_public: 0
- random_teleport: 600
- back_command: 0
- home_teleport: 0
- public_home_teleport: 0
- warp_teleport: 0
- spawn_teleport: 0
- send_teleport_request: 0
- accept_teleport_request: 0
+ RANDOM_TELEPORT: 600
```
diff --git a/docs/Economy-Hook.md b/docs/Economy-Hook.md
index 533f011f..96bf8b58 100644
--- a/docs/Economy-Hook.md
+++ b/docs/Economy-Hook.md
@@ -41,17 +41,16 @@ You can set the economy cost for the following actions in the `costs` section of
### Table of actions
| Action | Description | Default Cost |
|---------------------------|-------------------------------------------------------------|-------------:|
-| `additional_home_slot` | When a user wants to buy another home slot | `$100.00` |
-| `make_home_public` | When a user wants to make their home public | `$50.00` |
-| `random_teleport` | When a user executes /rtp | `$25.00` |
-| `back_command` | When a user executes /back to return to their last position | `$0.00` |
-| `home_teleport` | When a user executes /home to teleport to a home | `$0.00` |
-| `public_home_teleport` | When a user uses /phome to teleport to a public home | `$0.00` |
-| `warp_teleport` | When a user uses /warp to teleport to a warp | `$0.00` |
-| `spawn_teleport` | When a user uses /spawn to teleport to spawn | `$0.00` |
-| `send_teleport_request` | When a user sends a teleport request | `$0.00` |
-| `accept_teleport_request` | When a user accepts an incoming teleport request | `$0.00` |
-
+| `ADDITIONAL_HOME_SLOT` | When a user wants to buy another home slot | `100.00` |
+| `MAKE_HOME_PUBLIC` | When a user wants to make their home public | `50.00` |
+| `RANDOM_TELEPORT` | When a user executes /rtp | `25.00` |
+| `BACK_COMMAND` | When a user executes /back to return to their last position | `0.00` |
+| `HOME_TELEPORT` | When a user executes /home to teleport to a home | `0.00` |
+| `PUBLIC_HOME_TELEPORT` | When a user uses /phome to teleport to a public home | `0.00` |
+| `WARP_TELEPORT` | When a user uses /warp to teleport to a warp | `0.00` |
+| `SPAWN_TELEPORT` | When a user uses /spawn to teleport to spawn | `0.00` |
+| `SEND_TELEPORT_REQUEST` | When a user sends a teleport request | `0.00` |
+| `ACCEPT_TELEPORT_REQUEST` | When a user accepts an incoming teleport request | `0.00` |
### Example config
> **Warning:** You must specify a decimal monetary value in the config.yml. (i.e. `100.00` is valid, but `100` is not.)
@@ -62,20 +61,14 @@ Economy costs are defined under `costs` in the `economy` section of [`config.yml
Defining economy costs (config.yml)
```yaml
+# Economy settings. Docs: https://william278.net/docs/huskhomes/economy-hook
economy:
- # Enable economy plugin integration (requires Vault)
+ # Enable economy plugin integration (requires Vault and a compatible Economy plugin)
enabled: true
- # Charge money for perform certain actions. Docs: https://william278.net/docs/huskhomes/economy-hook/
- costs:
- additional_home_slot: 100.0
- make_home_public: 50.0
- random_teleport: 25.0
- back_command: 0.0
- home_teleport: 0.0
- public_home_teleport: 0.0
- warp_teleport: 0.0
- spawn_teleport: 0.0
- send_teleport_request: 0.0
- accept_teleport_request: 0.0
+ # Map of economy actions to costs.
+ economy_costs:
+ ADDITIONAL_HOME_SLOT: 100.0
+ MAKE_HOME_PUBLIC: 50.0
+ RANDOM_TELEPORT: 25.0
```