So, i have seen a lot of threads that have a solution for some situations in this, but i want to make it do commands from the console whereas they suggest to do something like
command /spawn:
trigger:
if player's world is "ASkyBlock":
execute player command "/worldtp skyblock"
else if player's world is "SpawnWorld":
teleport player to location at 0, 0, 0 in world("SpawnWorld")
and this does not really work for me as i want to make it do the commands from the console. I already have the main part functioning i just need it to work in different worlds. An example of one of my skripts:
every 30 seconds:
send "§8{§9Mines§8} §fThe oak mine will reset in 20 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 10 second
send "§8{§9Mines§8} §fThe oak mine will reset in 10 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 5 second
send "§8{§9Mines§8} §fThe oak mine will reset in 5 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 4 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 3 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 2 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 1 second!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
make console execute command "fill 110 101 31 110 95 25 oak_log"
wait 1 second
make console execute command "fill 109 101 31 109 95 25 oak_log"
wait 1 second
make console execute command "fill 108 101 31 108 95 25 oak_log"
wait 1 second
make console execute command "fill 107 101 31 107 95 25 oak_log"
wait 1 second
make console execute command "fill 106 101 31 106 95 25 oak_log"
wait 1 second
make console execute command "fill 105 101 31 105 95 25 oak_log"
wait 1 second
make console execute command "fill 104 101 31 104 95 25 oak_log"
this is copied and pasted for multiple skripts but i want a way to do this in only certain worlds. Thanks for any help!
command /spawn:
trigger:
if player's world is "ASkyBlock":
execute player command "/worldtp skyblock"
else if player's world is "SpawnWorld":
teleport player to location at 0, 0, 0 in world("SpawnWorld")
and this does not really work for me as i want to make it do the commands from the console. I already have the main part functioning i just need it to work in different worlds. An example of one of my skripts:
every 30 seconds:
send "§8{§9Mines§8} §fThe oak mine will reset in 20 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 10 second
send "§8{§9Mines§8} §fThe oak mine will reset in 10 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 5 second
send "§8{§9Mines§8} §fThe oak mine will reset in 5 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 4 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 3 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 2 seconds!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
send "§8{§9Mines§8} §fThe oak mine will reset in 1 second!" to all players in radius 8 around location(107, 95, 28)
wait 1 second
make console execute command "fill 110 101 31 110 95 25 oak_log"
wait 1 second
make console execute command "fill 109 101 31 109 95 25 oak_log"
wait 1 second
make console execute command "fill 108 101 31 108 95 25 oak_log"
wait 1 second
make console execute command "fill 107 101 31 107 95 25 oak_log"
wait 1 second
make console execute command "fill 106 101 31 106 95 25 oak_log"
wait 1 second
make console execute command "fill 105 101 31 105 95 25 oak_log"
wait 1 second
make console execute command "fill 104 101 31 104 95 25 oak_log"
this is copied and pasted for multiple skripts but i want a way to do this in only certain worlds. Thanks for any help!