Interface ChatCondition

All Superinterfaces:
PreTransitionCondition
All Known Implementing Classes:
AdminCondition, AgeGreaterThanCondition, AgeLessThanCondition, AlwaysFalseCondition, AlwaysTrueCondition, AndCondition, AreaIsFullCondition, AvailabilityCondition, BetManager.BetCondition, BetManager.NoBetCondition, BoughtNumberOfCondition, CodedMessageFromFinnFarmer.TriggerMightbeACodedMessageCondition, DaylightCondition, EmoteCondition, GreetingMatchesNameCondition, GuardNPC.InJailCondition, GuardNPC.NotInJailCondition, KilledCondition, KilledForQuestCondition, KilledInSumForQuestCondition, KilledRareCreatureCondition, KilledSharedAllCreaturesCondition, KilledSoloAllCreaturesCondition, KillsQuestSlotNeedUpdateCondition, LevelGreaterThanCondition, LevelLessThanCondition, MinTotalCreaturesKilledCondition, NakedCondition, NotCondition, OrCondition, OutfitCompatibleWithClothesCondition, PlayerCanEquipItemCondition, PlayerGotNumberOfItemsFromWellCondition, PlayerHasCompletedAchievementsCondition, PlayerHasCorrectGateKey, PlayerHasEarningsToCollectCondition, PlayerHasHarvestedNumberOfItemsCondition, PlayerHasInfostringItemWithHimCondition, PlayerHasItemEquippedInSlot, PlayerHasItemWithHimCondition, PlayerHasKilledNumberOfCreaturesCondition, PlayerHasPetOrSheepCondition, PlayerHasRecordedItemWithHimCondition, PlayerHasShieldEquippedCondition, PlayerHasStorableEntityCondition, PlayerInAreaCondition, PlayerIsAGoodBoyCondition, PlayerIsWearingOutfitCondition, PlayerLootedNumberOfItemsCondition, PlayerManaGreaterThanCondition, PlayerMinedNumberOfItemsCondition, PlayerNextToCondition, PlayerOwnsItemIncludingBankCondition, PlayerProducedNumberOfItemsCondition, PlayerStatLevelCondition, PlayerVisitedZonesCondition, PlayerVisitedZonesInRegionCondition, PlayingCTFCondition, QuestActiveCondition, QuestCompletedCondition, QuestCountCompletedCondition, QuestInStateCondition, QuestNotActiveCondition, QuestNotCompletedCondition, QuestNotInStateCondition, QuestNotStartedCondition, QuestRegisteredCondition, QuestsInRegionCompletedCondition, QuestSmallerThanCondition, QuestStartedCondition, QuestStateGreaterThanCondition, QuestStateStartsWithCondition, QuestWithPrefixCompletedCondition, ScubaLicenseQuiz.ScubaCondition, SentenceHasErrorCondition, SoldNumberOfCondition, StatLevelComparisonCondition, SystemPropertyCondition, TextHasNumberCondition, TextHasParameterCondition, TimePassedCondition, TimeReachedCondition, TPPQuestInPhaseCondition, TriggerExactlyInListCondition, TriggerInListCondition, TriggerIsNPCNameForUnstartedQuestCondition, TriggerIsProducedItemOfClassCondition, TriggerMatchesQuestSlotCondition

public interface ChatCondition extends PreTransitionCondition
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    fire​(Player player, Sentence sentence, Entity npc)
    can the transition be done?
  • Method Details

    • fire

      boolean fire(Player player, Sentence sentence, Entity npc)
      Description copied from interface: PreTransitionCondition
      can the transition be done?
      Specified by:
      fire in interface PreTransitionCondition
      Parameters:
      player - player who caused the transition
      sentence - text he/she said
      npc - the NPC doing the transition
      Returns:
      true, if the transition is possible, false otherwise