Sueta

Rank Grant

2.2.0

A plugin that can grant players ranks or permissions with an easy to use GUI

·Plugin
  1. 2.2.0latestRank Grant 2.2.0Aug 5, 2022
    New Features: · You can now filter and sort the logs in the in-game GUI · You can customize the items in the Main GUI (MAKE SURE TO CHECK THE UPDATED CONFIG AT THE BOTTOM) · You can change the items in the Duration GUI and Reason GUI (Note: Only a single item for each GUI; MAKE SURE TO CHECK THE UPDATED CONFIG AT THE BOTOOM) · Added back arrows to the GUIS Changes: · Changed the wool color based on how long ago the grant was in the log GUI: Lime Wool: The grant was granted in the last 24 hours Green Wool: The grant was granted within the last week Yellow Wool: The grant was granted in the past month Orange Wool: The grant was granted over a month ago Bug Fixes: · Fixed it the message when you fix the config Code Fixes (Not important really): · Removed some unnecessary code · Switched IDE to IntelliJ · Added some more packages and classes for organization · Changed the project to maven · Added Anvil GUI Api that will be used in the future · Removed the version from the .jar file name Add to Config File: Code (Text): # // The gui that opens when you execute the command: /grant <Player> Main: # // The section for granting a rank Ranks: item: DIAMOND # // The item that displays slot: 12 # // The slot that the item displays in displayname: "&a&lRanks" # // The displayname of the item # // The section for granting a permission Permissions: item: EMERALD slot: 14 displayname: "&b&lPermissions" Code (Text): # // The item for all the durations in the GUI Duration_Item: WATCH # // The item for all the reasons in the GUI Reason_Item: NAME_TAG
    3 downloads
  2. 2.1.5Rank Grant 2.1.5Jul 14, 2022
    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}"
    30 downloads
  3. 2.1.1Rank Grant 2.1.1Jul 5, 2022
    Bug Fixes: · Added a permission for /grantadmin logs (rankgrant.logs) · Fixed the help message
    40 downloads
  4. 2.1.0RankGrant 2.1.0Jul 5, 2022
    New Features: · You can know have custom durations and reasons · Added a dye that toggles if you want to give/remove a permission · If you are on 1.13+ (minecraft version) it will load a config with the correct data · It shows who the target is when granting, and in logs Changes: · Logs are now displayed in a GUI (LOGS DONE ON PREVIOUS VERSIONS OF THIS PLUGIN WILL NOT WORK) · Removed the give/remove GUI for permissions Bug Fixes: · Time no longer showing 1 seconds, 1 months, etc. · Errors with newer versions Code Fixes (Not important really): · Use HashMaps to get the info from a slot in a GUI · Organized more code · Added more documentation in the config file This is how you use custom durations/reasons: Code (Text): Duration: custom: displayname: '&e&lCustom' # // Put -2 if you want a custom duration duration: -2 slot: 19 glow: true Reason: Custom: displayname: '&b&lCustom' # // Put 'custom-reason' if you want a custom reason reason: 'custom-reason' slot: 14 glow: true
    16 downloads
  5. 2.0.0Rank Grant 2.0.0Jun 24, 2022
    New Features: · Added a command that fixes the config file · You can toggle if you want each grant to need a certain permission (rank-need-permissions/permissions-need-permissions) · You can now add lore to grants · You can know have some items glow Bug Fixes: · Fixed permissions and per grant permissions Code Fixes (Not important really): · Minor code fixing and the clarity of what everything does
    20 downloads
  6. 1.8.0Rank Grant 1.8.0Jun 16, 2022
    New Features: · You can grant Offline Players ranks and/or permissions · A Confirm GUI · People with the permission grant.notify can see when a player is granted a rank or permission Bug Fixes: · Fixed granting to remove a permission Code Fixes (Not important really): · Improved the way to create items · Improved the way to manage GUIS · Simplified a lot of code Changes in config - MAKE SURE YOU UPDATE THE CONFIG: Code (Text): Commands: Ranks: forever: 'lp user {target} parent set {rank}' # // If your permission plugin does not support giving ranks for a duration of time # // then just put the same command for both timed: 'lp user {target} parent addtemp {rank} {duration}s' Permissions: Give: forever: 'lp user {target} permission set {permission}' # // If your permission plugin does not support giving ranks for a duration of time # // then just put the same command for both timed: 'lp user {target} permission settemp {permission} {duration}s' Remove: forever: 'lp user {target} permission unset {permission}' # // If your permission plugin does not support giving ranks for a duration of time # // then just put the same command for both timed: 'lp user {target} permission unsettemp {permission} {duration}s' Messages: Grant: Rank: Staff: - "&7[&6&lRankGrant&7] &e{granter}&7 granted &e{target}&7 the rank &e{rank}&7 for &e{duration}&7 because &e{reason}" 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--------------------" 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--------------------"
    20 downloads
  7. 1.5.0Rank Grant 1.5.0Apr 11, 2022
    New Features: · You can grant players permissions · You can now set an inner and outer border Bug Fixes: · You get a message when you join the server if there is an update available (Permission: rankgrant.update). · The reload command not reloading properly Code Fixes (Not important really): · Organized it a lot better · Used constructors to do certain things · Made it easier to read · Made config file a custom file
    66 downloads
  8. 1.4.1Update: v1.4.1Jan 7, 2022
    v1.4.1: Added: · If you are using a newer version of Minecraft (1.13+), a config with the correct item ids will load in. Fixes: · There was an issue with the config and newer versions
    76 downloads
  9. 1.4.0Update: v1.4.0Jan 3, 2022
    v1.4.0: Added: · A confirmation menu · A back arrow Fixes: · Fixed the sound pitch and volume so that it corresponds to the config · There is a message when the player uses the command: /grandadmin wrong Changes: · Removed the edges of the border for more space and a cleaner look · A message is sent to the player on join if the plugin has an update (Needs permission)
    30 downloads
  10. 1.3.0Update: v1.3.0Nov 10, 2021
    v1.3.0: Added: - Added support for all versions (Not tested on every version) Changes: - Changed the name of the folder to " Grant" (Does not change anything)
    48 downloads
  11. 1.2.0Update: v1.2.0Nov 2, 2021
    v1.2.0: Added: - Added what ranks were granted to a log - You can now have permissions for granting individual ranks - You can customize the borders of the GUI - You can customize the sound that is played Fixes: - The duration in messages know have correct labels
    18 downloads
  12. 1.1.1Update: v1.1.1 (USE THIS VERSION)Oct 27, 2021
    v1.1.1: Added: - A config reload command ( /grantadmin reload) Fixes: - Fixed the permission needed to run the command (rankgrant.grant)
    18 downloads
  13. 1.1Update: v1.1Oct 26, 2021
    v1.1: Changes: - Changed the amount of slots in the GUIS - Changed the default "helper rank" to "default rank" - Fixed random messages showing Added: - Added sound when you give a player a rank - Added some more comments to the config - Added an update checker
    10 downloads
  14. 1.8Oct 26, 2021
    17 downloads

Similar projects

Plugin →