Resource icon

API Rev Gui Manager 0.5

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

Supported Minecraft Versions
  1. 1.7
  2. 1.8
  3. 1.9
  4. 1.10
  5. 1.11
  6. 1.12
Rev Gui Manager
easy way to create gui multi action



it's a small api i made cos i am bored
i hobe you enjoy it


Requirements
Skript
skript-mirror
SkQuery

code_language.skript:
Rev Create new menu id %integer%

Rev set menu id %integer% name to %text%

Rev set menu id %integer% rows to %integer%

Rev open menu id %integer% to %player%

Rev set slot %integer% of menu id %integer% to %item% [named %-text%] [with lore %-text%]

Rev set slot %integer% of menu id %integer% to execute cmd %text% as op on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

Rev set slot %integer% of menu id %object% permission to %text% on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

Rev set slot %integer% of menu id %object% to send %text% on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

Rev set slot %integer% of menu id %object% to Cooldown %text% on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

Rev set slot %integer% of menu id %object% to give %items% on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

Rev set slot %integer% of menu id %object% to Close on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

Rev set slot %integer% of menu id %object% to use %object% and cost %number% on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

Rev set slot %integer% of menu id %object% to run [[function] [effect]] %object% on (1¦left|2¦right|3¦middle|4¦shift left|5¦shift right|6¦ ) click

code_language.skript:
on load:
    Rev Create new menu id 1
    Rev set menu id 1 name to "&ctest"
    Rev set menu id 1 rows to 2
    Rev set slot 1 of menu id 1 to stone with lore "&clore"
    Rev set slot 2 of menu id 1 to stone
    Rev set slot 3 of menu id 1 to stone
    set {_item} to stone of power 1
    Rev set slot 4 of menu id 1 to {_item} named "&chello" with lore "&cworld"
    Rev set slot 5 of menu id 1 to stone named "&cname" with lore "&clore"
    Rev set slot 1 of menu id 1 permission to "slot.1" on click
    Rev set slot 1 of menu id 1 to execute cmd "/day" on shift left click
    Rev set slot 2 of menu id 1 to execute cmd "/day" as op on middle click
    Rev set slot 3 of menu id 1 to send "&chello" on click
    Rev set slot 3 of menu id 1 to use "{Coins.%%{_p}%%}" and cost 100 on left click
    Rev set slot 2 of menu id 1 to use "{Token.%%{_uuid}%%}" and cost 100 on left click
    Rev set slot 5 of menu id 1 to Cooldown "1 day" on click
    Rev set slot 4 of menu id 1 to Cooldown "1 day" on left click
    Rev set slot 1 of menu id 1 to Close on click
    Rev set slot 2 of menu id 1 to Close on left click
    add 10 stone named "kit" to {_kit::*}
    add 20 coal ore to {_kit::*}
    Rev set slot 5 of menu id 1 to give {_kit::*} on left click
    Rev set slot 8 of menu id 1 to stone
    Rev set slot 8 of menu id 1 to run function "test({_p}, {Coins.%%{_p}%%})" on left click
    Rev set slot 9 of menu id 1 to stone
    Rev set slot 9 of menu id 1 to run effect "send ""hello"" to {_p}" on left click

    Rev set slot 10 of menu id 1 to stone
    Rev set slot 10 of menu id 1 to run "give 1 of stone to {_p}" on left click
 
    Rev set slot 11 of menu id 1 to stone
    Rev set slot 11 of menu id 1 to run "broadcast ""&c&lhello world""" on click
    
    Rev set slot 12 of menu id 1 to stone
    Rev set slot 12 of menu id 1 to run "set {StartGame} to true" on left click
    Rev set slot 12 of menu id 1 to run "set {StartGame} to false" on right click
    Rev set slot 12 of menu id 1 to send "%%{StartGame}%%" on left click
    Rev set slot 12 of menu id 1 to send "%%{StartGame}%%" on right click
    
    Rev set slot 13 of menu id 1 to stone named "&ccoins"
    Rev set slot 13 of menu id 1 to send "%%{Coins.%%{_p}%%}%%" on click
    Rev set slot 14 of menu id 1 to stone named "&cmy uuid"
    Rev set slot 14 of menu id 1 to send "%%{_uuid}%%" on click
command /test:
    description: &cgui command !
    trigger:
        Rev open menu id 1 to player
Terms:
You can not can not claim it as your own
You can't edit the skript and upload it as yours
  • You can't sell this resource or give it to anyone for money.
Author
ammar
Downloads
990
Views
990
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. removed debug

    removed debug
  2. fix bugs

    fix bug in item name