Nouz Posté(e) le 13 novembre 2016 Posté(e) le 13 novembre 2016 Bonjour, Version : Spigot 1.7.10 Titre : [Totem] - Totem Ma demande est -> Je demande un totem qui est 3 bloques qui spawn est que quand on les casses on ggne des points.Cette partie est déjà faite. Donc ma véritable demande. /totem join : Rejoindre la partie ( si on fait ça on est tp au warp strowtotem et on peut faire aucunes commande.) /totem setinv : Set l'inventaire /totem start : Start le totem , quand le totem et start on est tp au warp totem et ça nous donne le steuf qui à été save ou /totem setinv. /totem leave : Le joeur execute la commande /leave et peut a nouveaux faire des commandes. /totem stop : Stop le totem, téléporte tout les joueurs dans le totem au /spawn. Amicalement, ItsKox
GauvainWizard Posté(e) le 14 novembre 2016 Posté(e) le 14 novembre 2016 Salutations, Tu as du lire les règles au vu de la présentation. Cependant, il manque énormément de détails dans ta demande. Je te demanderais donc de l'éditer. Gauvain
Skripting Posté(e) le 15 novembre 2016 Posté(e) le 15 novembre 2016 command /totem <text>: trigger: if arg 1 is "join": run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": run player command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of player's inventory to {inv.%player%.%loop-integer%} else if arg 1 is "leave": make player execute command "/leave" set {any.commands.%player%} to false else if arg 1 is "stop": loop all players: make loop-player execute command "/spawn" on command: if {any.commands.%player%} is true: if command is not "totem": cancel event
Nouz Posté(e) le 15 novembre 2016 Auteur Posté(e) le 15 novembre 2016 command /totem <text>: trigger: if arg 1 is "join": run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": run player command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of player's inventory to {inv.%player%.%loop-integer%} else if arg 1 is "leave": make player execute command "/leave" set {any.commands.%player%} to false else if arg 1 is "stop": loop all players: make loop-player execute command "/spawn" on command: if {any.commands.%player%} is true: if command is not "totem": cancel event Bonjour, Alors aucunes erreurs seulement ; Quand on join le totem et qu'on veut faire /totem leave ça marche pas". Et j'aimerais que si un joueur est OP il puisse faire des commandes.$ Amicalement, ItsKox
Skripting Posté(e) le 15 novembre 2016 Posté(e) le 15 novembre 2016 C'est bon : command /totem <text>: trigger: if arg 1 is "join": run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": run player command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of player's inventory to {inv.%player%.%loop-integer%} else if arg 1 is "leave": set {any.commands.%player%} to false wait a tick make player execute command "/leave" else if arg 1 is "stop": loop all players: make loop-player execute command "/spawn" on command: if {any.commands.%player%} is true: if command is not "totem": if player is not op: cancel event
Nouz Posté(e) le 15 novembre 2016 Auteur Posté(e) le 15 novembre 2016 C'est bon : command /totem <text>: trigger: if arg 1 is "join": run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": run player command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of player's inventory to {inv.%player%.%loop-integer%} else if arg 1 is "leave": set {any.commands.%player%} to false wait a tick make player execute command "/leave" else if arg 1 is "stop": loop all players: make loop-player execute command "/spawn" on command: if {any.commands.%player%} is true: if command is not "totem": if player is not op: cancel event Bonjour, Quand je fais /totem start , même ceux qui ont pas /totem join sont tp en gros tout les joueurs sont téléportés. Amicalement, ItsKox
Skripting Posté(e) le 16 novembre 2016 Posté(e) le 16 novembre 2016 Bonjour, Quand je fais /totem start , même ceux qui ont pas /totem join sont tp en gros tout les joueurs sont téléportés. Amicalement, ItsKox Ouai mais ça tu l'as pas précisé XD, moi je fais exactement ce que tu demandes, la prochaine fois précise s'il te plaît, tu vois que préciser sa demande est important car moi quand je lis ça : téléporte tout les joueurs C'est "téléporte tous les joueurs" et non "le joueur"... 1
Rémi Posté(e) le 16 novembre 2016 Posté(e) le 16 novembre 2016 Skript tester, il marche très bien ! GG
Nouz Posté(e) le 17 novembre 2016 Auteur Posté(e) le 17 novembre 2016 Ouai mais ça tu l'as pas précisé XD, moi je fais exactement ce que tu demandes, la prochaine fois précise s'il te plaît, tu vois que préciser sa demande est important car moi quand je lis ça : C'est "téléporte tous les joueurs" et non "le joueur"... Bonjour, Je veux que quand on fasse /totem start ça tp tout les joueurs qui sont en /totem join et que ça leur donne le steuf du /totem setinv Amicalement, ItsKox
Skripting Posté(e) le 17 novembre 2016 Posté(e) le 17 novembre 2016 Bah faillait le préciser -_- : command /totem <text>: trigger: if arg 1 is "join": add player to {totem.players::*} run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": loop {totem.players::*}: run loop-value command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of loop-value's inventory to {inv.%loop-value%.%loop-integer%} else if arg 1 is "leave": set {any.commands.%player%} to false wait a tick make player execute command "/leave" else if arg 1 is "stop": loop all players: remove loop-player from {totem.players::*} make loop-player execute command "/spawn" on command: if {any.commands.%player%} is true: if command is not "totem": if player is not op: cancel event
Nouz Posté(e) le 17 novembre 2016 Auteur Posté(e) le 17 novembre 2016 Bah faillait le préciser -_- : command /totem <text>: trigger: if arg 1 is "join": add player to {totem.players::*} run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": loop {totem.players::*}: run loop-value command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of loop-value's inventory to {inv.%loop-value%.%loop-integer%} else if arg 1 is "leave": set {any.commands.%player%} to false wait a tick make player execute command "/leave" else if arg 1 is "stop": loop all players: remove loop-player from {totem.players::*} make loop-player execute command "/spawn" on command: if {any.commands.%player%} is true: if command is not "totem": if player is not op: cancel event [/quote Bonsoir, Du coup je voudrais que quand on fasse /totem stop ça tp au spawn que les joeurs qui soient dans le totem ! Amicalement, ItsKox
Skripting Posté(e) le 18 novembre 2016 Posté(e) le 18 novembre 2016 Faut préciser la prochaine fois, je te fais pas de cadeau et je signale ton sujet ! command /totem <text>: trigger: if arg 1 is "join": add player to {totem.players::*} run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": loop {totem.players::*}: run loop-value command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of loop-value's inventory to {inv.%loop-value%.%loop-integer%} else if arg 1 is "leave": set {any.commands.%player%} to false wait a tick make player execute command "/leave" else if arg 1 is "stop": loop all players: loop {totem.players::*}: make loop-value execute command "/spawn" remove loop-value from {totem.players::*} on command: if {any.commands.%player%} is true: if command is not "totem": if player is not op: cancel event
Nouz Posté(e) le 18 novembre 2016 Auteur Posté(e) le 18 novembre 2016 Faut préciser la prochaine fois, je te fais pas de cadeau et je signale ton sujet ! command /totem <text>: trigger: if arg 1 is "join": add player to {totem.players::*} run player command "/warp strowtotem" as op set {any.commands.%player%} to true else if arg 1 is "setinv": loop integers between 0 and 40: set {inv.%player%.%loop-integer%} to slot loop-integer of player's inventory else if arg 1 is "start": loop {totem.players::*}: run loop-value command "/warp totem" as op loop integers between 0 and 40: set slot loop-integer of loop-value's inventory to {inv.%loop-value%.%loop-integer%} else if arg 1 is "leave": set {any.commands.%player%} to false wait a tick make player execute command "/leave" else if arg 1 is "stop": loop all players: loop {totem.players::*}: make loop-value execute command "/spawn" remove loop-value from {totem.players::*} on command: if {any.commands.%player%} is true: if command is not "totem": if player is not op: cancel event Bonjour, Ca marche , je passe le poste en résolu. Amicalement, ItsKox
Messages recommandés