feat: add LuckPerms hook, close #542

This commit is contained in:
William278 committed 2025-03-02 15:47:44 +00:00
1 parent 93d67473d9
commit 4b62fb16dd
8 files changed
+155 -23

No files matched your search

+8
View File
@@ -182,6 +182,14 @@ economy:
RANDOM_TELEPORT: 25.0
# Specify how many homes players can set for free, before they need to pay for more slots
free_home_slots: 5
# Plan hook settings. Docs: https://william278.net/docs/huskhomes/plan-hook
plan:
# Hook into Player Analytics to provide HuskHomes statistics in your web dashboard
enabled: true
# LuckPerms hook settings. Docs: https://william278.net/docs/huskhomes/luckperms-hook
luckperms:
# Hook into LuckPerms for more accurate numerical permission calculations
enabled: true
# Web map hook settings. Docs: https://william278.net/docs/huskhomes/map-hooks
map_hook:
# Display public homes/warps on your Dynmap, BlueMap or Pl3xMap
+10
View File
@@ -0,0 +1,10 @@
HuskHomes supports directly hooking into [LuckPerms](https://luckperms.net) for better numerical permission calculation support.
## Requirements
- HuskHomes v4.9.4+
- LuckPerms v5.4.1690+
## Setup
1. Install LuckPerms on your server(s) alongside HuskHomes
2. Ensure `luckperms.enabled` is set to `true` in your [`config.yml` file](config-files)
3. Restart your servers. HuskHomes will automatically begin querying LuckPerms for numerical permission checks
+5 -4
View File
@@ -1,4 +1,4 @@
HuskHomes supports displaying statistics about user sethomes on your [Player Analytics](https://github.com/plan-player-analytics/Plan) (Plan) web panel.
HuskHomes supports displaying statistics about user homes & warps on your [Player Analytics](https://playeranalytics.net) (Plan) web panel.
![Plan hook screenshots](https://raw.githubusercontent.com/WiIIiam278/HuskHomes/master/images/plan-hook.png)
@@ -7,6 +7,7 @@ HuskHomes supports displaying statistics about user sethomes on your [Player Ana
- Plan v5.4.1690+
## Setup
1. Install Plan to your Spigot server(s) with HuskHomes installed
2. Configure Plan as necessary and restart your servers
3. Data will start showing up on Player pages on the "Plugins" panel, under "HuskHomes"
1. Install Plan on your server(s) alongside HuskHomes
2. Ensure `plan.enabled` is set to `true` in your [`config.yml` file](config-files)
3. Configure Plan as necessary and restart your servers
4. Data will start showing up on Player pages on the "Plugins" panel, under "HuskHomes"