Retribution [1.8-1.19] - View Player History in a Menu icon

Retribution [1.8-1.19] - View Player History in a Menu -----

An AdvancedBan Addon - View player history in a tidy menu!



Retribution
Retribution is an AdvancedBan Addon that allows staff members to view the punishment history of a player in a tidy menu.

Please Note: This plugin requires AdvancedBan to work. AdvancedBan is made by @Leoko and can be downloaded here!
Features:
  • Fully customizable menu
  • Bungeecord support
  • Infinite menu pages
  • Revoke punishments
  • Sort by active or all punishments
  • Filter punishment types
  • Customizable messages
  • Customizable sounds
  • Clear a players' punishment history
  • Delete a specific punishment
Requirements:
Commands:
  • /retribution help
  • /retribution reload
  • /retribution clear <player>
  • /retribution delete <punishment-id>
  • /history <player>
Command Permissions:
  • Retribution.Command.Help - Use the help command
  • Retribution.Command.Reload - Use the reload command
  • Retribution.Command.Punishments - Use the history command
  • Retribution.Command.Clear
  • Retribution.Command.Delete
Punishment Viewing Permissions:
  • Retribution.Punishments.BAN - Ability to view bans in the history menu
  • Retribution.Punishments.TEMP_BAN - Ability to view temporary bans in the history menu
  • Retribution.Punishments.KICK - Ability to view kicks in the history menu
  • Retribution.Punishments.MUTE - Ability to view mutes in the history menu
  • Retribution.Punishments.TEMP_MUTE - Ability to view temporary mutes in the history menu
  • Retribution.Punishments.IP_BAN - Ability to view ip bans in the history menu
  • Retribution.Punishments.TEMP_IP_BAN - Ability to view temporary ip bans in the history menu
  • Retribution.Punishments.NOTE - Ability to view notes in the history menu
  • Retribution.Punishments.WARNING - Ability to view warnings in the history menu
  • Retribution.Punishments.TEMP_WARNING - Ability to view temporary warnings in the history menu
Revoke Permissions:
  • Retribution.Punishments.Revoke.BAN - Ability to revoke bans from players
  • Retribution.Punishments.Revoke.TEMP_BAN - Ability to revoke temporary bans from players
  • Retribution.Punishments.Revoke.MUTE - Ability to revoke mutes from players
  • Retribution.Punishments.Revoke.TEMP_MUTE - Ability to revoke temporary mutes from players
  • Retribution.Punishments.Revoke.IP_BAN - Ability to revoke IP bans from players
  • Retribution.Punishments.Revoke.TEMP_IP_BAN - Ability to revoke temporary IP bans from players
  • Retribution.Punishments.Revoke.NOTE - Ability to revoke notes from players
  • Retribution.Punishments.Revoke.WARNING - Ability to revoke warns from players
  • Retribution.Punishments.Revoke.TEMP_WARNING - Ability to revoke temporary warns from players
How to Download:
Both AdvancedBan and Retribution must be installed on all of your spigot/paper/tunity/bungeecord etc servers for this to work. If you would like to connect your punishments between multiple spigot servers, use a MySQL database with AdvancedBan.

SPIGOT/TUNITY/PAPER:

  1. Download the jar file and add it to your plugins folder on your Spigot server.
  2. Make sure that you have AdvancedBan in your Spigot server plugins folder.
  3. Restart your server.
  4. Enjoy!
BUNGEECORD:
WARNING: To view the menu items using the bungeecord version, you will need to be playing 1.13-1.18. This is because protocolize does not support older versions of Minecraft.
  1. Download the jar file and add it to your plugins folder.
  2. Make sure that you have both AdvancedBan and Protocolize installed in your Bungeecord plugins folder.
  3. Restart your proxy.
  4. Enjoy!
Files:
Code (YAML):

# Retribution - An AdvancedBan Addon by RossRao
#
# Placeholders
# %player% = Player name
#
# Available Materials: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# Available Sounds: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
#

Invalid_Argument
: '&cThis argument does not exist ...'
Unknown_Player
: '&cPlayer not found.'
No_Punishments
: '&cThat player does not have any punishments ...'
No_Permission
: '&cYou do not have permission to do that!'
Unknown_Punishment
: '&cThat punishment does not exist!'

Deleted_Punishment
: '&aYou deleted punishment %id%!'
Cleared_Punishments
: '&aYou cleared the punishments of %player%!'

Reloaded
: '&aRetribution reloaded!'

Help_Command
:
 - ''
  - '&f&lRetribution Commands:'
  - ' &f- /history <player> &7- View punishment history of a player'
  - ' &f- /retribution reload &7- Reload the config'
  - ' &f- /retribution help &7- Retribution help'
  - ' &f- /retribution delete <id> &7- Delete a punishment from a players history'
  - ' &f- /retribution clear <player> &7- Clear a players punishment history'
  - ''

Sounds
:
  Open_History
: 'ENTITY_VILLAGER_YES'
  Switch_Sort
: 'BLOCK_WOODEN_BUTTON_CLICK_ON'
  Switch_Filter
: 'BLOCK_WOODEN_BUTTON_CLICK_ON'

