setblock beim betreten des servers?

2 Antworten

Von Experte Brockdish bestätigt

Diesen Command einmal ausführen:

/scoreboard objektives add leave minecraft.custom:leave_game

Dieser Command muss in einen repeating command block eingetragen werden:

/execute as @a[scores={leave=1..}] at @s run setblock...

Und in einen chain command block in der richtung in die der erste command block zeigt:

/scoreboard players set @a[scores={leave=1..}] leave 0
Woher ich das weiß:Hobby – Ich bin aktiver Spieler seit 2011

marmat0802 
Fragesteller
 06.07.2021, 13:13

sehr ausführlich, vielen dank

1

Spigot ?

Woher ich das weiß:Hobby – Habe viel mit PCs zu tun

Julcraft14752  06.07.2021, 10:19

Wenn ja beim PlayerJoinEvent

Location location = player.getLocation;

x=location.getBlockX;

y= location.getBlockY- 1 ;

z=location.getBlockZ;

Location location1 = new Location(location.getWorld, x , y , z)

location1.getBlock.setType(Material.BEDROCK);

0