Creating stable faction engine isnt anything hard, the point is to make it valuable engine, something unique, impressive and so on. It looks like simple, common engine, which is surly not worth that money, especially without source, but its just my opinion.
I have here almost 2000 post with replys trying to help, so guess what - yes.
And there are also other helpful members.
And since author of this thread can not understand what we are saying, answer is obvious.
By using brain, and some own effort (...)
Create new type: ItemZone.java (inside zone/types package)
public class ItemZone extends L2ZoneType
{
private int _item = 0;
public ItemZone(int id)
{
super(id);
}
@Override
public void setParameter(String name, String value)
{
if (name.equals("itemId"))
_item = Integer.parseInt(value);
else super.setParameter(name, value);
}
@Override
protected void onEnter(L2Character character)
{
if (character instanceof L2PcInstance)
{
if(((L2PcInstance)character).getInventory().getItemsByItemId(_item).size() == 0)
{
character.sendMessage("You dont have required items to enter!");
character.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
character.teleToLocation(MapRegionTable.TeleportWhereType.Town);
}
}
}
@Override
protected void onExit(L2Character character) {}
@Override
public void onDieInside(L2Character character) {}
@Override
public void onReviveInside(L2Character character) {}
}
Then create new zone in zones.xml (datapack) - dont even dare to ask how to do it, it was explained plenty of times. Create new zone with this name, with special parametr.
Done, 10 minutes of work - next time use search and put some own effort.
B1ggBoss asked you about fork, chronicle, revision, etc. Do you think that single information about chronicle is gonna change our view about your problem so much? No. Thats why you should understand that if you really expect any help, you should provide as much info as possible, also some own effort is required.
Create new zone type, in onEnter add check if player inventory contains item with id X, if yes do nothing (allow him to enter) if not - teleport him to nearest village.
Uh, you should provide some information first.
It sounds a bit strange - you are saying you have coded it.
Ok, but im here to help you, not to judge, so most likely you have created (or not) instance for your npc to handle event joining/leaving and so on. If yes, make sure you set proper instance in npc type (database)
Simple way, on event start get current system miliseconds.
System - class documentation.
and then compare it with current whenever you want to show how many left.
To display how many hours/minutes left, you will have to convert it aswell.
But its really simple and fast to do, so you should not have any problems.
Ohh, create simple multisell based npc - standard shop.
I havent seen any npc shared here lately, which would contains materials for each thing.
But, to save time, you can always use multisells from admin panel (there is section for craft materials)