Revoke
:
  Revoke_Message
: '&bYou revoked the punishment %id% from %player%!'
  Lore_Addon
:
   - '&8 ---------------------------'
    - '&bClick to revoke this punishment!'

Menus
:
  History
:
    Title
: ' %player%''s Punishments'
    Rows
: 6
    Background
:
      Material
: 'BLACK_STAINED_GLASS_PANE'
      Glowing
: false
      Name
: '&7'
      Lore
: [ ]
      Slots
:
       - 0
        - 1
        - 2
        - 3
        - 5
        - 6
        - 7
        - 8
        - 9
        - 17
        - 18
        - 26
        - 27
        - 35
        - 36
        - 44
        - 45
        - 46
        - 47
        - 51
        - 52
        - 53
    Close
:
      Material
: 'BARRIER'
      Glowing
: false
      Slot
: 49
      Name
: '&cClose Menu'
      Lore
: [ ]
    Player
:
      Material
: 'PLAYER_HEAD'
      Glowing
: false
      isPunishedsHead
: true
      Slot
: 4
      Name
: '&a %player%''s Punishments'
      Lore
:
       - ''
        - '&f&lPunishments:'
        - ' &a- %total_punishments% Total Punishments'
        - ''
    Sort_All
:
      Material
: 'STONE_BUTTON'
      Glowing
: false
      Slot
: 50
      Name
: '&f&lSort by : &aAll Punishments'
      Lore
:
       - ''
        - '&fSorting by
: &b%sort%'
        - ''
        - '&aClick to change the sorting type!'
    Sort_Active
:
      Material
: 'STONE_BUTTON'
      Glowing
: false
      Name
: '&f&lSort by : &2Active Punishments'
      Lore
:
       - ''
        - '&fSorting by
: &b%sort%'
        - ''
        - '&aClick to change the sorting type!'
    Filter
:
      Material
: HOPPER
      Glowing
: false
      Slot
: 48
      Name
: '&f&lFilter'
      Lore
:
       - ''
        - '&fFiltering by
: &b%filter%'
        - ''
        - '&aClick to change the filter type!'
    Next_Page
:
      Material
: 'ARROW'
      Glowing
: false
      Slot
: 53
      Name
: '&aNext Page'
      Lore
: [ ]
    Previous_Page
:
      Material
: 'ARROW'
      Glowing
: false
      Slot
: 45
      Name
: '&cPrevious Page'
      Lore
: [ ]
    BAN
:
      Material
: 'IRON_AXE'
      Glowing
: false
      Name
: '&4&lBAN&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ''
    TEMP_BAN
:
      Material
: 'GOLDEN_AXE'
      Glowing
: false
      Name
: '&c&lTEMP BAN&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Duration
: &f%duration%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ' &f- &7Expiry Date:'
        - '   &f %expiry%'
        - ''
    KICK
:
      Material
: 'GOLDEN_BOOTS'
      Glowing
: false
      Name
: '&c&lKICK&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ''
    MUTE
:
      Material
: 'GRAY_DYE'
      Glowing
: false
      Name
: '&d&lMUTE&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ''
    TEMP_MUTE
:
      Material
: 'ORANGE_DYE'
      Glowing
: false
      Name
: '&6&lTEMP MUTE&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Duration
: &f%duration%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ' &f- &7Expiry Date:'
        - '   &f %expiry%'
        - ''
    IP_BAN
:
      Material
: 'BARRIER'
      Glowing
: false
      Name
: '&4&lIP BAN&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ''
    TEMP_IP_BAN
:
      Material
: 'BARRIER'
      Glowing
: false
      Name
: '&c&lTEMP BAN&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Duration
: &f%duration%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ' &f- &7Expiry Date:'
        - '   &f %expiry%'
        - ''
    NOTE
:
      Material
: 'WRITABLE_BOOK'
      Glowing
: false
      Name
: '&a&lNOTE&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ''
    WARNING
:
      Material
: 'PAPER'
      Glowing
: false
      Name
: '&d&lWARNING&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ''
    TEMP_WARNING
:
      Material
: 'PAPER'
      Glowing
: false
      Name
: '&d&lTEMP WARNING&r &8 [&7ID- %id%&8]'
      Lore
:
       - ''
        - '&f&lInformation:'
        - ' &f- &7Reason
: &f%reason%'
        - ' &f- &7Staff
: &f%staff%'
        - ' &f- &7Duration
: &f%duration%'
        - ' &f- &7Punishment Date:'
        - '   &f %date%'
        - ' &f- &7Expiry Date:'
        - '   &f %expiry%'
        - ''

config-version
: 1.3
 
  • BAN
  • TEMP_BAN
  • KICK
  • MUTE
  • TEMP_MUTE
  • IP_BAN
  • TEMP_IP_BAN
  • NOTE
  • WARNING
  • TEMP_WARNING
[​IMG]
[​IMG]


[​IMG]

If you enjoy this resource, please consider liking it or even dropping a rating, it'd be very appreciated. Thank you! ❤️
Resource Information
Author:
----------
Total Downloads: 3,640
First Release: Jul 27, 2021
Last Update: Jul 13, 2022
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings