PunishPanel [1.7 - 1.16.1] | A simple and configurable GUI for punishments 1.0

A simple and fully customizable GUI plugin for punishments

  1. Santi_MG
    Tested Minecraft Versions:
    • 1.8
    • 1.15
    • 1.16
    Contributors:
    SantiMG
    PunishPanel is a simple, comfortable and fully customizable plugin for make a GUI for lots of punishments.

    Features:
    • Fully customizable (Messages & GUI)
    • Permissions
    • Plugin reload command
    • All version supported


    WARNING: This plugin was made in 1.8 with item names and sounds from 1.8. If you're server is running on 1.9+ you must change the item names/sounds names in the configuration files.

    Screenshots/Videos:
    https://imgur.com/a/f6nFDWq

    Configuration Files:
    Code (Text):
    # =======================
    # =     PunishPanel     =
    # =      by SantiMG     =
    # =======================

    GUIConfig:
      inventory-size: 45
      inventory-name: Choose the punishment
      open-sound: true
      sound: NOTE_PLING
      on-punish-sound: true
      punish-sound: ORB_PICKUP
      ignore-offline: false
    Messages:
      no-permission: '&cYou don''t have permission to execute this command!'
      no-console: '&cThis command cannot be executed by console!'
      few-arguments: '&cUsage: /punish <player>'
      no-online: '&cThe player %target% isn''t online!'
      reload-message: '&aThe plugin was reloaded with success!'
      successfully-punished-message: '&aPlayer %target% was successfully punished!'
     
    Code (Text):
    # Remember what spigot version you are using to prevent any issue with the item names and sounds.
    InventoryRefill:
      enabled: true
      refill-item: STAINED_GLASS_PANE
      id: 15
      item-name: ' '
    Inventory:
      '1':
        slot: 11
        item-slot: DIAMOND_SWORD
        item-name: '&eCheating'
        enable-lore: true
        item-lore:
        - '&7Cheating/Unfair Advantage'
        - '&aClick to punish!'
        punish-command: ban %target% Cheating
      '2':
        slot: 12
        item-slot: PAPER
        item-name: '&eTest'
        enable-lore: true
        item-lore:
        - '&7DON''T CLICK ME!'
        punish-command: kick %target% Why are you so curious?
      '3':
        slot: 13
        item-slot: IRON_SWORD
        item-name: '&eYou can add lots of punishments'
        enable-lore: true
        item-lore:
        - '&7And customize the lores'
        - '&7as you want!'
        - '&bClick to punish!'
        punish-command: tempban %target% 1d Modify this in gui.yml
      '4':
        slot: 14
        item-slot: GOLD_CHESTPLATE
        item-name: '&eThis is a test x2'
        enable-lore: true
        item-lore:
        - '&7You can modify the'
        - '&7punish commands in the &3gui.yml'
        punish-command: tempban %target% 1d Modify this in gui.yml
      '5':
        slot: 15
        item-slot: DIAMOND
        item-name: '&eDon''t forget to rate the plugin'
        enable-lore: true
        item-lore:
        - '&7Please report any bug, issue or'
        - '&7suggestion in the plugin page.'
        - '&9Thanks for using it! &a- SantiMG'
        punish-command: tempban %target% 1d Modify this in gui.yml

    Commands & Permissions:
    • /punish - punishpanel.use
    • /punishreload - punishpanel.admin.reload

    Dependencies:
    • Any plugin for ban and mute commands like Litebans or AdvancedBan.

    Don't forget to rate the plugin if it works correctly! If you have any bug, issue or suggestion please tell me it in the comments.

    My Discord: SantiMG#7450

Recent Reviews

  1. toriset
    toriset
    4/5,
    Version: 1.0
    The plugin is good, the issue im getting is this:
    29.07 08:42:52 [Server] ERROR Cannot load plugins/PunishPanel/gui.yml
    29.07 08:42:52 [Server] INFO org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    29.07 08:42:52 [Server] INFO in 'string', line 9, column 3:
    29.07 08:42:52 [Server] INFO '1':
    29.07 08:42:52 [Server] INFO ^
    29.07 08:42:52 [Server] INFO expected <block end>, but found Scalar
    29.07 08:42:52 [Server] INFO in 'string', line 16, column 4:
    29.07 08:42:52 [Server] INFO '2':
    29.07 08:42:52 [Server] INFO ^
    29.07 08:42:52 [Server] INFO at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:180) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at dev.santimg.punishpanel.Main.reloadGUI(Main.java:90) [PunishPanel.jar:?]
    29.07 08:42:52 [Server] INFO at dev.santimg.punishpanel.commands.ReloadCommand.onCommand(ReloadCommand.java:34) [PunishPanel.jar:?]
    29.07 08:42:52 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
    29.07 08:42:52 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
    29.07 08:42:52 [Server] INFO Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    29.07 08:42:52 [Server] INFO in 'string', line 9, column 3:
    29.07 08:42:52 [Server] INFO '1':
    29.07 08:42:52 [Server] INFO ^
    29.07 08:42:52 [Server] INFO expected <block end>, but found Scalar
    29.07 08:42:52 [Server] INFO in 'string', line 16, column 4:
    29.07 08:42:52 [Server] INFO '2':
    29.07 08:42:52 [Server] INFO ^
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[patched.jar:git-PaperSpigot-"4c7641d"]
    29.07 08:42:52 [Server] INFO ... 21 more

    And idk why all the ids are from 1.8 the server is 1.8 so please help me. And that inventoryrefill is toggled off but still fills the inventory.
  2. TheDarknessLight
    TheDarknessLight
    1/5,
    Version: 1.0
    The most configurable? I just changed two things and says that ocurred a internal error.
    1. Santi_MG
      Author's Response
      The plugin was made for 1.8 so if you are using 1.12 or higher you must change the sounds and materials ID's. If your error ins't this, you can tell me it.
  3. Reedpasse
    Reedpasse
    4/5,
    Version: 1.0
    Ok, right it's working 1.16.1 with some error but working.

    I would like to juste sent a Message (like a massive title) on the screen to the target... can you explain how i can make it ? I tried ... :p

    And another quick command on slot 5 (exemple) to sent the guy to a specific area... :p

    Thanks :)
    1. Santi_MG
      Author's Response
      Hi! If you can tell me what error do you have, will be better for me! In the run-commands string in gui.yml you can use "tp %target% 500 100 500" without the "/". The plugin will be replace the %target% with the player name wrote in /punish