Je ne fais pas de présentation digne de mes autres discussion (HummHumm Modestie x ) ) car je n'ai pas le temps : / J'ai un petit problème avec skript ou un des addons de skript : /
Tous simple j'ai un code sans aucune erreur mais lorsque j'éxécute la commande qu'il y a dans le code celle ci n'est pas reconnu : /
Le code: ( Les menu GUI s'affiche seulement la commande pour tp qui ne fonctionne pas : / )
#======================= Skript de DofyGame ==========================#
#=================== Youtube : https://www.youtube.com/channel/UC4eJY3GcHKxMpAjoaoKqujA ============================ #
#=================== Contact : DofyGame ( Skype ) ======================================= #
#=========================================================================================================================#
#Information:
# N = Nether
# E = End
#Dernier ajouts:
# Commande /worldtp reload
# Effet lors de téléportation d'un joueur ( différent OP / ou pas )
#==============================================================================#
options:
SignN: &7[&cNether&7]
SignE: &7[&9End&7]
Logo: &7[&bWorld&7TP]
PrixN: Iron ingot #Items à avoir pour le Nether.
NombreN: 2 #Nombres d'items à avoir pour le Nether.
AttenteN: 5 #Temps d'attente avant téléportation pour le Nether.
PrixE: Diamond #Items à avoir pour l'End.
NombreE: 2 #Nombres d'items à avoir pour l'End.
AttenteE: 5 #Temps d'attente avant téléportation pour l'end.
#===========================================================#
command /worldgui:
trigger:
wait 2 ticks
open chest with 1 rows named "{@Logo}" to player
wait 1 tick
format slot 0 of player with 1 Red stained glass pane named "" to be unstealable
format slot 1 of player with 1 Red stained glass pane named "" to be unstealable
format slot 2 of player with 1 Netherrack named "&7[&cNether&7]" with lore "&7Téléportation au Nether" to close then run [make player execute command "/§nethergui"]
format slot 3 of player with 1 Red stained glass pane named "" to be unstealable
format slot 4 of player with 1 Red stained glass pane named "" to be unstealable
format slot 5 of player with 1 Red stained glass pane named "" to be unstealable
format slot 6 of player with 1 End stone named "&7[&9End&7]" with lore "&7Téléportation à &3l'End" to close then run [make player execute command "/§endgui"]
format slot 7 of player with 1 Red stained glass pane named "" to be unstealable
format slot 8 of player with 1 Red stained glass pane named "" to be unstealable
#===========================================================#
command /§nethergui:
trigger:
wait 2 ticks
open chest with 1 rows named "&7[&cNether&7]" to player
wait 1 tick
format slot 0 of player with 1 Red stained glass pane named "" to be unstealable
format slot 1 of player with 1 Red stained glass pane named "" to be unstealable
format slot 2 of player with 1 Green wool named "&aAccepter" with lore "&cPayé {@NombreN} {@PrixN} ?" to close then run [make player execute command "/§nether"]
format slot 3 of player with 1 Red stained glass pane named "" to be unstealable
format slot 4 of player with 1 Red stained glass pane named "" to be unstealable
format slot 5 of player with 1 Red stained glass pane named "" to be unstealable
format slot 6 of player with 1 Red wool named "&cRefuser l'achat" with lore "&cNe pas payé" to close then run [make player execute command "/§close"]
format slot 7 of player with 1 Red stained glass pane named "" to be unstealable
format slot 8 of player with 1 Red stained glass pane named "" to be unstealable
#===================================================================================#
command /§endgui:
trigger:
wait 2 ticks
open chest with 1 rows named "&7[&9End&7]" to player
wait 1 tick
format slot 0 of player with 1 Red stained glass pane named "" to be unstealable
format slot 1 of player with 1 Red stained glass pane named "" to be unstealable
format slot 2 of player with 1 Green wool named "&aAccepter" with lore "&cPayé {@NombreE} {@PrixE} ?" to close then run [make player execute command "/§end"]
format slot 3 of player with 1 Red stained glass pane named "" to be unstealable
format slot 4 of player with 1 Red stained glass pane named "" to be unstealable
format slot 5 of player with 1 Red stained glass pane named "" to be unstealable
format slot 6 of player with 1 Red wool named "&cRefuser l'achat" with lore "&cNe pas payé" to close then run [make player execute command "/§close"]
format slot 7 of player with 1 Red stained glass pane named "" to be unstealable
format slot 8 of player with 1 Red stained glass pane named "" to be unstealable
#====================================================================#
command /§close:
trigger:
send "&cAchat annulé correctement !"
#=========================================================================#
on rightclick on sign:
if line 1 is "{@SignN}":
set line 1 to "{@SignN}"
set line 2 to ""
set line 3 to ""
set line 4 to ""
execute player command "/§nethergui"
on rightclick on sign:
if line 1 is "{@SignE}":
set line 1 to "{@SignE}"
set line 2 to ""
set line 3 to ""
set line 4 to ""
execute player command "/§endgui"
#===========================================================#
command /setnether:
permission: op
permission message: &7{@Logo} &cTu n'as pas la permission !
trigger:
set {nether.map} to player's location
send "&7{@Logo} Le Nether est set !"
command /§nether:
trigger:
if {nether.map} is not set:
send "&cErreur: Ce point de téléportation n'existe pas." to player
else:
if player is op:
launch creeper firework colored red at player timed 1
teleport player to {nether.map}
send "&7{@Logo} Tu vas être téléporter vers l'End ! &c[OP]"
else:
if player has {@NombreN} {@PrixN}:
send "&7{@Logo} Tu vas être téléporter vers le nether !"
send "&7{@Logo} Téléportation en cours..."
send "&7{@Logo} Téléportation dans {@AttenteN} seconds ! Ne bouge pas !"
wait {@AttenteN} seconds
launch creeper firework colored blue at player timed 1
teleport player to {nether.map}
remove {@NombreN} {@PrixN} from player
else:
send "&7{@Logo} Tu dois avoir {@NombreN} {@PrixN} pour rentré dans le nether !"
#======================================================================================================================#
command /setend:
permission: op
permission message: &7{@Logo} &cTu n'as pas la permission !
trigger:
set {end.map} to player's location
send "&7{@Logo} L'End est set !"
command /§end:
trigger:
if {end.map} is not set:
send "&cErreur: Ce point de téléportation n'existe pas." to player
else:
if player is op:
launch creeper firework colored blue at player timed 1
teleport player to {end.map}
send "&7{@Logo} Tu vas être téléporter vers l'End ! &c[OP]"
else:
if player has {@NombreE} {@PrixE}:
send "&7{@Logo} Tu vas être téléporter vers l'end !"
send "&7{@Logo} Téléportation en cours..."
send "&7{@Logo} Téléportation dans {@AttenteE} seconds ! Ne bouge pas !"
wait {@AttenteE} seconds
launch creeper firework colored blue at player timed 1
teleport player to {end.map}
remove {@NombreE} {@PrixE} from player
else:
send "&7{@Logo} Tu dois avoir {@NombreE} {@PrixE} pour rentré dans l'end !"
command /worldreload:
permission: op
permission message: &cErreur ! Tu n'as pas accès à cette commande !
trigger:
execute console command "/sk reload WorldTP"
send "{@Logo} &aReload Réussi !"
Je remercie d'avance la personne qui pourra m'aidé !
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.
Question
DofyGame
Bonjours / Bonsoir !
Je ne fais pas de présentation digne de mes autres discussion (HummHumm Modestie x ) ) car je n'ai pas le temps : / J'ai un petit problème avec skript ou un des addons de skript : /
Tous simple j'ai un code sans aucune erreur mais lorsque j'éxécute la commande qu'il y a dans le code celle ci n'est pas reconnu : /
Le code: ( Les menu GUI s'affiche seulement la commande pour tp qui ne fonctionne pas : / )
Je remercie d'avance la personne qui pourra m'aidé !
Cordialement DofyGame !
4 réponses à cette question
Messages recommandés