Oh btw you can add a config at this
you can change this
if (player.isInsideZone(L2Character.TOWN_ZONE))
{
player.sendPacket(new PrivateStoreManageListSell(player, _packageSale));
player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NO_PRIVATE_STORE_HERE));
player.sendPacket(ActionFailed.STATIC_PACKET);
return;
}
to this
if Config.BLOCK_STORES_IN_TOWNS
{
if (player.isInsideZone(L2Character.TOWN_ZONE))
{
player.sendPacket(new PrivateStoreManageListSell(player, _packageSale));
player.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.NO_PRIVATE_STORE_HERE));
player.sendPacket(ActionFailed.STATIC_PACKET);
return;
}
}
just make sure to go into Java/config.java
and add private static boolean BLOCK_STORES_IN_TOWNS;
and also add this line
BLOCK_STORES_IN_TOWNS = Boolean.parseBoolean(L2JModSettings.getProperty("BlockStoresInTowns", "True"));
and then add the BlockStoresInTowns = True config into l2jmods.properties