Bonjour,
J'ai codé un début de script pour un UHC et quand je reload le script, ça me marque: "uhclobby" is not an entity type. Pourtant je suis quasiment sur de ne pas avoir fait d'erreurs avec le code... Quelqu'un pourrait-il m'aider ? Voici le code.
options:
tag: &2[uHC] &e # well.. the chat tag!
mingrace: 15 minutes # Minutes of grace NO-PVP on start
waitsec: 15 seconds # Waiting seconds before the game really starts (players teleport into arena)
minplayer: 10 # autostart at minplayer
slot: 50 # max slots allowed for the uhc
map: uhc1 # hg map name
maxtime: 75 minutes
lobby: uhclobby
Command /uhc <text>:
trigger:
if arg 1 is "play":
teleport player to "{@lobby}"
if 10 players are in "{@lobby}":
message "&bThe UHC begin in 30 seconds"
wait 24 seconds
execute console command "mv create uhc1 normal"
wait 1 second
message "&bThe game starts in 3 seconds !"
wait 1 second
message "&bThe game starts in 2 seconds !"
wait 1 second
message "&bThe game starts in 1 second !"
wait 1 second
teleport all players to world "uhc1"
execute console command "effect @a 11 4 5"
disable pvp in world "uhc 1"
wait 900 seconds
enable pvp in world "uhc1"
execute console command "worldborder set 30000000"
execute console command "worldborder set 40 3600"