@Override
public void onBypassFeedback(L2PcInstance player, String command)
{
if (command.equals("giveTp"))
{
if ((System.currentTimeMillis()-getLastEventTime())/1000/60/60 < 24) //check for 24 hours after instance is done
{
player.sendMessage("Next available date:"+getEventCooldown());
return;
}
if (player.getParty() != null)
{
and continue your checks