Aller au contenu
  • 0

Aucune fonctionnalité de mon skript marche


Question

Posté(e)

Bonjour,

 

Version serveur: 1.10 spigot

Version skript: Skript 2.2 Fixes V8b.jar

 

Après quelques modification de mon skript, je reload le skript normalement mais la le skript se reload très vite, trop vite, je vois que quelque chose ne va pas. J'essaye les commandes du skript et la, commande inconnu.

Pourtant le reload du skript d'avant, aucun problème.

J'ai redémarré le serveur en vain.

 

Je voulais savoir comment régler le problème.

 

Merci par avance

Cordialement Xamez

22 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Ma version skript:

Version skript: Skript 2.2 Fixes V8b.jar

Ma version serveur:

Version serveur: 1.10 spigot

Mes addons : SkQuery/WildSkript/Umbaska/skRayFall

 

 

Mais je pense que cela ne vient pas de ça car cela marchais avant sans problème.

  • 0
Posté(e)
Ma version skript:

 

Ma version serveur:

 

Mes addons : SkQuery/WildSkript/Umbaska/skRayFall

 

 

Mais je pense que cela ne vient pas de ça car cela marchais avant sans problème.

Ton skript :/ Envoie le nous !

  • J'aime 1
  • 0
Posté(e)

Re,

 

Voici mon code:

 

#Skript crée par Xamez

on quit:
   clear player's inventory
   set {staff.%player%} to false
   set {vanish.%player%} to false
   reveal player from all players

command /freeze <player>:
   permission: freeze.use
   permission message: &cTu n'as pas accès à cette commande.
   trigger:
       if {freeze.%arg 1%} is not set:
           set {freeze.%arg 1%} to true
           set {loc.%arg 1%} to location of arg 1
           apply slowness 255 to arg 1 for 999 days
           apply jump boost 255 to arg 1 for 999 days
           apply blindness 255 to arg 1 for 999 days
           send " " to arg 1
           send "&8[&bFreeze&8] &cTu es désormais freeze." to arg 1
           send " " to arg 1
           loop all players:
               if loop-player has permission "staff.use":
                   send "&8&l&m--------------------------" to loop-player
                   send "&8[&bFreeze&8] &c%player% à freeze %arg 1%" to loop-player
                   send "&8&l&m--------------------------" to loop-player
           send " " to arg 1
           set action bar of arg 1 to "&cVous êtes freeze !"
           send " " to arg 1
           wait 2 seconds
           stop
       if {freeze.%arg 1%} is false:
           set {freeze.%arg 1%} to true
           set {loc.%arg 1%} to location of arg 1
           apply slowness 255 to arg 1 for 999 days
           apply jump boost 255 to arg 1 for 999 days
           apply blindness 255 to arg 1 for 999 days
           send " " to arg 1
           send "&8[&bFreeze&8] &cTu es désormais freeze." to arg 1
           send " " to arg 1
           loop all players:
               if loop-player has permission "staff.use":
                   send "&8&l&m--------------------------" to loop-player
                   send "&8[&bFreeze&8] &c%player% à freeze %arg 1%" to loop-player
                   send "&8&l&m--------------------------" to loop-player
           stop
       if {freeze.%arg 1%} is true:
           set {freeze.%arg 1%} to false
           clear {loc.%arg 1%}
           remove slowness 255 from arg 1
           remove jump boost 255 from arg 1
           remove blindness 255 from arg 1
           send " " to arg 1
           send "&8[&bFreeze&8] &aTu es désormais unfreeze." to arg 1
           send " " to arg 1
           loop all players:
               if loop-player has permission "staff.use":
                   send "&8&l&m--------------------------" to loop-player
                   send "&8[&bFreeze&8] &a%player% à unfreeze %arg 1%" to loop-player
                   send "&8&l&m--------------------------" to loop-player
           set action bar of arg 1 to "&aVous êtes unfreeze !"

every 2 second:
   loop all players:
       if {loc.%loop-player%} is set:
           teleport loop-player to {loc.%loop-player%}
           set action bar of loop-player to "&cVous êtes freeze !"

command /adminstaff <player>:
   trigger:
       if player is op:
           if {staff.%arg 1%} is not set:
               set {staff.%arg 1%} to true
               send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod." to arg 1
               clear arg 1's inventory
               wait 2 ticks
               set slot 0 of arg 1 to a wooden sword of knockback 5 named "&bKnockBack"
               set slot 1 of arg 1 to a light green dye named "&bVanish &7(Activé)"
               set slot 2 of arg 1 to a stick named "&bKill"
               set slot 3 of arg 1 to a book named "&bVérification"
               set slot 4 of arg 1 to a paper named "&bInformation"
               set slot 5 of arg 1 to a ice named "&bFreeze"
               set slot 8 of arg 1 to a 76 named "&bQuitter"
               set {vanish.%arg 1%} to true
               hide arg 1 from all players
               stop trigger
           if {staff.%arg 1%} is false:
               set {staff.%arg 1%} to true
               send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod." to arg 1
               clear arg 1's inventory
               wait 2 ticks
               set slot 0 of arg 1 to a wooden sword of knockback 5 named "&bKnockBack"
               set slot 1 of arg 1 to a light green dye named "&bVanish &7(Activé)"
               set slot 2 of arg 1 to a stick named "&bKill"
               set slot 3 of arg 1 to a book named "&bVérification"
               set slot 4 of arg 1 to a paper named "&bInformation"
               set slot 5 of arg 1 to a ice named "&bFreeze"
               set slot 8 of arg 1 to a 76 named "&bQuitter"
               set {vanish.%arg 1%} to true
               hide arg 1 from all players
               stop trigger
           if {staff.%arg 1%} is true:
               send "&8[&bStaffMod&8] &8» &aVous avez désactivé le StaffMod." to arg 1
               clear arg 1's inventory
               set {staff.%arg 1%} to false
               set {vanish.%arg 1%} to false
               reveal arg 1 from all players

Command /staff:
   permission: staff.use
   permission message: &cTu n'as pas le droit de faire cette commande.
   aliases: /mod
   trigger:
       if {staff.%player%} is not set:
           set {staff.%player%} to true
           send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod."
           clear player's inventory
           wait 2 ticks
           set slot 0 of player to a wooden sword of knockback 5 named "&bKnockBack"
           set slot 1 of player to a light green dye named "&bVanish &7(Activé)"
           set slot 2 of player to a stick named "&bKill"
           set slot 3 of player to a book named "&bVérification"
           set slot 4 of player to a paper named "&bInformation"
           set slot 5 of player to a ice named "&bFreeze"
           set slot 8 of player to a 76 named "&bQuitter"
           set {vanish.%player%} to true
           hide player from all players
           stop trigger
       if {staff.%player%} is false:
           set {staff.%player%} to true
           send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod."
           clear player's inventory
           wait 2 ticks
           set slot 0 of player to a wooden sword of knockback 5 named "&bKnockBack"
           set slot 1 of player to a light green dye named "&bVanish &7(Activé)"
           set slot 2 of player to a stick named "&bKill"
           set slot 3 of player to a book named "&bVérification"
           set slot 4 of player to a paper named "&bInformation"
           set slot 5 of player to a ice named "&bFreeze"
           set slot 8 of player to a 76 named "&bQuitter"
           set {vanish.%player%} to true
           hide player from all players
           stop trigger
       if {staff.%player%} is true:
           send "&8[&bStaffMod&8] &8» &aVous avez désactivé le StaffMod."
           clear player's inventory
           set {staff.%player%} to false
           set {vanish.%player%} to false
           reveal player from all players

on right click with redstone torch:
   if name of player's tool is "&bQuitter":
       send "&8[&bStaffMod&8] &8» &aVous avez désactivé le StaffMod."
       clear player's inventory
       set {staff.%player%} to false
       set {vanish.%player%} to false
       reveal player from all players

on right click with light green dye:
   if name of player's tool is "&bVanish &7(Activé)":
       if {vanish.%player%} is true:
           wait 3 ticks
           set slot 1 of player to a gray dye named "&bVanish &7(Désactivé)"
           set {vanish.%player%} to false
           send "&8[&bStaffMod&8] &8» &aVanish désactivé."
           reveal player from all players
           stop

on right click with gray dye:
   if name of player's tool is "&bVanish &7(Désactivé)":           
       if {vanish.%player%} is false:
           wait 3 ticks
           set slot 1 of player to a light green dye named "&bVanish &7(Activé)"
           set {vanish.%player%} to true
           send "&8[&bStaffMod&8] &8» &aVanish activé."
           hide player from all players
           stop

on right click with stick:
   if name of player's tool is "&bKill":
       if targeted entity is a player:
           kill targeted entity
           send "&8[&bStaffMod&8] &8» &aVous avez tuer %targeted entity%."

on right click with paper:
   if name of player's tool is "&bInformation":
       if targeted entity is a player:
           if name of targeted entity is "Xamez" or "Origin33" or "Mehd95" or "Zoom_st":
               send "&8&l&m--------------------------"
               send "&bNom du joueur : &a%targeted entity%"
               send "&bUUID : &a%UUID of targeted entity%"
               send "&bIp : &a&k%targeted entity's ip%"
               if targeted entity is flying:
                   send "&bFly : &aOui"
               if targeted entity is not flying:
                   send "&bFly : &aNon"
               send "&bVie : &a%targeted entity's health% &c?"
               send "&bNourriture : &a%targeted entity's food bar%"
               if targeted entity's gamemode is survival:
                   send "&bGamemode : &aSurvie (0)"
               if targeted entity's gamemode is creative:
                   send "&bGamemode : &aCréatif (1)"
               if targeted entity's gamemode is adventure:
                   send "&bGamemode : &aAventure (2)"
               if targeted entity's gamemode is spectator:
                   send "&bGamemode : &aSpectateur (3)"
               send "&bLocation : &a%location of targeted entity%"
               send "&bMonde : &a%world of targeted entity%"
               send "&8&l&m--------------------------"
           else:
               send "&8&l&m--------------------------"
               send "&bNom du joueur : &a%targeted entity%"
               send "&bUUID : &a%UUID of targeted entity%"
               send "&bIp : &a%targeted entity's ip%"
               if targeted entity is flying:
                   send "&bFly : &aOui"
               if targeted entity is not flying:
                   send "&bFly : &aNon"
               send "&bVie : &a%targeted entity's health% &c?"
               send "&bNourriture : &a%targeted entity's food bar%"
               if targeted entity's gamemode is survival:
                   send "&bGamemode : &aSurvie (0)"
               if targeted entity's gamemode is creative:
                   send "&bGamemode : &aCréatif (1)"
               if targeted entity's gamemode is adventure:
                   send "&bGamemode : &aAventure (2)"
               if targeted entity's gamemode is spectator:
                   send "&bGamemode : &aSpectateur (3)"
               send "&bLocation : &a%location of targeted entity%"
               send "&bMonde : &a%world of targeted entity%"
               send "&8&l&m--------------------------"

on right click with book:
   if name of player's tool is "&bVérification":
       if targeted entity is a player:
           make player execute command "/verif %targeted entity%"

on right click with ice:
   if name of player's tool is "&bFreeze":
       if targeted entity is a player:
           make player execute command "/freeze %targeted entity%"

on drop:
   if {staff.%player%} is true:
       cancel event

on break:
   if {staff.%player%} is true:
       cancel event

on inventory click:
   if {staff.%player%} is true:
       cancel event

on place:
   if {staff.%player%} is true:
       cancel event

on pickup:
   if {staff.%player%} is true:
       cancel event

 

OK je vais essayé d'enlevé umbaska

  • 0
Posté(e)
@romax7 il y a un addon qui remplace umbaska au dessus de la 1.8 ? Il ne fonctionne pas dans les versions au dessus de la 1.8 je crois.

@Mister_max34 est en 1.10

Umbaska V2 devrait normalement fonctionné mais bon c'est Umbaska alors ça fout la merde à chaque fois...

  • 0
Posté(e)
Il n'y en a pas tu as mal lu ;)

Essaye d'enlever Umbaska pour voir?

Si il en a:

Re,

 

Voici mon code:

 

#Skript crée par Xamez

on quit:
   clear player's inventory
   set {staff.%player%} to false
   set {vanish.%player%} to false
   reveal player from all players

command /freeze <player>:
   permission: freeze.use
   permission message: &cTu n'as pas accès à cette commande.
   trigger:
       if {freeze.%arg 1%} is not set:
           set {freeze.%arg 1%} to true
           set {loc.%arg 1%} to location of arg 1
           apply slowness 255 to arg 1 for 999 days
           apply jump boost 255 to arg 1 for 999 days
           apply blindness 255 to arg 1 for 999 days
           send " " to arg 1
           send "&8[&bFreeze&8] &cTu es désormais freeze." to arg 1
           send " " to arg 1
           loop all players:
               if loop-player has permission "staff.use":
                   send "&8&l&m--------------------------" to loop-player
                   send "&8[&bFreeze&8] &c%player% à freeze %arg 1%" to loop-player
                   send "&8&l&m--------------------------" to loop-player
           send " " to arg 1
           set action bar of arg 1 to "&cVous êtes freeze !"
           send " " to arg 1
           wait 2 seconds
           stop
       if {freeze.%arg 1%} is false:
           set {freeze.%arg 1%} to true
           set {loc.%arg 1%} to location of arg 1
           apply slowness 255 to arg 1 for 999 days
           apply jump boost 255 to arg 1 for 999 days
           apply blindness 255 to arg 1 for 999 days
           send " " to arg 1
           send "&8[&bFreeze&8] &cTu es désormais freeze." to arg 1
           send " " to arg 1
           loop all players:
               if loop-player has permission "staff.use":
                   send "&8&l&m--------------------------" to loop-player
                   send "&8[&bFreeze&8] &c%player% à freeze %arg 1%" to loop-player
                   send "&8&l&m--------------------------" to loop-player
           stop
       if {freeze.%arg 1%} is true:
           set {freeze.%arg 1%} to false
           clear {loc.%arg 1%}
           remove slowness 255 from arg 1
           remove jump boost 255 from arg 1
           remove blindness 255 from arg 1
           send " " to arg 1
           send "&8[&bFreeze&8] &aTu es désormais unfreeze." to arg 1
           send " " to arg 1
           loop all players:
               if loop-player has permission "staff.use":
                   send "&8&l&m--------------------------" to loop-player
                   send "&8[&bFreeze&8] &a%player% à unfreeze %arg 1%" to loop-player
                   send "&8&l&m--------------------------" to loop-player
           set action bar of arg 1 to "&aVous êtes unfreeze !"

every 2 second:
   loop all players:
       if {loc.%loop-player%} is set:
           teleport loop-player to {loc.%loop-player%}
           set action bar of loop-player to "&cVous êtes freeze !"

command /adminstaff <player>:
   trigger:
       if player is op:
           if {staff.%arg 1%} is not set:
               set {staff.%arg 1%} to true
               send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod." to arg 1
               clear arg 1's inventory
               wait 2 ticks
               set slot 0 of arg 1 to a wooden sword of knockback 5 named "&bKnockBack"
               set slot 1 of arg 1 to a light green dye named "&bVanish &7(Activé)"
               set slot 2 of arg 1 to a stick named "&bKill"
               set slot 3 of arg 1 to a book named "&bVérification"
               set slot 4 of arg 1 to a paper named "&bInformation"
               set slot 5 of arg 1 to a ice named "&bFreeze"
               set slot 8 of arg 1 to a 76 named "&bQuitter"
               set {vanish.%arg 1%} to true
               hide arg 1 from all players
               stop trigger
           if {staff.%arg 1%} is false:
               set {staff.%arg 1%} to true
               send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod." to arg 1
               clear arg 1's inventory
               wait 2 ticks
               set slot 0 of arg 1 to a wooden sword of knockback 5 named "&bKnockBack"
               set slot 1 of arg 1 to a light green dye named "&bVanish &7(Activé)"
               set slot 2 of arg 1 to a stick named "&bKill"
               set slot 3 of arg 1 to a book named "&bVérification"
               set slot 4 of arg 1 to a paper named "&bInformation"
               set slot 5 of arg 1 to a ice named "&bFreeze"
               set slot 8 of arg 1 to a 76 named "&bQuitter"
               set {vanish.%arg 1%} to true
               hide arg 1 from all players
               stop trigger
           if {staff.%arg 1%} is true:
               send "&8[&bStaffMod&8] &8» &aVous avez désactivé le StaffMod." to arg 1
               clear arg 1's inventory
               set {staff.%arg 1%} to false
               set {vanish.%arg 1%} to false
               reveal arg 1 from all players

Command /staff:
   permission: staff.use
   permission message: &cTu n'as pas le droit de faire cette commande.
   aliases: /mod
   trigger:
       if {staff.%player%} is not set:
           set {staff.%player%} to true
           send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod."
           clear player's inventory
           wait 2 ticks
           set slot 0 of player to a wooden sword of knockback 5 named "&bKnockBack"
           set slot 1 of player to a light green dye named "&bVanish &7(Activé)"
           set slot 2 of player to a stick named "&bKill"
           set slot 3 of player to a book named "&bVérification"
           set slot 4 of player to a paper named "&bInformation"
           set slot 5 of player to a ice named "&bFreeze"
           set slot 8 of player to a 76 named "&bQuitter"
           set {vanish.%player%} to true
           hide player from all players
           stop trigger
       if {staff.%player%} is false:
           set {staff.%player%} to true
           send "&8[&bStaffMod&8] &8» &aVous avez activé le StaffMod."
           clear player's inventory
           wait 2 ticks
           set slot 0 of player to a wooden sword of knockback 5 named "&bKnockBack"
           set slot 1 of player to a light green dye named "&bVanish &7(Activé)"
           set slot 2 of player to a stick named "&bKill"
           set slot 3 of player to a book named "&bVérification"
           set slot 4 of player to a paper named "&bInformation"
           set slot 5 of player to a ice named "&bFreeze"
           set slot 8 of player to a 76 named "&bQuitter"
           set {vanish.%player%} to true
           hide player from all players
           stop trigger
       if {staff.%player%} is true:
           send "&8[&bStaffMod&8] &8» &aVous avez désactivé le StaffMod."
           clear player's inventory
           set {staff.%player%} to false
           set {vanish.%player%} to false
           reveal player from all players

on right click with redstone torch:
   if name of player's tool is "&bQuitter":
       send "&8[&bStaffMod&8] &8» &aVous avez désactivé le StaffMod."
       clear player's inventory
       set {staff.%player%} to false
       set {vanish.%player%} to false
       reveal player from all players

on right click with light green dye:
   if name of player's tool is "&bVanish &7(Activé)":
       if {vanish.%player%} is true:
           wait 3 ticks
           set slot 1 of player to a gray dye named "&bVanish &7(Désactivé)"
           set {vanish.%player%} to false
           send "&8[&bStaffMod&8] &8» &aVanish désactivé."
           reveal player from all players
           stop

on right click with gray dye:
   if name of player's tool is "&bVanish &7(Désactivé)":          
       if {vanish.%player%} is false:
           wait 3 ticks
           set slot 1 of player to a light green dye named "&bVanish &7(Activé)"
           set {vanish.%player%} to true
           send "&8[&bStaffMod&8] &8» &aVanish activé."
           hide player from all players
           stop

on right click with stick:
   if name of player's tool is "&bKill":
       if targeted entity is a player:
           kill targeted entity
           send "&8[&bStaffMod&8] &8» &aVous avez tuer %targeted entity%."

on right click with paper:
   if name of player's tool is "&bInformation":
       if targeted entity is a player:
           if name of targeted entity is "Xamez" or "Origin33" or "Mehd95" or "Zoom_st":
               send "&8&l&m--------------------------"
               send "&bNom du joueur : &a%targeted entity%"
               send "&bUUID : &a%UUID of targeted entity%"
               send "&bIp : &a&k%targeted entity's ip%"
               if targeted entity is flying:
                   send "&bFly : &aOui"
               if targeted entity is not flying:
                   send "&bFly : &aNon"
               send "&bVie : &a%targeted entity's health% &c?"
               send "&bNourriture : &a%targeted entity's food bar%"
               if targeted entity's gamemode is survival:
                   send "&bGamemode : &aSurvie (0)"
               if targeted entity's gamemode is creative:
                   send "&bGamemode : &aCréatif (1)"
               if targeted entity's gamemode is adventure:
                   send "&bGamemode : &aAventure (2)"
               if targeted entity's gamemode is spectator:
                   send "&bGamemode : &aSpectateur (3)"
               send "&bLocation : &a%location of targeted entity%"
               send "&bMonde : &a%world of targeted entity%"
               send "&8&l&m--------------------------"
           else:
               send "&8&l&m--------------------------"
               send "&bNom du joueur : &a%targeted entity%"
               send "&bUUID : &a%UUID of targeted entity%"
               send "&bIp : &a%targeted entity's ip%"
               if targeted entity is flying:
                   send "&bFly : &aOui"
               if targeted entity is not flying:
                   send "&bFly : &aNon"
               send "&bVie : &a%targeted entity's health% &c?"
               send "&bNourriture : &a%targeted entity's food bar%"
               if targeted entity's gamemode is survival:
                   send "&bGamemode : &aSurvie (0)"
               if targeted entity's gamemode is creative:
                   send "&bGamemode : &aCréatif (1)"
               if targeted entity's gamemode is adventure:
                   send "&bGamemode : &aAventure (2)"
               if targeted entity's gamemode is spectator:
                   send "&bGamemode : &aSpectateur (3)"
               send "&bLocation : &a%location of targeted entity%"
               send "&bMonde : &a%world of targeted entity%"
               send "&8&l&m--------------------------"

on right click with book:
   if name of player's tool is "&bVérification":
       if targeted entity is a player:
           make player execute command "/verif %targeted entity%"

on right click with ice:
   if name of player's tool is "&bFreeze":
       if targeted entity is a player:
           make player execute command "/freeze %targeted entity%"

on drop:
   if {staff.%player%} is true:
       cancel event

on break:
   if {staff.%player%} is true:
       cancel event

on inventory click:
   if {staff.%player%} is true:
       cancel event

on place:
   if {staff.%player%} is true:
       cancel event

on pickup:
   if {staff.%player%} is true:
       cancel event

 

OK je vais essayé d'enlevé umbaska

Umbaska V2 devrait normalement fonctionné mais bon c'est Umbaska alors ça fout la merde à chaque fois...

Y'a Une V2 de umbaska ?

  • 0
Posté(e)
Sur google ;) Car sur SkUnity il n'est pas dispo :/ ou peut-être dans un pack d'addon

J'ai chercé et impossible de l'obtenir ça me redirige toujours vers le site officiel mais les ttéléchargements ne fonctionnent plus :(

 

Quelqu'un l'aurait ?

 

Edit:

 

J'ai trouvé sur la page skunity de umbaska: allez sur ce lien: umbaska.co.uk/dl/Umbaska-3.3.jar

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.