Share Private Store Align - Interlude

Capheus

Vagabond
Customer
Disclaimer: My knowledge of Java is almost zero — this was mostly made by AI.

This aligns private shops or workshops (online or offline) to a grid, so private shops will not pile up.
Put the marketgrid.properties into /config/custom and the MarketGridAlign.ext.jar in the gameserver (where all the other ext.jar are)

Make a zone (data/zone/ add a new xml or use the existing peace_zone.xml), example:
<zone name="[giran_marketgrid]" type="peace_zone">
<polygon>
<coords loc="82719 147898 -3572 -3372" />
<coords loc="81144 147898 -3572 -3372" />
<coords loc="81148 149316 -3572 -3372" />
<coords loc="82728 149320 -3572 -3372" />
</polygon>
<banned_polygon>
<coords loc="82184 148340 -3572 -3372" />
<coords loc="81928 148230 -3572 -3372" />
<coords loc="81659 148342 -3572 -3372" />
<coords loc="81545 148615 -3572 -3372" />
<coords loc="81654 148872 -3572 -3372" />
<coords loc="81911 148984 -3572 -3372" />
<coords loc="82184 148874 -3572 -3372" />
<coords loc="82303 148607 -3572 -3372" />
</banned_polygon>
</zone>


Add the zone in marketgrid.properties :

# Your market zone(s). Use exact names from XML (with brackets).
MarketGridZones = [giran_marketgrid];[giranHarbor_marketgrid]
 

Attachments

Last edited:
Back
Top