OkayDang Posted October 19, 2021 Share Posted October 19, 2021 command /playtime: aliases: /pt trigger: open virtual chest inventory with size 3 named "&4&lYour Current Playtime" to player format gui slot 13 of player with player's head named "&dYour Current Playtime" with lore "&8&m----------------------" and "&e%player's time played%" format gui slot 0 of player with lime stained glass pane named " " format gui slot 1 of player with lime stained glass pane named " " format gui slot 2 of player with lime stained glass pane named " " format gui slot 3 of player with lime stained glass pane named " " format gui slot 4 of player with lime stained glass pane named " " format gui slot 5 of player with lime stained glass pane named " " format gui slot 6 of player with lime stained glass pane named " " format gui slot 7 of player with lime stained glass pane named " " format gui slot 8 of player with lime stained glass pane named " " format gui slot 9 of player with lime stained glass pane named " " format gui slot 10 of player with lime stained glass pane named " " format gui slot 11 of player with lime stained glass pane named " " format gui slot 12 of player with lime stained glass pane named " " format gui slot 14 of player with lime stained glass pane named " " format gui slot 15 of player with lime stained glass pane named " " format gui slot 16 of player with lime stained glass pane named " " format gui slot 17 of player with lime stained glass pane named " " format gui slot 18 of player with lime stained glass pane named " " format gui slot 19 of player with lime stained glass pane named " " format gui slot 20 of player with lime stained glass pane named " " format gui slot 21 of player with lime stained glass pane named " " format gui slot 22 of player with lime stained glass pane named " " format gui slot 23 of player with lime stained glass pane named " " format gui slot 24 of player with lime stained glass pane named " " format gui slot 25 of player with lime stained glass pane named " " format gui slot 26 of player with lime stained glass pane named " " Link to comment Share on other sites More sharing options...
NotKaizo Posted October 19, 2021 Share Posted October 19, 2021 Hey! Nice Skript! But there is some changes that can be made to make this shorter and nicer. Instead of repeating the glass format, you could easily just do this: format gui slot (integers between 0 and 26) of player with lime stained glass pane named "&a" That will take all those lines and compact it into just one singular line! Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
OkayDang Posted October 19, 2021 Author Share Posted October 19, 2021 37 minutes ago, NotKaizo said: Hey! Nice Skript! But there is some changes that can be made to make this shorter and nicer. Instead of repeating the glass format, you could easily just do this: format gui slot (integers between 0 and 26) of player with lime stained glass pane named "&a" That will take all those lines and compact it into just one singular line! thank you! Link to comment Share on other sites More sharing options...
Fiskmannen33 Posted October 22, 2021 Share Posted October 22, 2021 On 10/19/2021 at 10:30 AM, NotKaizo said: Hey! Nice Skript! But there is some changes that can be made to make this shorter and nicer. Instead of repeating the glass format, you could easily just do this: format gui slot (integers between 0 and 26) of player with lime stained glass pane named "&a" That will take all those lines and compact it into just one singular line! doesnt work Link to comment Share on other sites More sharing options...
Fiskmannen33 Posted October 22, 2021 Share Posted October 22, 2021 rip Link to comment Share on other sites More sharing options...
itsKimo Posted October 24, 2021 Share Posted October 24, 2021 On 10/22/2021 at 4:08 PM, Fiskmannen33 said: doesnt work On 10/19/2021 at 3:02 AM, OkayDang said: command /playtime: aliases: /pt trigger: open virtual chest inventory with size 3 named "&4&lYour Current Playtime" to player format gui slot 13 of player with player's head named "&dYour Current Playtime" with lore "&8&m----------------------" and "&e%player's time played%" format gui slot 0 of player with lime stained glass pane named " " format gui slot 1 of player with lime stained glass pane named " " format gui slot 2 of player with lime stained glass pane named " " format gui slot 3 of player with lime stained glass pane named " " format gui slot 4 of player with lime stained glass pane named " " format gui slot 5 of player with lime stained glass pane named " " format gui slot 6 of player with lime stained glass pane named " " format gui slot 7 of player with lime stained glass pane named " " format gui slot 8 of player with lime stained glass pane named " " format gui slot 9 of player with lime stained glass pane named " " format gui slot 10 of player with lime stained glass pane named " " format gui slot 11 of player with lime stained glass pane named " " format gui slot 12 of player with lime stained glass pane named " " format gui slot 14 of player with lime stained glass pane named " " format gui slot 15 of player with lime stained glass pane named " " format gui slot 16 of player with lime stained glass pane named " " format gui slot 17 of player with lime stained glass pane named " " format gui slot 18 of player with lime stained glass pane named " " format gui slot 19 of player with lime stained glass pane named " " format gui slot 20 of player with lime stained glass pane named " " format gui slot 21 of player with lime stained glass pane named " " format gui slot 22 of player with lime stained glass pane named " " format gui slot 23 of player with lime stained glass pane named " " format gui slot 24 of player with lime stained glass pane named " " format gui slot 25 of player with lime stained glass pane named " " format gui slot 26 of player with lime stained glass pane named " " not sure why you had to put it i9n a gui but you could do this with metadata tags command playtime <offlineplayer=%player%>: trigger: if arg-1 has not played before: send "&cThis player has not been on the server before!" to player else: set metadata tag "playtimeGUI" of player to chest inventory with 1 row named "&a%arg-1%&a's Playtime" set slot (integers between 0 and 8) of metadata tag "playtimeGUI" of player to black stained glass pane named "&0" with all flags hidden set slot 4 of metadata tag "playtimeGUI" of player to arg-1's head named "&a%arg-1%" with lore "&aPlaytime: %arg-1's time played%" with all flags hidden open metadata tag "playtimeGUI" of player to player vanilla skript, as tuske is buggy and not good Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now