MillionDollar Posted April 8, 2021 Share Posted April 8, 2021 Some stuff I had lying around. Commands: Spoiler /setspawn /spawn /gms /gmc /gmsp /gma /fly /vanish /enderchest /invsee /god /heal /feed /clearchat /mutechat /ban /mute /unban /unmute /check /glow /backpack - /retrieve /discord Permissions: Spoiler /setspawn - setspawn.use /gms - gamemode.survival /gmsp - gamemode.spectator /gmc - gamemode.creative /gma - gamemode.adventure /fly - fly.use /vanish - vanish.use (to reveal player to others: vanish.reveal) /enderchest - enabled for defaults (ec.see for seeing the ender chest of another player) /invsee - invsee.use /god - god.use /heal - heal.use /feed - feed.use /clearchat - clearchat.use /mutechat - mutechat.use (to bypass: chatmute.bypass) /ban - ban.use (ban.notify) /unban - unban.use /mute - mute.use (mute.notify) /unmute - unmute.use /check - check.use /glow - glow.use /backpack - backpack.give /retrieve - backpack.retrieve Punish messages and check message Vroom vroom cmds.sk MillionDollar, TrillionDollar BillionDollar please notice me. Link to comment Share on other sites More sharing options...
SuperOrca Posted April 9, 2021 Share Posted April 9, 2021 (edited) Hello, its tips and tricks man here! Instead of doing command /gms [<offlineplayer>]: permission: gamemode.survival permission message: {@no-perm} trigger: if arg 1 is set: set arg 1's gamemode to survival else: set sender's gamemode to survival do this: command /gms <player=%player%>: permission: gamemode.survival permission message: {@no-perm} trigger: set arg-1's gamemode to survival and instead of doing this: loop all players: if loop-player has permission "vanish.reveal": reveal player from loop-player do this: reveal player from all players where [input has permission "vanish.reveal"] Nice skript, I like how you cited your sources in the comments. Edited April 9, 2021 by SuperOrca 2 Likes are appreciated Username: SuperOrca Discord: Link to Profile Rank: [VIP] Joined Minehut: August 10, 2017 Joined Forums: June 10, 2019 Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored). Link to comment Share on other sites More sharing options...
MillionDollar Posted April 9, 2021 Author Share Posted April 9, 2021 (edited) 23 minutes ago, SuperOrca said: Hello, its tips and tricks man here! Instead of doing command /gms [<offlineplayer>]: permission: gamemode.survival permission message: {@no-perm} trigger: if arg 1 is set: set arg 1's gamemode to survival else: set sender's gamemode to survival do this: command /gms <player=%player%>: permission: gamemode.survival permission message: {@no-perm} trigger: set arg-1's gamemode to survival and instead of doing this: loop all players: if loop-player has permission "vanish.reveal": reveal player from loop-player do this: reveal player from all players where [input has permission "vanish.reveal" Nice skript, I like how you cited your sources in the comments. Thanks for the tips Edited April 9, 2021 by MillionDollar . MillionDollar, TrillionDollar BillionDollar please notice me. Link to comment Share on other sites More sharing options...
UntitledGoose Posted April 9, 2021 Share Posted April 9, 2021 Nicely done! Just a tip, but instead of using a variable like {backpacks.open::%player's uuid%} to determine whether or not a player's backpack is open, try using a metadata tag like metadata value "backpacks-open" of player. Metadata tags are much better in a case like this because they do not take up valuable variable space, and are deleted automatically when the server stops, so you don't have to worry about deleting it yourself if the server shuts down unexpectedly. You can also pack an effect and condition into one line, for example: if {god::%victim's uuid%} is true: cancel event turns into: cancel event if {god::%victim's uuid%} is true Also, you don't need to make every single argument in a command optional, so instead of having command /retrieve [<integer>] [<integer>], you can have command /retrieve <integer> <integer>, and then in your code, you wouldn't have to check if each argument is set. 1 VIP since January 7th, 2020 Support since September 19th, 2020 Helper since November 3rd, 2020 Moderator since March 8th, 2021 Link to comment Share on other sites More sharing options...
Jackson85 Posted April 14, 2021 Share Posted April 14, 2021 Everyone else here is giving all this great advice and I just really like the color choice. 1 Joined on January 17th 2016 VIP since April 5 2017 - August 1st 2019 JrMod since August 1st Mod since October 1st SrMod since November 2nd - 2/7/21 Patron since February 8 - 3/7/21 Mod since March 8 2021 Retired since idk when If I helped or entertained you at all today, please react with a heart. 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