Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # #
- # Name: Options #
- # Author: FrostedWeFall #
- # Version: 1.1 #
- # #
- # # # # # # # # # # # # # # # #
- options:
- NoPerm: &8» &7You require the rank &e[VIP]&7 to execute that command!"options:
- nopermission: "&8» &7You require the rank &9[SKY]&7 to execute that command!." #NoPermission message can be Edited (The message supports Colorcodes: &<colorcode>)
- pointsadd: 5 #How much Points would be added after a Kill.[Default: 5]
- pointsremove: 2 #How much Points would be removed after a Death.[Default: 2]
- on join:
- clear player's inventory
- wait 3 ticks
- set slot 1 of player to ender_chest named "&eGadgets &7(Right Click)"
- set slot 7 of player to redstone_repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu"
- set slot 4 of player to player's skull named "&bFriends &7(Right Click)" with lore "&7Right click to see Friends list"
- set slot 8 of player to clock named "&aServer Selector &7(Right Click)" with lore "&7Right click to change lobbys"
- set slot 17 of player to arrow
- set {status.%player%} to "&aOnline"
- add 1 to {joins.%player%}
- on connect:
- set {status.%player%} to "&3Joined"
- on first join:
- set {status.%player%} to "&aOnline"
- set {kills.%player%} to 0
- set {deaths.%player%} to 0
- set {joins.%player%} to 0
- set {points.%player%} to 0
- add 1 to {joins.%player%}
- on step on pressure plate:
- push player forwards with force 5
- on drop:
- world is "world"
- world is "DuelsLobby"
- cancel event
- on respawn:
- clear player's inventory
- wait 3 ticks
- set slot 7 of player to redstone_repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu"
- set slot 8 of player to clock named "&aServer Selector &7(Right Click)" with lore "&7Right click to change lobbys"
- set slot 4 of player to player's skull named "&bFriends &7(Right Click)" with lore "&7Right click to see Friends list"
- set slot 0 of player to ender_chest named "&eGadgets &7(Right Click)"
- set slot 17 of player to arrow
- command /optionshelp:
- permission: "admin.options"
- permission message: {@NoPerm}
- trigger:
- message "&8------------------------"
- message " &e&nOptions:"
- message ""
- message "&7Commands:"
- message "&b/options &8(open options menu)"
- message "&b/help &8(opens help menu)"
- message "&b/optionshelp &8(help for the skript)"
- message ""
- message " &e&nGadgets"
- message ""
- message "&b/gadgets &8(open menu gadgets)"
- message "&8------------------------"
- play raw sound "random.orb" at player with pitch 1 volume 1
- command /buyarank:
- trigger:
- message "&4TNTSpleef: &7Buy your rank to get the best benefits, Link: &9https://tntspleefminehut.buycraft.net/"
- play raw sound "random.orb" at player with pitch 1 volume 1
- command /msgfly:
- trigger:
- message "&4TNTSpleef: &7Use the dye below to access your options!"
- command /msgspeed:
- trigger:
- message "&4TNTSpleef: &7Use the dye below to access your options!"
- command /options:
- trigger:
- if player has permission "vip.options":
- open chest with 6 rows named "&7Player options" to player
- wait 0.1 seconds
- format slot 0 of player with arrow named "&cBack" with lore "&7Close options menu." to close
- format slot 11 of player with experience bottle named "&cFly" with lore "&7Use fly Right Click" to run [make player execute command "/msgfly"]
- 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"]
- 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"]
- 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"]
- 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"]
- 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"]
- format slot 37 of player with 368 named "&c¡Off!" with lore "&7View players" to close then run [make player execute command "/p off"]
- format slot 38 of player with 381 named "&a¡On!" with lore "&7View players" to close then run [make player execute command "/p on"]
- 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%"]
- 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%"]
- 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"]
- on rightclick with redstone_repeater:
- if name of player's tool contains "&eOptions &7(Right Click)":
- wait 3 ticks
- make player execute command "options"
- command /p [<text>]:
- permission: "vip.options"
- permission message: {@NoPerm}
- trigger:
- if arg 1 is "on":
- Send "&aView Players &2¡ON!" to player
- hide all players to player
- if arg 1 is "off":
- Send "&cView Players &4¡OFF!" to player
- reveal all players to player
- command /speed [<text>]:
- permission: "vip.options"
- permission message: {@NoPerm}
- trigger:
- if arg 1 is "yes":
- Send "&aSpeed II Activated correctly" to player
- apply speed to player for 100 days
- if arg 1 is "no":
- Send "&4Speed II Disabled correctly" to player
- remove speed from player
- command /nick <text> [<player>]:
- aliases:nickname
- permission message: {@NoPerm}
- permission: "vip.options"
- usage: /nick <NickName> [<Player (If it is not you!) >]
- trigger:
- if argument 2 is not set:
- set display name of player to "%colored argument 1%"
- set {essentials.%player%.nick} to "%colored argument 1%"
- message "&aYour name was set to %argument 1%"
- send player title "&eNick changed" wim, h subtitle "&7¡Congratulations!" for 5 seconds
- else:
- player has permission "vip.options":
- set display name of argument 2 to "%colored argument 1%"
- set {essentials.%arg 2%.nick} to "%argument 1%"
- message "&2You set the Name of &4%argument 2% &4to %colored argument 1%"
- send player title "&eNick changed" with subtitle "&7¡Congratulations!" for 5 seconds
- stop
- command /rhat [<text>]:
- aliases: rh
- permission message: {@nopermission}
- permission: "sky.options"
- trigger:
- if argument is "hat":
- if player have the permission "sky.options":
- equip player with leather helmet named "&bc&ao&el&co&dr"
- wait 1 seconds
- dye player's helmet blue
- wait 1 seconds
- dye player's helmet red
- wait 1 seconds
- dye player's helmet green
- wait 1 seconds
- dye player's helmet purple
- wait 1 seconds
- dye player's helmet pink
- wait 1 seconds
- dye player's helmet blue
- wait 1 seconds
- dye player's helmet red
- wait 1 seconds
- dye player's helmet green
- wait 1 seconds
- dye player's helmet purple
- wait 1 seconds
- dye player's helmet pink
- remove all leather helmet from player
- # #
- # Gadgets #
- # #
- on rightclick with Ender_chest:
- make player execute command "/gadgets"
- on rightclick with redstone_repeater:
- make player execute command "/options"
- on rightclick with clock:
- make player execute command "/lob list"
- on rightclick with player's skull:
- make console execute command "/f list"
- command /gadgets:
- trigger:
- if player has permission "vip.gadgets":
- open chest with 3 rows named "&8Gadgets" to player
- wait 0.1 seconds
- set {_p} to "%player%" parsed as player
- 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"]
- 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"]
- 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"]
- 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"]
- Command /fire:
- permission: vip.axe
- permission message: {@NoPerm}
- trigger:
- set slot 8 of player to Golden Axe named "&eThor's hammer"
- send player title "&eThor's hammer" with subtitle "&7¡Activate!" for 5 seconds
- play raw sound "note.hat" at player with pitch 1 volume 1
- Command /egg:
- permission: vip.egg
- permission message: {@NoPerm}
- trigger:
- set slot 8 of player to Egg named "&eEgg &4G&bU&2N"
- play raw sound "note.hat" at player with pitch 1 volume 1
- Command /bom:
- permission: vip.firework
- permission message: {@NoPerm}
- trigger:
- set slot 8 of player to Firework Rocket named "&2C&4h&2r&4i&2s&4t&2m&4a&2s"
- play raw sound "note.hat" at player with pitch 1 volume 1
- on click with a egg:
- player has the permission "vip.egg"
- shoot a chicken from the player
- wait 5 seconds
- kill all chickens in hub
- on click with a golden axe:
- strike lightning at the targeted block
- on quit:
- set {status.%player%} to "&cOffline"
- on death of player:
- add 1 to {kills.%attacker%}
- add 1 to {deaths.%player%}
- add {@pointsadd} to {points.%attacker%}
- remove {@pointsremove} from {points.%player%}
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send " " to player
- send "&8» &7You have been killed by &e%attacker's nickname%&7." to player
- send "&8» &6Health&8: &c%attacker's health% &c❤" to player
- send "&8» &7You have killed &e%player's nickname%&7." to attacker
- command /resetstats [<offlineplayer>]:
- permission: stats.reset
- permission message: {@nopermission}
- trigger:
- if arg 1 is not set:
- send "&8» &6Syntax&8: &e/ResetStats <Player>"
- if arg 1 is set:
- set {kills.%arg 1%} to 0
- set {deaths.%arg 1%} to 0
- set {joins.%arg 1%} to 1
- set {points.%arg 1%} to 0
- send "&8» &7You have resetted &e%arg 1's nickname%'s &6Stats&7." to player
- send "&8» &7Your &6Stats &7have been resetted by an &4Admin&7." to arg 1
- command /setstats <text> <number> [<offlineplayer>]:
- permission: stats.set
- permission message: {@nopermission}
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- if arg 3 is not set:
- send "&8» &6Syntax&8: &e/SetStats <Kills/Deaths/Joins/Points> <Number> <Player>" to player
- if arg 1 is set:
- if arg 1 is "kills" or "k":
- if arg 2 is set:
- if arg 3 is set:
- set {kills.%arg 3%} to arg-2
- send "&8» &e%arg 3%'s &eKills &7has been set to &e%arg 2%&7." to player
- else:
- send "&8» &7Please set a &ePlayer&7."
- else:
- send "&8» &7Please set a number of &eKills&7."
- if arg 1 is "deaths" or "d":
- if arg 2 is set:
- if arg 3 is set:
- set {deaths.%arg 3%} to arg-2
- send "&8» &e%arg 3%'s Deaths &7has been set to &e%arg 2%&7." to player
- else:
- send "&8» &Please set a &ePlayer&7."
- else:
- send "&8» &7Please set a number of &eKills&7"
- if arg 1 is "joins" or "j":
- if arg 2 is set:
- if arg 3 is set:
- set {joins.%arg 3%} to arg-2
- send "&8» &e%arg 3%'s Joins &7has been set to &e%arg 2%&7." to player
- else:
- send "&8» &7Please set a &ePlayer&7."
- else:
- send "&8» &7Please set a number of &eJoin&7."
- if arg 1 is "points" or "p":
- if arg 2 is set:
- if arg 3 is set:
- set {points.%arg 3%} to arg-2
- send "&8» &e%arg 3%'s Points &7has been set to &e%arg 2%&7." to player
- else:
- send "&8» &&7Please set a &ePlayer&7."
- else:
- send "&8» &7Please set a number of &ePoints&7"
- command /gstats [<offlineplayer>]:
- permission: stats.gui
- permission message: {@nopermission}
- trigger:
- if arg 1 is not set:
- open chest with 1 row named "&8» &eStats &7from &6%player%" to player
- format slot 4 of player with 1 iron block named "&8» &ePlayer&8: &7%player%" with lore "&8» &eStatus&8: &7%{status.%player%}%" to be unstealable
- format slot 0 of player with 1 iron sword named "&8» &eKills&8: &7%{kills.%player%}%" to be unstealable
- format slot 1 of player with 1 black window glass named "&8" to be unstealable
- format slot 3 of player with 1 black window glass named "&8" to be unstealable
- format slot 5 of player with 1 black window glass named "&8" to be unstealable
- format slot 7 of player with 1 black window glass named "&8" to be unstealable
- format slot 2 of player with 1 fire charge named "&8» &eDeaths&8: &7%{deaths.%player%}%" to be unstealable
- format slot 6 of player with 1 ender pearl named "&8» &ePoints&8: &7%{points.%player%}%" to be unstealable
- format slot 8 of player with 1 crafting table named "&8» &eJoins&8: &7%{joins.%player%}%" to be unstealable
- if arg 1 is set:
- open chest with 1 row named "&8» &eStats &7from &6%arg 1%" to player
- format slot 4 of player with 1 iron block named "&8» &ePlayer&8: &7%arg 1%" with lore "&8» &eStatus&8: &7%{status.%arg 1%}%" to be unstealable
- format slot 0 of player with 1 iron sword named "&8» &eKills&8: &7%{kills.%arg 1%}%" to be unstealable
- format slot 1 of player with 1 black window glass named "&8" to be unstealable
- format slot 3 of player with 1 black window glass named "&8" to be unstealable
- format slot 5 of player with 1 black window glass named "&8" to be unstealable
- format slot 7 of player with 1 black window glass named "&8" to be unstealable
- format slot 2 of player with 1 fire charge named "&8» &eDeaths&8: &7%{deaths.%arg 1%}%" to be unstealable
- format slot 6 of player with 1 ender pearl named "&8» &ePoints&8: &7%{points.%arg 1%}%" to be unstealable
- format slot 8 of player with 1 crafting table named "&8» &eJoins&8: &7%{joins.%arg 1%}%" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment