Custom GUIpunishment plugin request

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

redbaron2k7

Member
Apr 20, 2019
3
0
0
23
Category: GUIpunishment

Suggested name: GUIpunishments

Spigot/Skript Version: 1.13.2

What I want: So, I basically want to create a custom Punishment GUI, but I'm having some problems with the history.

When you do the command /punish <player>, I want it to bring up this GUI:

http://prntscr.com/f3qil9

Head: Player's Head, Player's Name
Redstone Torch: Close GUI
Anvil: General Offence
Paper: Chat Offence
Sword: Gameplay Offence
Redstone Block: Other Offences

When you click one of these, I want it to bring up this GUI:

http://prntscr.com/f3qji2

Flowers: Different kinds of Offences (when clicked, brings to next GUI)
Torch: Back Button (brings to the previous page)

Now, on the bottom row of the above GUI, I would like it to be the player's history for that particular type of offense (e.g chat, gameplay, other, general). In the history, I would like there to be: the reason for previous punishment; date of punishment; the reason for removal; date of removal and removal staff. If a punishment is still going on, then it will look as if it is enchanted. If it hasn't been removed, then the reason for removal and date of removal and removal staff won't show. You can remove punishments by right-clicking them.

After the user has clicked an offense on this page, then the following will come up:

http://prntscr.com/f3qp44

Red Clay: Cancel (close GUI)
Green Clay: Confirm Punishment (do it)
Torch: Back to the previous page.

You also might've noticed that I don't want a reason argument. This is because I want the target player to be punished for the reason that is clicked. For example, if a staff member clicks "Fly Hacking", then the target player would be banned for "Fly Hacking (%target player's world%)"



Ideas for commands: /punish <playername>
/history <playername>


Ideas for permissions: GUIpunishments.punish
GUIpunishments.history


When I'd like it by: as soon as possible
 
Last edited: