1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom Punishment GUI

Discussion in 'Requests' started by OfficialLiovo, May 3, 2017.

Tags:
  1. OfficialLiovo

    OfficialLiovo Member

    Joined:
    Apr 29, 2017
    Messages:
    16
    Likes Received:
    1
    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
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Does it matter what addons are used for the GUI? If anything, I will be using TuSKe for the GUI Management.
    --- Double Post Merged, May 4, 2017, Original Post Date: May 3, 2017 ---
    Also, I'm gonna need a name & command to be ran for each offense in this gui.
    [​IMG]
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    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
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    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.
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Thanks, <3
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Can I have this as well? :3
     

Share This Page

Loading...