Hello, is it possible that you can mark a chunk on Dynmap that is claimed ingame.
What I am trying to do:
I am trying to claim a chunk ingame, then make it visible on Dynmap.
My Code rn:
I hope someone can help me!
What I am trying to do:
I am trying to claim a chunk ingame, then make it visible on Dynmap.
My Code rn:
Code:
##CODE##
on break:
if {chunks::%chunk at event-block%} is true:
if {chunks::%chunk at event-block%.owner} is not player:
send "NO!"
on place:
if {chunks::%chunk at event-block%} is true:
if {chunks::%chunk at event-block%.owner} is not player:
send "NO!"
command /claim:
trigger:
if {chunks::%chunk at player%} is not true:
set {chunks::%chunk at player%} to true
set {chunks::%chunk at player%.owner} to player
send "Chunk claimed!"
else:
send "Chunk already claimed!"
command /unclaim:
trigger:
if {chunks::%chunk at player%} is true:
if {chunks::%chunk at player%.owner} is player:
delete {chunks::%chunk at player%}
delete {chunks::%chunk at player%.owner}
send "Chunk unclaimed!"
else:
send "This is not your chunk!"
else:
send "Chunk not claimed!"
I hope someone can help me!