Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on script load:
- if text from "http://pastebin.com/raw/axq7jXwj" is not "1.5":
- broadcast "Updating [THE Addon]"
- message "&dUpdating &e[THE Addon]" to console
- download from "http://pastebin.com/VQ31n8Vw" to "plugins/Skript/scripts/THE_Addon.sk"
- wait 5 ticks
- execute console command "/skript reload THE_Addon"
- broadcast "&dFinished Updating &e[THE_Addon]"
- message "&dFinished Updating &e[THE_Addon]" to console
- #A l'attention de tout les users: Nous reconnaissons chaque user grâce à leurs ips, donc si il y a un supp all nous reconnaitrons qui ça pourrait être gràce au log donc le ban.
- #- NoaGamingFR -
- on any move:
- set {afk.%player%} to 0
- set {afkok.%player%} to true
- every 1 second:
- if {afkok.%player%} is true:
- set {afk.%player%} to 0
- else if {afkok.%player%} is false:
- add 1 to {afk.%player%}
- if {afk.%player%} = 300:
- set {afkok.%player%} to true
- kick the player due to "AFK"
- #Niware et Alex
- options:
- world : world #Le monde du joueur
- commande_execute : /help #la commande qui sera executer
- on load:
- set {world.%player%} to world of player
- if player is in world "world"
- make execute player command "{@commande_execute}"
- #phileas0408 : msg
- command /msg [<player>] [<text>]:
- trigger:
- if arg 1 is not set:
- message "&cCe joueur n'est pas en ligne" to player
- else:
- message "&aMessage envoye a &e%arg 1% > &7%arg 2%" to player
- message "&aMessage recu de &e%player% > &b%arg 2%" to arg 1
- #phileas0408 : bloc propulseur
- on walking on diamond block:
- if player is in world "world":
- push the player upwards at speed 2
- #Niware pour celui qui voulait le motd :
- command /motd [<text>]:
- permission: motd.set
- permission message: &cTu n'as pas la permission
- trigger:
- if arg 1 is not set:
- send "&c[MOTD] Syntaxe: /motd [<text>]"
- stop
- else:
- set {Motd} to arg 1
- replace all "&" in {Motd} with "§"
- message "&a[MOTD] Nouveau motd défini (%{Motd}%&a)"
- command /motdenable:
- permission: motd.enable
- permission message: &cTu n'as pas la permission
- trigger:
- set {enable.motd} to true
- send "&a[MOTD] Motd activé !"
- command /motddisable:
- permission: motd.disable
- permission message: &cTu n'as pas la permission
- trigger:
- clear {enable.motd}
- send "&c[MOTD] Motd désactivé !"
- #Addons : WildSkript , Skquery , SkRayfal , Skript :p ,Umbaska
- #Niware
- on damage:
- if damage cause is a projectile:
- if projectile is an arrow:
- set {_health.%victim%} to health of victim
- send action bar from "&e%{_health.%victim%}% ♥" to attacker
- #golden head: Le craft
- on load:
- register new shapeless recipe for 322:0 named "&2Golden Head" using Gold ingot, Gold ingot, Gold ingot, Gold ingot, 397:3, Gold ingot, Gold ingot, Gold ingot, Gold ingot
- #L'effet
- On Consume a golden apple:
- if item is 322:0 named "&2Golden Head":
- apply regeneration 2 to the player for 10 seconds
- apply Absorption 1 to the player for 90 seconds
- #phileas0408 menu
- command /menu:
- trigger:
- send "&aOuverture.."
- open chest with 3 rows named "&bMenu" to player
- format slot 13 of player with bed item named "Nom" to close then run [execute player command "/spawn"]
- format slot 11 of player with 3 named "Island Home" to close then run [execute player command "/is home"]
- on left click with chest:
- if name of clicked item is "Menu":
- execute player command "/menu"
- on rightclick with chest:
- if name of clicked item is "Menu":
- execute player command "/menu"
- #ImperialCrise Rush:
- command /rush [<text>] [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&d&m-------- &8[&6Rush&5] &d&m--------"
- send "&c/rush create [Nom]&7: &ePermet de crée un rush"
- send "&c/rush setup&7: &eAller dans les paramètres des rushs"
- else if arg 1 is "create":
- if arg 2 is set:
- if {rush.arenes::*} contains arg 2:
- send "&cErreur: Une arène du même nom a déjà été créé"
- else:
- add arg 2 to {rush.arenes::*}
- send "&aVous avez crée l'arène: &o%arg 2%"
- else:
- send "&cErreur Syntaxe: Essayez cela ""/rush create .."""
- if arg 1 is "setup":
- open chest with rows named "&8[&cSetup Rush&8]"
- wait 1 tick
- send "test"
- #Pas finis
- # PsYZiiK.
- # Mute temporaire, définitif avec dé-mute !
- # Préfixe : &8[&aMute&8]
- # Variables :
- # {mute.stats.%player%} = Stats du mute du joueur !
- # {mute.time.%player%} = Temps du mute du joueur !
- # {mute.date.%player%} = Moment où le joueur a été mute !
- # {mute.reason.%player%} = Raison du mute du joueur !
- function checkTime(time: text) :: boolean:
- length of {_time} is 2:
- set {_time} to "0%{_time}%"
- "%groups 0 of {_time} matched to ""[0-9]{2}(s|m|h|d|S|M|H|D)""%" is "<none>":
- return false
- else:
- return true
- function convertTime(time: text) :: timespan:
- {_time} contains "s":
- replace all "s" with " seconds" in {_time}
- else if {_time} contains "m":
- replace all "m" with " minutes" in {_time}
- else if {_time} contains "h":
- replace all "h" with " hours" in {_time}
- else if {_time} contains "d":
- replace all "d" with " days" in {_time}
- return {_time} parsed as a timespan
- function getTime(time: timespan) :: text
- set {_time} to "%{_time}%"
- replace all "second" with "seconde" in {_time}
- replace all "hour" with "heure" in {_time}
- replace all "day" with "jour" in {_time}
- return {_time}
- command /tempmute [<offline player>] [<text>] [<text>]:
- trigger:
- player does not have permission "tempmute.use":
- send "&8[&aMute&8] &cErreur : Vous n'avez pas la permission !"
- else if arg 1 is not set:
- send "&8[&aMute&8] &cErreur : Vous devez préciser un joueur !"
- else if {mute.stats.%arg 1%} is set:
- send "&8[&aMute&8] &cErreur : Ce joueur est déjà mute !"
- else if arg 2 is not set:
- send "&8[&aMute&8] &cErreur : Vous devez préciser une durée !"
- else if checkTime(arg 2) is false:
- send "&8[&aMute&8] &cErreur : La durée n'a pas été écrite correctement !"
- else if arg 3 is not set:
- send "&8[&aMute&8] &cErreur : Vous devez préciser une raison !"
- else:
- set {mute.stats.%arg 1%} to "Temporary"
- set {mute.time.%arg 1%} to convertTime(arg 2)
- set {mute.date.%arg 1%} to now
- set {mute.reason.%arg 1%} to arg 3
- wait a tick
- broadcast "&8[&aMute&8] &b> %arg 1% &7a été mute par &b%player% &7!%nl%&b> Temps : &a%getTime({mute.time.%arg 1%})%"
- command /mute:
- command /unmute:
- #ggdu490 and ImperialCrise:Dons d'xp
- command /donsxp <player> <number>:
- trigger:
- if arg 1 is set:
- set {_arg} to arg 1 parsed as player
- if {_arg} is online:
- if arg 2 >= 1:
- if level of player >= arg 2:
- set {_level} to player's level
- reduce player's level by arg 2
- message "&9Tu as donné &e%arg 2% LEVEL &9a %arg 1%." to player
- make console execute command "/xp %arg 2%L %arg 1%"
- send "&9Tu as reçus &e%arg2% LEVEL &9de %player%" to arg 1
- else:
- message "&cVous n'avez pas assez d'XP pour en donner."
- else:
- message "&cLe nombre d'XP doit être plus grand ou égal à 1."
- else:
- message "&cErreur: Le joueur n'est pas en ligne."
- else:
- send "&3&m---------[&aXP&3&m]-----------"
- message "&a/donsxp [&3Joueur&a] [&3XP&a] &f: &7Donner de l'XP à un joueur."
- #AlexLew
- variables:
- {maxplayer} = 100
- on join:
- set join message to " "
- set {wait.%player%} to true
- apply blindness to the player for 99999999 second
- teleport player to {waitplace}
- loop 9999999 times:
- If {numberofallplayers} < {maxplayer}:
- add 1 to {numberofallplayers}
- broadcast "&e%player% & rejoint la partie."
- apply blindness to the player for 99999999 second
- else:
- send "&e[&dFile d'attente&e] &dMerci de patienter... (%{numberofallplayers}%/%{maxplayer}%)"
- wait 5 seconds
- on server start:
- set {numbermaxofallplayers} to 1
- command /setwaitplace:
- trigger:
- set {waitplace} to location of player
- send "&aLe lieu de la file d'attente a bien été set"
- on any move:
- If {waitplace} is set:
- If {wait.%player%} is true:
- teleport player to {waitplace}
- on quit:
- remove 1 from {numbermaxofallplayers}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement