Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Skript By Jakekub
- #Please test all of these features before you use this!
- #This Skript Contains: Flint Rates, Apple Rates, Squids dropping clownfish, magma cube rates, horse spawn rates, absorption
- #toggle, brewing stand broadcast, ender pearl damage, slots, night vision, deathkick, clearxp, boot a player (kick + unwhitelist),
- #forcefield test, fence glitch protection, admin chat, killboard, head drop toggle, permaday, temple bomb warner, and link command
- options:
- P: <cyan>[<gray>UHC<cyan>]
- CC: &b
- MC: &7
- ac: <cyan>[<dark grey>AdminChat<cyan>]
- #FlintRates
- command /flintrates [<text>]:
- usage: /flintrates <rate>
- permission: skript.op
- trigger:
- set {FLINTRATE} to arg-1
- set {flint} to true
- broadcast "{@P} <r>Flint Rates are now %{FLINTRATE}% Percent"
- if arg-1 is "reset":
- delete {flint}
- set {FLINTRATE} to false
- broadcast "{@P} <r>Flint Rates Reset"
- on mine of gravel:
- {flint} is true
- chance of {FLINTRATE}%
- set block to air
- cancel the event
- drop 1 flint
- #AppleRates
- command /applerates [<text>]:
- usage: /applerates <rate>
- permission: skript.op
- trigger:
- if arg-1 is "reset":
- delete {apples}
- set {APPLERATE} to false
- broadcast "{@P} <r>Apple Rates Reset"
- if arg-1 is not "reset":
- set {APPLERATE} to arg-1
- set {apples} to true
- broadcast "{@P} <r>Apple Rates are now %{APPLERATE}% Percent"
- on mine of oak leaves:
- {apples} is true
- chance of {APPLERATE}%
- drop 1 apple
- on mine of oak leaves:
- {apples} is true
- chance of 5%
- drop 1 oak sapling
- on leaves decay:
- {apples} is true
- chance of {APPLERATE}%
- drop 1 apple
- on mine of oak leaves:
- {apples} is true
- player is holding shears
- set block to air
- #SquidsDropClownfish
- command /squid [<text>]:
- usage: /squid <on/off>
- permission: skript.op
- trigger:
- if arg 1 is "on":
- set {squid} to true
- broadcast "<cyan>[<gray>UHC<cyan>] <r>Squid will drop clownfish"
- if arg 1 is "off":
- delete {squid}
- broadcast "<cyan>[<gray>UHC<cyan>] <r>Squid will not drop clownfish"
- on death of squid:
- {squid} is true
- drop 1 fish item:2 at location of squid
- #BrewingStandBroadcast
- command /brewcraft [<text>]:
- usage: /brewcraft <on/off>
- permission: skript.op
- trigger:
- if arg 1 is "on":
- set {brewcraft} to true
- broadcast "{@P} <r>Brewing Stand Broadcast Enabled"
- if arg 1 is "off":
- delete {brewcraft}
- broadcast "{@P} <r>Brewing Stand Broadcast Disabled"
- on craft of brewing stand:
- {brewcraft} is true
- broadcast "<cyan>[<gray>UHC<cyan>] <light red><b>Someone has crafted a <red><b>brewing stand!"
- #Absorption
- command /absorption [<text>]:
- usage: /absorption <on/off>
- permission: skript.op
- trigger:
- if arg 1 is "on":
- set {absorption} to true
- broadcast "<cyan>[<gray>UHC<cyan>] <r>Absorption is Enabled"
- if arg 1 is "off":
- delete {absorption}
- broadcast "<cyan>[<gray>UHC<cyan>] <r>Absorption is Disabled"
- on consume of Golden Apple:
- {absorption} is false
- wait 1 tick
- remove absorption from the player
- #MagmaCubeSpawnRates
- command /magmacubes [<text>]:
- usage: /magmacubes <rate>
- permission: skript.op
- trigger:
- set {MAGMARATE} to arg-1
- set {MagmaCubes} to true
- broadcast "{@P} <light red>%{MAGMARATE}% Percent of Zombie Pigman are now with Magma Cubes"
- if arg-1 is "reset":
- delete {MagmaCubes}
- set {MAGMARATE} to false
- broadcast "{@P} <light red>Magma Cube Rates Reset"
- on spawn of zombie pigman:
- {MagmaCube} is true
- chance of {MAGMARATE}%
- cancel the event
- spawn 1 magma cube at zombie pigman
- #HorseSpawnRates
- command /horserates [<text>]:
- usage: /horserates <rate>
- permission: skript.op
- trigger:
- set {HORSESPAWNRATE} to arg-1
- set {HorseR8} to true
- broadcast "{@P} <white>Horse Spawn Rates are now decreased by %{HORSESPAWNRATE}% Percent"
- if arg-1 is "reset":
- delete {HorseR8}
- set {HORSESPAWNRATE} to false
- broadcast "{@P} <white>Horse Spawn Rates Reset"
- on spawn:
- {HorseR8} is true
- entity is a horse
- chance of {HORSESPAWNRATE}%
- cancel the event
- #EnderPearlDamage
- command /epdmg [<text>]:
- usage: /epdmg <hearts>
- permission: skript.op
- aliases: /enderdamage, /enderdmg, /epdamage, /enderpearldamage
- trigger:
- set {EPDMG} to arg-1
- set {EnderDMG} to true
- broadcast "{@P} <purple>Ender Pearl Damage is now %{EPDMG}% Hearts"
- if arg-1 is "1":
- set {EPDMG} to 1
- set {EnderDMG} to true
- broadcast "{@P} <purple>Ender Pearl Damage is now 1 Heart"
- if arg-1 is "reset":
- delete {EnderDMG}
- set {EPDMG} to false
- broadcast "{@P} <purple> Ender Pearl Damage Reset"
- on shoot:
- {EnderDMG} is true
- projectile is a ender pearl
- damage the shooter by {EPDMG} hearts
- #ApplyNightVision
- command /nightvision:
- permission: skript.op
- aliases: /nv, /nvision
- trigger:
- apply night vision to the player for 999 days
- message "<cyan>[<gray>UHC<Cyan>] <blue>You have been given <green>Night Vision"
- #AdminChat
- command /adminchat <text>:
- permission: skript.op
- aliases: /ac
- trigger:
- loop all ops:
- send "{@ac} <dark blue><b>%player%: <light blue>%arg-1%" to loop-player
- #BootPlayer - Thanks to ChazGamer for the skript!
- command /boot <player>:
- description: Kick and remove a player from the whitelist
- usage: /boot <player>
- permission: skript.op
- trigger:
- execute console command "/whitelist remove %arg 1%"
- execute console command "/kick %arg 1% You have been booted"
- #ClearXP - Thanks to Qeau for the skript!
- command /clearxp [<player>]:
- description: Clear the XP of all players, or 1 specific player.
- permission: skript.op
- permission message: &4You don't have permission to do this!
- trigger:
- if arg 1 is set:
- execute console command "/xp -2471L %arg 1%"
- execute console command "/playsound random.orb %arg 1%"
- send "{@P} Your experience has been cleared!" to arg 1
- send "{@P} {@CC}%arg 1%'s {@MC}XP was cleared!" to the command sender
- else:
- loop all players:
- execute console command "/xp -24791L %loop-player%"
- execute console command "/playsound random.orb %loop-player%"
- broadcast "{@P}{@MC} Everyone's XP has been cleared!"
- #DeathKick
- command /deathkick [<text>]:
- usage: /deathkick <on/off>
- trigger:
- if arg 1 is "on":
- set {deathkick} to true
- broadcast "{@P} <gray>Death Kick Enabled"
- if arg 1 is "off":
- delete {deathkick}
- broadcast "{@P} <gray>Death Kick Disabled"
- on death of player:
- {deathkick} is true
- execute player command "/xp set 0"
- command "/whitelist remove %victim%"
- execute console command "/leaveteam"
- wait 3 ticks
- command "/warp spawn %victim%"
- wait 1 minute
- execute console command "/kick %player%"
- #FenceGlitchProtection - Thanks to Camaro for the skript!
- on rightclick on fence holding steak or raw beef or raw porkchop or apple or mushroom stew or bread or golden apple or raw fish or raw salmon or pufferfish or cooked fish or cooked salmon or cookie or melon or raw chicken or cooked chicken or rotten flesh or spider eye or carrot or potato or baked potato or golden carrot or pumpkin pie or iron sword or diamond sword or golden sword or wood sword or stone sword or bow:
- cancel event
- on rightclick on nether brick fence holding steak or raw beef or raw porkchop or apple or mushroom stew or bread or golden apple or raw fish or raw salmon or pufferfish or cooked fish or cooked salmon or cookie or melon or raw chicken or cooked chicken or rotten flesh or spider eye or carrot or potato or baked potato or golden carrot or pumpkin pie or iron sword or diamond sword or golden sword or wood sword or stone sword or bow:
- cancel event
- #ForcefieldTest
- command /fftest:
- permission: skript.op
- trigger:
- command "/reappear %player%"
- wait 11 ticks
- command "/vanish %player%"
- #HealthCommands - Sets Hearts in 1.8
- command /fixhealth:
- permission: skript.op
- trigger:
- command "/scoreboard objectives add HEALTH health Health"
- command "/scoreboard objectives add healthname health Health"
- command "/scoreboard objectives setdisplay list HEALTH"
- command "/scoreboard objectives setdisplay belowName healthname"
- broadcast "{@P} <Light Purple>Health is now out of 20"
- command /h <player>:
- usage: /h <player> - See health of a player
- aliases: /health
- trigger:
- message "{@P} &9%arg 1% &ris on &e%health of arg 1% hearts&r!"
- #Killboard
- command /killboard <text> <text>:
- permission: skript.op
- trigger:
- if arg 1 is "on":
- execute console command "/scoreboard objectives add Kills playerKillCount <light red>Kills <light gray>- <light red>%arg-2%"
- execute console command "/scoreboard objectives setdisplay sidebar Kills"
- broadcast "{@P} <White>Killboard On"
- command /delkillboard:
- permission: skript.op
- trigger:
- command "/scoreboard objectives remove Kills"
- broadcast "{@P} <White>Killboard Off"
- #HeadDrops
- on death:
- {PlayerHeads} is true
- victim is player
- drop the victim's skull at victim
- command /givehead [<text>]:
- permission: skript.op
- trigger:
- make player execute command "/i head:3 1 player:%arg-1%"
- command /heads <text>:
- usage: /heads <on/off>
- permission: skript.op
- trigger:
- if arg 1 is "on":
- set {PlayerHeads} to true
- broadcast "{@P} <r>Heads On"
- if arg 1 is "off":
- delete {PlayerHeads}
- broadcast "{@P} <r>Heads Off"
- #LinkNetherToOverworld
- command /link <text> <text>:
- usage: /link <world> <world>
- trigger:
- command "/mw link %arg-1% %arg-2%"
- command "/mw link %arg-2% %arg-1%"
- broadcast "{@P} &8Worlds &c%arg-1% &8and &c%arg-2% &8Linked!"
- #Permaday
- command /perma:
- permission: skript.perma
- trigger:
- execute console command "/time set 6000"
- wait 1 second
- make player execute command "/gamerule doDaylightCycle false"
- broadcast "{@P} <Yellow>Permaday Activated"
- #TempleBombAlert - Thanks to Fleft for the skript!
- on pressure plate:
- block at location 1 below event-block is sandstone
- block at location 2 below event-block is tnt
- add "&c%event-player%&a" to {_People::*}
- loop players in radius 10 around event-block:
- loop-player is not event-player
- add "&a%loop-player%" to {_People::*}
- if (size of ({_People::*})) is 1:
- set {_People::*} to "&c%event-player%&r and &ano one else."
- loop all players:
- loop-player is an op
- message "{@P} &e&lTemple Bomb: %{_People::*}%" to loop-player
- #Slots
- command /slots <text>:
- usage: /slots <amount of slots>
- permission: skript.op
- trigger:
- make player execute command "/maxplayers %arg-1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement