-
Compteur de contenus
417 -
Inscription
-
Dernière visite
-
Jours gagnés
17
Type de contenu
Profils
Forums
Téléchargements
Tout ce qui a été posté par Xamez
-
Bonjour, En voulant réalisé un système de caisse, j'ai rencontré un problème qui me parait très bizzard. Enfaite, une fois la caisse ouverte, le message ci-dessous est envoyé mais au lieu d'envoyé le lot, il envoie <none> &8[&bIreal&6Box&8] &7» &a%arg 1% &7a ouvert une caisse et a &eremporté %{lot.%arg 1%}% Le code: function winlot(p: player): chance of 2%: make console execute command "/admincoins add UltraCoins %{_p}% 1500" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 set {lot.%{_p}%} to "500 coins ✩" chance of 12%: make console execute command "/admincoins add Coins %{_p}% 3000" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "500 coins ✧" chance of 14%: make console execute command "/admincoins add UltraCoins %{_p}% 550" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 set {lot.%{_p}%} to "500 coins ✩" chance of 23%: make console execute command "/admincoins add Coins %{_p}% 2200" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "500 coins ✧" chance of 27%: make console execute command "/admincoins add UltraCoins %{_p}% 115" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 set {lot.%{_p}%} to "500 coins ✩" chance of 34%: make console execute command "/admincoins add UltraCoins %{_p}% 50" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✩" and 3 set {lot.%{_p}%} to "500 coins ✩" chance of 48%: make console execute command "/admincoins add Coins %{_p}% 1200" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "500 coins ✧" chance of 52%: make console execute command "/admincoins add Coins %{_p}% 850" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "500 coins ✧" chance of 100%: make console execute command "/admincoins add Coins %{_p}% 500" edit score id "Coins.%{_p}%" to "&7Coins: &e%{Coins.%{_p}%}% ✧" and 4 set {lot.%{_p}%} to "500 coins ✧" on rightclick on end portal frame: if player is holding 402: if {lang.%player%} is 1: open chest with 3 rows named "&aOuverture de &f➤ &bIreal&6Box" to player if {lang.%player%} is 2: open chest with 3 rows named "&aOpening the &f➤ &bIreal&6Box" to player wait 3 ticks set {_1} to 0 set {_2} to 9 loop 27 times: format slot {_1} of player with blue stained glass pane named "" to be unstealable add 1 to {_1} loop 9 times: format slot {_2} of player with light blue stained glass pane named "" to be unstealable add 1 to {_2} format slot 9 of player with blue stained glass pane named "" to be unstealable format slot 17 of player with blue stained glass pane named "" to be unstealable if {lang.%player%} is 1: format slot 11 of player with light green dye named "&f&l➤ &aContinuer l'ouverture" to close then run [make console execute command "/Open %player%"] format slot 15 of player with gray dye named "&f&l➤ &cAnnuler l'ouverture" to close if {lang.%player%} is 2: format slot 11 of player with light green dye named "&f&l➤ &aContinue opening" to close then run [make console execute command "/Open %player%"] format slot 15 of player with gray dye named "&f&l➤ &cCancel opening" to close else: push player upwards at speed 0.3 push player in direction of player at speed -0.9 command /open <player>: executable by: console trigger: if {lang.%arg 1%} is 1: send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOuverture dans 3 secondes" for 0.9 second wait 1 second send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOuverture dans 2 secondes" for 0.9 second wait 1 second send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOuverture dans 1 seconde" for 0.9 second wait 1 second send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOuverture..." for 1.3 second wait 1 second winlot(arg 1) wait 5 ticks loop all players: send "&8[&bIreal&6Box&8] &7» &a%arg 1% &7a ouvert une caisse et a &eremporté %{lot.%arg 1%}%" to loop-player play raw sound "random.orb" at loop-player with pitch 1 volume 10 if {lang.%arg 1%} is 2: send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOpening in 3 seconds" for 0.9 second wait 1 second send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOpening in 2 seconds" for 0.9 second wait 1 second send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOpening in 1 second" for 0.9 second wait 1 second send arg 1 title "&8[&bIreal&6Box&8]" with subtitle "&aOpening..." for 1.3 second wait 1 second winlot(arg 1) remove 402 from arg 1's inventory wait 5 ticks loop all players: send "&8[&bIreal&6Box&8] &7» &a%arg 1% &7opened a case and &ewon %{lot.%arg 1%}%" to loop-player play raw sound "random.orb" at loop-player with pitch 1 volume 10 make console execute command "particle flame %x coordinate of arg 1% %y coordinate of arg 1 + 2.5% %z coordinate of arg 1% 0 0 0 0.06 100 10" bind hologram "&r;ItemStack:Gold Ingot;&r" to arg 1 for 3 seconds offset by 0.0, 3.0, 0.0 wait 1 second delete {lot.%arg 1%} Merci d'avance pour toute aide Cordialement
-
J'ai trouvé la solution ! Enfaite j'ai changé les noms a chaque fois genre set score "&8&l&m---------------------&r" in sidebar of player to 10 et set score "&8&l&m---------------------" in sidebar of player to 1 ou set score "&r &b § &r" in sidebar of player to 7 et set score "&r § &b &r" in sidebar of player to 4 Donc voila :) Merci quand même Cordialement.
-
Ca marche toujours pas :( Et j'ai modif l'endroit ou je m'étais trompé pour les ids :)
-
D'accord merci, j'essaye ca :)
-
Comment as-tu fais ?
-
Salut, Il me semble que cela peux être fait dans le bukkit.yml de ton serveur. spawn-limits: monsters: 70 animals: 15 water-animals: 5 ambient: 15 Ligne 27 à 31 Cordialement.
-
Version: Spigot 1.8.3 Addons: Skript, WildSkript, SkStuff, Skellett, skUtilities, skRayFall, Umbaska, SkQuery, TuSKe Bonjour, J'ai voulu faire un scoreboard mais malheureusement, tout fonctionne ( aucune erreur console et durant le reload ) mais le scoreboard ne s'affiche pas en entier. Voici le screenshot: http://image.noelshack.com/fichiers/2017/34/1/1503322747-2017-08-21-15-32-06.png Et voici le code : command /scoreboard: trigger: wipe player's sidebar set name of sidebar of player to "&f&lLocalHost" set score "&8&l&m---------------------" in sidebar of player to 12 set score "" in sidebar of player to 11 set id based score "&7Pseudo: &b%player%" in sidebar of player to 10 with id "Pseudo" set id based score "&7Rang: &b%{Rang.%player%}%" in sidebar of player to 9 with id "Rang.%player%" set score "" in sidebar of player to 8 set id based score "&7Ping: &a%player's ping%" in sidebar of player to 7 with id "Ping.%player%" set id based score "&7Connectés: &a%number of all players%" in sidebar of player to 6 with id "Ping.%player%" set score "" in sidebar of player to 5 set id based score "&7Coins: &a%{Coins.%player%}%" in sidebar of player to 4 with id "Coins.%player%" set id based score "&7UltraCoins: &a%{UltraCoins.%player%}%" in sidebar of player to 3 with id "UltraCoins.%player%" set score "" in sidebar of player to 2 set score "&8&l&m---------------------" in sidebar of player to 1 set score "&6www.LocalHost.fr" in sidebar of player to 0 Merci d'avance Cordialement.
-
Salut, Je pense que l'erreur vient du fait que tu fais cela: if loop-value is "%player%": Car cela regarde si la valeur est le joueur et non si elle le contient. Alors qu'il faudrait faire: if loop-value contains "%player%": En espérant t'avoir aidé (si oui lache un like ;)) Cordialement
-
Je m'y connais un minimum pour savoir ce que cette commande fait.. Commentaire inutile
-
Merci mais du coup il faut unformat le slot sinon le joueur va pouvoir clicker a l'infini
-
Bonjour, Version serveur: spigot 1.8 Version skript: skript 2.2 v8b Addons: Skquery/Skrayfall/SkUtilities/WildSkript/Sketch Je voulais savoir comment formater un slot mais en pouvant récupérer le slot formaté. Voici le code mais le "to do nothing" ne fonctionne pas. open chest with 4 rows named "&bRécompense pour %arg 2%" to player set {_count} to 0 loop 36 times: format slot {_count} of player with {inventaire.%UUID of player%.%{_count}%} to do nothing add 1 to {_count} Merci d'avance Cordialement, Xamez (new pseudo) EDIT: Sinon le faire par give mais la, je ne sais pas comment faire xD
-
Merci je vais le tester.
-
Je le cherche aussi :)
-
D'accord merci, je passe le sujet en résolu
-
Re, Sans umbaska ca marche mais je voudrais savoir ou trouver umbaska v2 ?
-
Salut, Pourtant cela marchais juste hier après et hier soir ca marchais plus donc je ne sais pas....
-
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
-
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.
-
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
-
Tu avais marqué "whif" et c'est "with" Si ca marche pas, je ne sais pas :(
-
Bonjour, Merci beaucoup, ça marche :)
-
Bonsoir, Ok merci, je test ca et je te dis demain Bonne soirée Mister_max34
-
Re, Merci beaucoup ! J'ai fait un nouveau post pour une erreur dans mon skript, tu peux passer un coup d’œil :) ? ici Bonne fin de soirée.
-
Bonjour Durant la réalisation de mon skript, j'ai rencontré une erreur avec cette partie de code: set {_color0} to a random integer between 0 and 15 set {_color1} to a random integer between 0 and 15 set {_color2} to a random integer between 0 and 15 set {_color3} to a random integer between 0 and 15 set {_color4} to a random integer between 0 and 15 set {_color5} to a random integer between 0 and 15 set {_color6} to a random integer between 0 and 15 set {_color7} to a random integer between 0 and 15 set {_color8} to a random integer between 0 and 15 set {_color9} to a random integer between 0 and 15 set {_color12} to a random integer between 0 and 15 set {_color11} to a random integer between 0 and 15 set {_color13} to a random integer between 0 and 15 set {_color14} to a random integer between 0 and 15 set {_color15} to a random integer between 0 and 15 set {_color17} to a random integer between 0 and 15 set {_color18} to a random integer between 0 and 15 set {_color19} to a random integer between 0 and 15 set {_color20} to a random integer between 0 and 15 set {_color21} to a random integer between 0 and 15 set {_color22} to a random integer between 0 and 15 set {_color23} to a random integer between 0 and 15 set {_color24} to a random integer between 0 and 15 set {_color25} to a random integer between 0 and 15 set {_color26} to a random integer between 0 and 15 #les erreurs commences ici :( format slot 0 of player with 1 160:%{_color1}% named " " to be unstealable format slot 1 of player with 1 160:%{_color2}% named " " to be unstealable format slot 2 of player with 1 160:%{_color3}% named " " to be unstealable format slot 3 of player with 1 160:%{_color4}% named " " to be unstealable format slot 4 of player with 1 160:%{_color5}% named " " to be unstealable format slot 5 of player with 1 160:%{_color6}% named " " to be unstealable format slot 6 of player with 1 160:%{_color7}% named " " to be unstealable format slot 7 of player with 1 160:%{_color8}% named " " to be unstealable format slot 8 of player with 1 160:%{_color9}% named " " to be unstealable format slot 9 of player with 1 160:%{_color10}% named " " to be unstealable format slot 10 of player with 1 160:%{_color11}% named " " to be unstealable format slot 12 of player with 1 160:%{_color13}% named " " to be unstealable format slot 13 of player with 1 160:%{_color14}% named " " to be unstealable format slot 14 of player with 1 160:%{_color15}% named " " to be unstealable format slot 16 of player with 1 160:%{_color17}% named " " to be unstealable format slot 17 of player with 1 160:%{_color18}% named " " to be unstealable format slot 18 of player with 1 160:%{_color19}% named " " to be unstealable format slot 19 of player with 1 160:%{_color20}% named " " to be unstealable format slot 20 of player with 1 160:%{_color21}% named " " to be unstealable format slot 21 of player with 1 160:%{_color22}% named " " to be unstealable format slot 22 of player with 1 160:%{_color23}% named " " to be unstealable format slot 23 of player with 1 160:%{_color24}% named " " to be unstealable format slot 24 of player with 1 160:%{_color25}% named " " to be unstealable format slot 25 of player with 1 160:%{_color26}% named " " to be unstealable format slot 26 of player with 1 160:%{_color0}% named " " to be unstealable L'erreur est la suivante: On me dit que c'est ne sont pas des item data valides. Alors que si je suis {_color1}, je deviens imaginons 4, ca fait 160:4 qui est normalement un item data valide. Je voulais savoir comment je pouvais faire pour régler cette erreur. Merci d'avance Mister_max34
-
Bonsoir, Merci beaucoup, ça me remotive pour continuer mon très long skript :) Au passage, comment envoyé un message dans lequel il y a genre : Erreur fait "/test"