refactor: housekeeping, update docs

This commit is contained in:
William278 committed 2024-02-18 14:22:03 +00:00
1 parent 046d8e99f7
commit 842f7d4297
6 files changed
+109 -104

No files matched your search

+10 -2
View File
@@ -6,7 +6,15 @@ HuskHomes supports restricting certain actions behind an economic cost. Players
> **Applies to:** Spigot, Paper
To enable the Economy Hook on Sponge server, install both [Vault](https://www.spigotmc.org/resources/vault.34315/) and a compatible economy plugin. Then, set `enabled` to `true` under the `economy` section of [`config.yml`](config-files).
To enable the Economy Hook on a Spigot/Paper server, install both [Vault](https://www.spigotmc.org/resources/vault.34315/) and a compatible economy plugin. Then, set `enabled` to `true` under the `economy` section of [`config.yml`](config-files).
</details>
<details>
<summary>Fabric setup</summary>
> **Applies to:** Fabric
To enable the Economy Hook on a Fabric server, the [Impactor Economy](https://modrinth.com/mod/impactor) mod must be installed to provide an API for plugins to perform economy operations. Then, set `enabled` to `true` under the `economy` section of [`config.yml`](config-files).
</details>
<details>
@@ -14,7 +22,7 @@ To enable the Economy Hook on Sponge server, install both [Vault](https://www.sp
> **Applies to:** Sponge
To enable the Economy Hook on Sponge server, you require a mod installed for managing player economy accounts through the Sponge economy API. Then, set `enabled` to `true` under the `economy` section of [`config.yml`](config-files).
To enable the Economy Hook on a Sponge server, you require a mod installed for managing player economy accounts through the Sponge economy API. Then, set `enabled` to `true` under the `economy` section of [`config.yml`](config-files).
</details>
### Bypassing economy checks
+3 -1
View File
@@ -1,4 +1,6 @@
If you have [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) installed, HuskHomes (v4.0.5+) will automatically register a hook providing a number of placeholders that will be replaced with their appropriate values.
HuskHomes (v4.0.5+) can register a hook providing a number of placeholders that will be replaced with their appropriate values.
On Spigot/Paper, this requires [PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI); on Fabric, [Fabric PlaceholderAPI](https://modrinth.com/mod/placeholder-api) is needed instead.
## List of placeholders
| Placeholder | Description | Example Value |