Skip to content

Commit 76de9db

Browse files
committed
Added a description for the guild role requirements.
1 parent e97f65d commit 76de9db

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Writerside/topics/Role-Requirement-Type.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Role Requirement Type ✏️
22

3-
Role requirements describe which requirement has to be met to receive a given role, depending on the server member's data and their linked accounts.
3+
Role requirements describe which requirement has to be met to receive a given role, depending on the server member's
4+
data and their linked accounts.
45
This is checked every time the users roles are synced.
56

67
## Possible values
@@ -26,11 +27,17 @@ This is checked every time the users roles are synced.
2627
- Extra data is [parsed](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.time/-duration/-companion/parse.html)
2728
as a [duration](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.time/-duration/to-string.html)
2829
- Hypixel Rank
29-
- The Hypixel rank is parsed to a number, with Player (no rank) being 0, VIP being 1, and so on. You can see the full list of possible ranks [here](https://github.com/dungeon-hub/hypixel-wrapper/blob/main/src/main/kotlin/net/dungeonhub/hypixel/entities/player/KnownRank.kt).
30+
- The Hypixel rank is parsed to a number, with Player (no rank) being 0, VIP being 1, and so on. You can see the
31+
full list of possible
32+
ranks [here](https://github.com/dungeon-hub/hypixel-wrapper/blob/main/src/main/kotlin/net/dungeonhub/hypixel/entities/player/KnownRank.kt).
3033
- Guild Membership
31-
- WIP, not implemented yet
34+
- The extra data should be a guild name
35+
- If the user is in the guild, the number that will be compared to the role requirement is 1, otherwise 0
3236
- Guild Rank
33-
- WIP, not implemented yet
37+
- The extra data should be a guild name
38+
- The number that will be compared to the role requirement is the priority of the guild rank. This means that the
39+
lowest rank possible (usually the default rank) has a priority of 1, the highest rank (guild master) has the
40+
highest number. If the user is not in the guild of the extra data, the number returned is equal to 0.
3441
- Magical Power
3542
- Class Average
3643
- Highest Crit Damage

0 commit comments

Comments
 (0)