Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=== Prevention ===
- options:
- version: 1.0
- prefix: &a&lVOTE &8&l» &c
- link: &a&lLINK &8&l» &c
- linktwo: &7Coming Soon
- linkthree: &7Coming Soon
- On craft of golden apple:
- cancel the event
- send "&e&l(!) &eYou are not allowed to craft a &eGolden Apple" to the player
- On craft of ender chest:
- cancel event
- send "&e&l(!) &eYou are not allowed to craft an &dEnder Chest" to the player
- On craft of TNT:
- cancel event
- send "&e&l(!) &eYou are not allowed to craft &fT&4N&fT" to the player
- #=== Enderpearl cooldown ===
- on rightclick with ender pearl:
- {time.%player%.lastused} was less than 15 seconds ago:
- set {time} to difference between {time.%player%.lastused} and now
- if {time} is less than 15 seconds:
- set {time} to difference between {time} and 15 seconds
- message "&e&l(!) &eYou cannot throw another enderpearl for &6%{time}%&f"
- cancel event
- stop
- set {time.%player%.lastused} to now
- if loop-player is wearing all iron armor:
- apply haste 2 to loop-player for 5 seconds
- #=======================================================
- # IconicF | Factions GUI System =
- # by Ghastblasters / Paid by MCMart =
- #=======================================================
- #on load:
- #loop all players:
- #if player is op:
- #send message "&8[&bFactions&3X&8]&7 loaded skript"
- Command /ff:
- permission: ic.claim
- trigger:
- open chest with 3 rows named "&8[&bFactions&3X&8]&7 Faction GUI" to player
- wait 2 tick
- format slot 0 of player with gray stained glass pane named "&8Click to close" to close
- format slot 1 of player with gray stained glass pane named "&8Click to close" to close
- format slot 2 of player with gray stained glass pane named "&8Click to close" to close
- format slot 3 of player with gray stained glass pane named "&8Click to close" to close
- format slot 4 of player with gray stained glass pane named "&8Click to close" to close
- format slot 5 of player with gray stained glass pane named "&8Click to close" to close
- format slot 6 of player with gray stained glass pane named "&8Click to close" to close
- format slot 7 of player with gray stained glass pane named "&8Click to close" to close
- format slot 8 of player with gray stained glass pane named "&8Click to close" to close
- format slot 9 of player with gray stained glass pane named "&8Click to close" to close
- format slot 10 of player with grass named "&2Teleport to factions home" to run [make player execute command "/f home"]
- format slot 11 of player with dirt named "&2Set factions home" to run [make player execute command "/f sethome"]
- format slot 12 of player with fence named "&6Claim faction land" to run [make player execute command "/ffclaim"]
- format slot 13 of player with paper named "&6Faction map" to run [make player execute command "/f map"]
- format slot 14 of player with diamond sword named "&5Faction Stats" to run [make player execute command "/f who"]
- format slot 15 of player with torch named "&7Faction Help" to run [make player execute command "/f help"]
- format slot 16 of player with 166 named "&cLeave Faction" to run [make player execute command "/f leave"]
- format slot 17 of player with gray stained glass pane named "&8Click to close" to close
- format slot 18 of player with gray stained glass pane named "&8Click to close" to close
- format slot 19 of player with gray stained glass pane named "&8Click to close" to close
- format slot 20 of player with gray stained glass pane named "&8Click to close" to close
- format slot 21 of player with gray stained glass pane named "&8Click to close" to close
- format slot 22 of player with gray stained glass pane named "&8Click to close" to close
- format slot 23 of player with gray stained glass pane named "&8Click to close" to close
- format slot 24 of player with gray stained glass pane named "&8Click to close" to close
- format slot 25 of player with gray stained glass pane named "&8Click to close" to close
- format slot 26 of player with gray stained glass pane named "&8Click to close" to close
- Command /ffclaim:
- permission: ic.claim
- trigger:
- open chest with 3 rows named "&8[&bFactions&3X&8]&7 Faction GUI" to player
- wait 2 tick
- format slot 0 of player with gray stained glass pane named "&8Click to close" to close
- format slot 1 of player with gray stained glass pane named "&8Click to close" to close
- format slot 2 of player with gray stained glass pane named "&8Click to close" to close
- format slot 3 of player with gray stained glass pane named "&8Click to close" to close
- format slot 4 of player with gray stained glass pane named "&8Click to close" to close
- format slot 5 of player with gray stained glass pane named "&8Click to close" to close
- format slot 6 of player with gray stained glass pane named "&8Click to close" to close
- format slot 7 of player with gray stained glass pane named "&8Click to close" to close
- format slot 8 of player with gray stained glass pane named "&8Click to close" to close
- format slot 9 of player with gray stained glass pane named "&8Click to close" to close
- format slot 10 of player with gray stained glass pane named "&8Click to close" to close
- format slot 11 of player with grass named "&aClaim &21&a chunk" to run [make player execute command "/f claim 1"]
- format slot 12 of player with grass named "&aClaim &29&a chunk" to run [make player execute command "/f claim 2"]
- format slot 13 of player with grass named "&aClaim &225&a chunk" to run [make player execute command "/f claim 3"]
- format slot 14 of player with grass named "&aClaim &249&a chunk" to run [make player execute command "/f claim 4"]
- format slot 15 of player with grass named "&aClaim &281&a chunk" to run [make player execute command "/f claim 5"]
- format slot 16 of player with gray stained glass pane named "&8Click to close" to close
- format slot 17 of player with gray stained glass pane named "&8Click to close" to close
- format slot 18 of player with gray stained glass pane named "&8Click to close" to close
- format slot 19 of player with gray stained glass pane named "&8Click to close" to close
- format slot 20 of player with gray stained glass pane named "&8Click to close" to close
- format slot 21 of player with gray stained glass pane named "&8Click to close" to close
- format slot 22 of player with gray stained glass pane named "&8Click to close" to close
- format slot 23 of player with gray stained glass pane named "&8Click to close" to close
- format slot 24 of player with gray stained glass pane named "&8Click to close" to close
- format slot 25 of player with gray stained glass pane named "&8Click to close" to close
- format slot 26 of player with gray stained glass pane named "&8Click to close" to close
- command /vote1:
- trigger:
- message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
- execute console command "/tellraw %player% {""text"":""&bhttp://minecraftservers.org/server/453227"",""clickEvent"":{""action"":""open_url"",""value"":""http://minecraftservers.org/server/453227""},""hoverEvent"":{""action"":""show_text"",""value"":""&bClick to vote!""}}"
- message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
- command /rtp:
- aliases: /wild
- trigger:
- wait 1 tick
- open chest with 1 rows named "&BRandomTP&7 | &cWarps Menu" to player
- format slot 4 of player with diamond named "&aSpawnTP" to close then run [execute player command "/spawn"]
- format slot 5 of player with yellow glass named "" to be unstealable
- format slot 1 of player with lead named "&BRandomTP" to close then run [execute player command "/randomtp"]
- format slot 0 of player with yellow glass named "" to be unstealable
- format slot 3 of player with yellow glass named "" to be unstealable
- format slot 2 of player with yellow glass named "" to be unstealable
- format slot 6 of player with yellow glass named "" to be unstealable
- format slot 8 of player with yellow glass named "" to be unstealable
- format slot 7 of player with redstone named "&4CLOSE" to close
- options:
- min.x: -3500
- max.x: 3500
- min.z: -3500
- max.z: 3500
- avoid: air or water block or lava block or stone block or sandstone block or mossy cobblestone block or dirt block
- perm: random.tp
- cooldown: 10 minute
- command /randomtp:
- permission: {@perm}
- trigger:
- set {_waited} to difference between {wild.%player%.lastused} and now
- if {_waited} is less than {@cooldown}:
- message "&8(&4!&8) &4You must wait %difference between {@cooldown} and {_waited}% &4before using this command again."
- stop
- send "&8(&4!&8) &aTeleporting to the &5RandomTP" to player
- wait 1 tick
- send "&8(&4!&8) &aTeleporting in &c3 &aseconds."
- wait 1 second
- send "&8(&4!&8) &aTeleporting in &c2 &aseconds."
- wait 1 second
- send "&8(&4!&8) &aTeleporting in &c1 &asecond."
- wait 2 second
- apply resistance 100 to player for 6 seconds
- wait 1 tick
- set {_loc::old} to player's location
- while player's location is {_loc::old}:
- set {_loc::new} to location at random number between {@min.x} and {@max.x}, 0, random number between {@min.z} and {@max.z}
- loop blocks above {_loc::new}:
- if loop-block and block above loop-block are air:
- if block under loop-block is not {@avoid}:
- set {_loc::new} to location of loop-block
- teleport player to {_loc::new}
- stop loop
- wait 5 ticks
- set {wild.%player%.lastused} to now
- command /vote:
- trigger:
- wait 1 tick
- open chest with 3 row named "&bFactions&3X &aVote" to player
- format slot 0 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 1 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 2 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 3 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 4 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 5 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 6 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 7 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 8 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 9 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 10 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 11 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 12 of player with emerald named "&a&lVote 1" to close then run [make player execute command "/vote1"]
- format slot 13 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 14 of player with emerald named "&a&lVote 2" to close then run [make player execute command "/vote2"]
- format slot 15 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 16 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 17 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 18 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 19 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 20 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 21 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 22 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 23 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 24 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 25 of player with black stained Glass Pane named "&0." to be unstealable
- format slot 26 of player with black stained Glass Pane named "&0." to be unstealable
- command /vote2:
- trigger:
- message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
- message "{@linktwo}"
- message "&8&l&m---&f&l*&8&l&m----------------------&f&l*&8&l&m---"
Advertisement
Add Comment
Please, Sign In to add comment