SHOW:
|
|
- or go back to the newest paste.
| 1 | # # # # # # # # # # # # # # # # | |
| 2 | # # | |
| 3 | # Name: Options # | |
| 4 | # Author: FrostedWeFall # | |
| 5 | # Version: 1.1 # | |
| 6 | # # | |
| 7 | # # # # # # # # # # # # # # # # | |
| 8 | ||
| 9 | options: | |
| 10 | NoPerm: &cYou dont have permissions for this command! | |
| 11 | ||
| 12 | on join: | |
| 13 | clear player's inventory | |
| 14 | wait 3 ticks | |
| 15 | set slot 2 of player to Piston named "&eGadgets &7(Right Click)" | |
| 16 | set slot 6 of player to repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu" | |
| 17 | set slot 17 of player to arrow | |
| 18 | on drop: | |
| 19 | world is "hub" | |
| 20 | cancel event | |
| 21 | on respawn: | |
| 22 | clear player's inventory | |
| 23 | wait 3 ticks | |
| 24 | set slot 6 of player to repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu" | |
| 25 | set slot 2 of player to Piston named "&eGadgets &7(Right Click)" | |
| 26 | set slot 17 of player to arrow | |
| 27 | ||
| 28 | command /optionshelp: | |
| 29 | permission: "admin.options" | |
| 30 | permission message: {@NoPerm}
| |
| 31 | trigger: | |
| 32 | message "&8------------------------" | |
| 33 | message " &e&nOptions:" | |
| 34 | message "" | |
| 35 | message "&7Commands:" | |
| 36 | message "&b/options &8(open options menu)" | |
| 37 | - | message "&b/optionsreload &8(reload scripts)" |
| 37 | + | message "&b/help &8(opens help menu)" |
| 38 | message "&b/optionshelp &8(help for the skript)" | |
| 39 | message "" | |
| 40 | message " &e&nGadgets" | |
| 41 | message "" | |
| 42 | message "&b/gadgets &8(open menu gadgets)" | |
| 43 | message "&8------------------------" | |
| 44 | play raw sound "random.orb" at player with pitch 1 volume 1 | |
| 45 | command /buyarank: | |
| 46 | trigger: | |
| 47 | message "&4TNTSpleef: &7Buy your rank to get the best benefits, Link: &9https://tntspleefminehut.buycraft.net/" | |
| 48 | play raw sound "random.orb" at player with pitch 1 volume 1 | |
| 49 | command /msgfly: | |
| 50 | trigger: | |
| 51 | message "&4TNTSpleef: &7Use the dye below to access your options!" | |
| 52 | command /msgspeed: | |
| 53 | trigger: | |
| 54 | message "&4TNTSpleef: &7Use the dye below to access your options!" | |
| 55 | ||
| 56 | on inventory click: | |
| 57 | clear player's inventory | |
| 58 | wait 3 ticks | |
| 59 | set slot 5 of player to repeater named "&eOptions &7(Right Click)" with lore "&7Options menu!" | |
| 60 | ||
| 61 | command /options: | |
| 62 | trigger: | |
| 63 | if player has permission "vip.options": | |
| 64 | open chest with 6 rows named "&7Player options" to player | |
| 65 | wait 0.1 seconds | |
| 66 | format slot 0 of player with arrow named "&cBack" with lore "&7Close options menu." to close | |
| 67 | format slot 11 of player with experience bottle named "&cFly" with lore "&7Use fly Right Click" to run [make player execute command "/msgfly"] | |
| 68 | format slot 19 of player with 351:8 named "&cFly" with lore "&4¡Click to deactivate!" to close then run [make player execute command "/f off"] | |
| 69 | format slot 21 of player with 351:10 named "&aFly" with lore "&2¡Click to activate!" to close then run [make player execute command "/f on"] | |
| 70 | format slot 15 of player with diamond_boots named "&aSpeed II" with lore "&7Use Speed II Right Click" to run [make player execute command "/msgspeed"] | |
| 71 | format slot 23 of player with 351:8 named "&cSpeed II" with lore "&4¡Click to deactivate!" to close then run [make player execute command "/speed no"] | |
| 72 | format slot 25 of player with 351:10 named "&aSpeed II" with lore "&2¡Click to activate!" to close then run [make player execute command "/speed yes"] | |
| 73 | format slot 37 of player with 368 named "&c¡Off!" with lore "&7View players" to close then run [make player execute command "/p off"] | |
| 74 | format slot 38 of player with 381 named "&a¡On!" with lore "&7View players" to close then run [make player execute command "/p on"] | |
| 75 | format slot 42 of player with 35:5 named "&7Tag example: &a%player%" with lore "&7Click to have this tag||&7You need: &a[VIP]" to close then run [make player execute command "/nick &a%player%"] | |
| 76 | format slot 43 of player with 35:10 named "&7Tag example: &5%player%" with lore "&7Click to have this tag||&7You need: &a[VIP]" to close then run [make player execute command "/nick &5%player%"] | |
| 77 | format slot 31 of player with player's skull named "&2¡Buy a Rank!" with lore "&7Buy your rank||&7and gain advantages" to close then run [make player execute command "/buyarank"] | |
| 78 | - | format slot 44 of player with leather helmet named "&6&lRainbow Hat" with lore "&aClick to give Rainbow Hat" to close then run [make player execute command "/ggc hat"] |
| 78 | + | |
| 79 | on rightclick with repeater: | |
| 80 | if name of player's tool contains "&eOptions &7(Right Click)": | |
| 81 | wait 3 ticks | |
| 82 | make player execute command "options" | |
| 83 | command /f [<text>]: | |
| 84 | permission: "vip.options" | |
| 85 | permission message: {@NoPerm}
| |
| 86 | trigger: | |
| 87 | if arg 1 is "on": | |
| 88 | Send "&aFly Activated correctly" to player | |
| 89 | set player's fly mode to on | |
| 90 | if arg 1 is "off": | |
| 91 | Send "&4Fly Disabled correctly" to player | |
| 92 | set player's fly mode to off | |
| 93 | ||
| 94 | command /p [<text>]: | |
| 95 | permission: "vip.options" | |
| 96 | permission message: {@NoPerm}
| |
| 97 | trigger: | |
| 98 | if arg 1 is "on": | |
| 99 | Send "&aView Players &2¡ON!" to player | |
| 100 | hide all players to player | |
| 101 | if arg 1 is "off": | |
| 102 | Send "&cView Players &4¡OFF!" to player | |
| 103 | reveal all players to player | |
| 104 | ||
| 105 | command /speed [<text>]: | |
| 106 | permission: "vip.options" | |
| 107 | permission message: {@NoPerm}
| |
| 108 | trigger: | |
| 109 | if arg 1 is "yes": | |
| 110 | Send "&aSpeed II Activated correctly" to player | |
| 111 | apply speed to player for 100 days | |
| 112 | if arg 1 is "no": | |
| 113 | Send "&4Speed II Disabled correctly" to player | |
| 114 | remove speed from player | |
| 115 | ||
| 116 | command /nick <text> [<player>]: | |
| 117 | aliases:nickname | |
| 118 | permission message: {@NoPerm}
| |
| 119 | permission: "vip.options" | |
| 120 | usage: /nick <NickName> [<Player (If it is not you!) >] | |
| 121 | - | usage: /nick <NickName> [<Player (If it is not you!)>] |
| 121 | + | |
| 122 | if argument 2 is not set: | |
| 123 | set display name of player to "%colored argument 1%" | |
| 124 | set {essentials.%player%.nick} to "%colored argument 1%"
| |
| 125 | message "&aYour name was set to %argument 1%" | |
| 126 | send player title "&eNick changed" wim, h subtitle "&7¡Congratulations!" for 5 seconds | |
| 127 | else: | |
| 128 | player has permission "vip.options": | |
| 129 | set display name of argument 2 to "%colored argument 1%" | |
| 130 | set {essentials.%arg 2%.nick} to "%argument 1%"
| |
| 131 | message "&2You set the Name of &4%argument 2% &4to %colored argument 1%" | |
| 132 | send player title "&eNick changed" with subtitle "&7¡Congratulations!" for 5 seconds | |
| 133 | stop | |
| 134 | command /rhat [<text>]: | |
| 135 | aliases: rh | |
| 136 | trigger: | |
| 137 | if argument is "hat": | |
| 138 | if player have the permission "vip.options": | |
| 139 | equip player with leather helmet named "&bc&ao&el&co&dr" | |
| 140 | wait 1 seconds | |
| 141 | dye player's helmet blue | |
| 142 | wait 1 seconds | |
| 143 | dye player's helmet red | |
| 144 | wait 1 seconds | |
| 145 | dye player's helmet green | |
| 146 | wait 1 seconds | |
| 147 | dye player's helmet purple | |
| 148 | wait 1 seconds | |
| 149 | dye player's helmet pink | |
| 150 | wait 1 seconds | |
| 151 | dye player's helmet blue | |
| 152 | wait 1 seconds | |
| 153 | dye player's helmet red | |
| 154 | wait 1 seconds | |
| 155 | dye player's helmet green | |
| 156 | wait 1 seconds | |
| 157 | dye player's helmet purple | |
| 158 | wait 1 seconds | |
| 159 | dye player's helmet pink | |
| 160 | remove all leather helmet from player | |
| 161 | ||
| 162 | ||
| 163 | ||
| 164 | # # | |
| 165 | # Gadgets # | |
| 166 | # # | |
| 167 | ||
| 168 | on rightclick with Ender_chest: | |
| 169 | - | on rightclick with Piston: |
| 169 | + | |
| 170 | ||
| 171 | ||
| 172 | command /gadgets: | |
| 173 | trigger: | |
| 174 | if player has permission "vip.gadgets": | |
| 175 | - | if player has permission "vip.options": |
| 175 | + | |
| 176 | wait 0.1 seconds | |
| 177 | set {_p} to "%player%" parsed as player
| |
| 178 | ||
| 179 | format slot 11 of player with Firework Rocket named "&2C&4h&2r&4i&2s&4t&2m&4a&2s" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [make player execute command "/bom"] | |
| 180 | format slot 12 of player with Egg named "&eEgg &4G&bU&2N" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [make player execute command "/egg"] | |
| 181 | format slot 14 of player with Golden Axe named "&eThor's hammer" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [execute player command "/fire"] | |
| 182 | format slot 15 of player with leather helmet named "&6Rainbow Hat" with lore "&7Click to activate||&7You need: &9[SKY]" to close then run [make player execute command "/rhat hat"] | |
| 183 | ||
| 184 | Command /fire: | |
| 185 | - | permission: gadgets.goldenaxe |
| 185 | + | permission: vip.axe |
| 186 | permission message: {@NoPerm}
| |
| 187 | trigger: | |
| 188 | set slot 8 of player to Golden Axe named "&eThor's hammer" | |
| 189 | send player title "&eThor's hammer" with subtitle "&7¡Activate!" for 5 seconds | |
| 190 | play raw sound "note.hat" at player with pitch 1 volume 1 | |
| 191 | ||
| 192 | Command /egg: | |
| 193 | - | permission: gadgets.egg |
| 193 | + | permission: vip.egg |
| 194 | permission message: {@NoPerm}
| |
| 195 | trigger: | |
| 196 | set slot 8 of player to Egg named "&eEgg &4G&bU&2N" | |
| 197 | play raw sound "note.hat" at player with pitch 1 volume 1 | |
| 198 | ||
| 199 | Command /bom: | |
| 200 | - | permission: gadgets.firework |
| 200 | + | permission: vip.firework |
| 201 | permission message: {@NoPerm}
| |
| 202 | trigger: | |
| 203 | set slot 8 of player to Firework Rocket named "&2C&4h&2r&4i&2s&4t&2m&4a&2s" | |
| 204 | play raw sound "note.hat" at player with pitch 1 volume 1 | |
| 205 | ||
| 206 | on click with a egg: | |
| 207 | - | player has the permission "gadgets.egg" |
| 207 | + | player has the permission "vip.egg" |
| 208 | shoot a chicken from the player | |
| 209 | wait 5 second | |
| 210 | kill all chickens in world | |
| 211 | ||
| 212 | on click with a golden axe: | |
| 213 | strike lightning at the targeted block |