Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if arg 1 is "mapa":
- send ""
- set {_mapX} to 11
- set {_mapY} to 6
- set {_m} to ""
- loop 13 times:
- loop 23 times:
- set {_x} to {_mapX} * 16
- set {_y} to {_mapY} * 16
- set {_chunk} to chunk at block {_y} blocks north {_x} blocks west of player
- set {_Claim} to value "Terras.%{_chunk}%" get of "plugins/Factions/claimdata.yml"
- if {_Claim} isn't set:
- set {_result} to ""
- else:
- set {_result} to {_Claim}
- if {_chunk} is chunk at player:
- set {_m} to "%{_m}%&e█"
- else if {_result} is {_FactionTag}:
- set {_m} to "%{_m}%&8█"
- else if {_result} is "":
- set {_m} to "%{_m}%&7█"
- else if {_result} is "warzone":
- set {_m} to "%{_m}%&4█"
- else if {_result} is "safezone":
- set {_m} to "%{_m}%&6█"
- else:
- set {_m} to "%{_m}%&f█"
- add -1 to {_mapX}
- send "&l%{_m}%" to player
- set {_m} to ""
- add -1 to {_mapY}
- set {_mapX} to 11
- send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement