Custom Punishment GUI

  • 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!

OfficialLiovo

Member
Apr 29, 2017
16
1
0
23
Hey!

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 of previous punishment; date of punishment; the reason of 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 of 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%)"

While I'm here, I'd also like to ask, is there a way for a tab-list to show only players in the current user's world?

It'd be great if someone could create the punish skript for me! <3

Signed,
LiovoMC
 
Does it matter what addons are used for the GUI? If anything, I will be using TuSKe for the GUI Management.
[doublepost=1493853062,1493850215][/doublepost]Also, I'm gonna need a name & command to be ran for each offense in this gui.
85d4b9138d1a4aed8c4d36e656503bd6.png
 
No, and it doesn't matter what add-ons are used, as long as they're for 1.8. And, it doesn't matter about the commands, I've got them sorted. Just make a simple command to test it with like:

command /test:
trigger:
send "&cTest!"

And, for the names, just call them whatever. I've got stuff sorted
 
No, and it doesn't matter what add-ons are used, as long as they're for 1.8. And, it doesn't matter about the commands, I've got them sorted. Just make a simple command to test it with like:

command /test:
trigger:
send "&cTest!"

And, for the names, just call them whatever. I've got stuff sorted
Okay Cool. I'm assuming you know how to use Skript so I'll put a blank spot where the command needs to be executed. But other than that, I am done with the Skript. I'll be DMing (since I'm not home/on my phone) you later with the Skript and Addons needed.
 
Okay Cool. I'm assuming you know how to use Skript so I'll put a blank spot where the command needs to be executed. But other than that, I am done with the Skript. I'll be DMing (since I'm not home/on my phone) you later with the Skript and Addons needed.
Can I have this as well? :3