New Features:
- The target of the grant can be alerted when they have received a grant (Check below to see what to add the config)
- Added debugging for when you use a wrong item id or a wrong sound
Bug Fixes:
- Fixed volume and pitch when the sound is played so it can be customized
MAKE SURE TO ADD THIS TO THE CONFIG
Code (Text):
Messages:
Grant:
Rank:
Target:
- "&aYou have been granted the rank &f{rank} &afor &f{duration} &abecause &f{reason} &aby &f{granter}"
Permission:
Target:
- "&aYou have been granted the permission &f{permission} : {trueorfalse} &afor &f{duration} &abecause &f{reason} &aby &f{granter}"
The final section should look like this
Messages:
Grant:
Rank:
# // The message that will be sent to staff members with the permission 'grant.notify'
# // Note: there can be more lines in this message
Staff:
- "&7[&6&lRankGrant&7] &e{granter}&7 granted &e{target}&7 the rank &e{rank}&7 for &e{duration}&7 because &e{reason}"
# // The message sent to the person who granted the player
Granter:
- "&7--------------------"
- "&7&lYou have granted a rank to &7: &e&l{target}"
- " &bRank&7:&7 {rank}"
- " &aDuration&7:&7 {duration}"
- " &9Reason&7:&7 {reason}"
- "&7--------------------"
# // The message sent to the target if the target is online (The player recieving the grant)
Target:
- "&aYou have been granted the rank &f{rank} &afor &f{duration} &abecause &f{reason} &aby &f{granter}"
Permission:
Staff:
- "&7[&6&lRankGrant&7] &e{granter}&7 granted &e{target}&7 the permission &e{permission}&7 for &e{duration}&7 because &e{reason}"
Granter:
- "&7--------------------"
- "&7&lYou have given a permission to &7: &e&l{target}"
- " &bPermission&7:&7 {permission} : &d{trueorfalse}"
- " &aDuration&7:&7 {duration}"
- " &9Reason&7:&7 {reason}"
- "&7--------------------"
Target:
- "&aYou have been granted the permission &f{permission} : {trueorfalse} &afor &f{duration} &abecause &f{reason} &aby &f{granter}"