Uses of Interface
games.stendhal.server.entity.npc.ChatAction
Packages that use ChatAction
Package
Description
Lua scripting interface.
Deathmatch: Actions for SpeakerNPCs and internal handling.
Interactive scripts that high level admins can invoke.
-
Uses of ChatAction in games.stendhal.server.core.scripting.lua
Methods in games.stendhal.server.core.scripting.lua that return ChatActionModifier and TypeMethodDescriptionCreates an instance of a ChatAction from the class name string.LuaActionHelper.create(org.luaj.vm2.LuaFunction lf) Creates a custom ChatAction. -
Uses of ChatAction in games.stendhal.server.entity.mapstuff.area
Methods in games.stendhal.server.entity.mapstuff.area that return ChatActionModifier and TypeMethodDescriptionConditionAndActionArea.getAction()protected ChatActionConditionAndActionAreaFactory.getAction(ConfigurableFactoryContext ctx) Methods in games.stendhal.server.entity.mapstuff.area with parameters of type ChatAction -
Uses of ChatAction in games.stendhal.server.entity.mapstuff.block
Methods in games.stendhal.server.entity.mapstuff.block with parameters of type ChatAction -
Uses of ChatAction in games.stendhal.server.entity.mapstuff.portal
Fields in games.stendhal.server.entity.mapstuff.portal declared as ChatActionModifier and TypeFieldDescriptionprotected ChatActionAccessCheckingPortal.rejectedActionOptional action to take when access is rejected.Methods in games.stendhal.server.entity.mapstuff.portal that return ChatActionModifier and TypeMethodDescriptionprotected ChatActionConditionAndActionPortalFactory.getAction(ConfigurableFactoryContext ctx) Extract the quest name from a context.Methods in games.stendhal.server.entity.mapstuff.portal with parameters of type ChatActionModifier and TypeMethodDescriptionvoidAccessCheckingPortal.setRejectedAction(ChatAction rejectedAction) Initiates an action to take on rejection.Constructors in games.stendhal.server.entity.mapstuff.portal with parameters of type ChatActionModifierConstructorDescriptionConditionAndActionPortal(ChatCondition condition, ChatAction action) Creates a ConditionCheckingPortal.ConditionAndActionPortal(ChatCondition condition, String rejectMessage, ChatAction action) Creates a ConditionCheckingPortal with reject message. -
Uses of ChatAction in games.stendhal.server.entity.npc
Methods in games.stendhal.server.entity.npc with parameters of type ChatActionModifier and TypeMethodDescriptionvoidSpeakerNPC.add(ConversationStates[] states, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates[] states, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates state, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new transition to the FSM.voidSpeakerNPC.add(ConversationStates state, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new transition to the FSM.voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new set of transitions to the FSM.voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ConversationStates nextState, String reply, ChatAction action) voidSpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ConversationStates nextState, String reply, ChatAction action, String label) voidSpeakerNPC.addGreeting(String text, ChatAction action) Add greeting transition with name recognition.voidSpeakerNPC.addInitChatMessage(ChatCondition condition, ChatAction action) voidSpeakerNPC.addMatching(ConversationStates state, String trigger, ExpressionMatcher matcher, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action) Adds a new transition with explicit ExpressionMatcher to the FSM.voidSpeakerNPC.addReply(String trigger, String text, ChatAction action) Makes NPC say a text and/or do an action when a trigger is said.voidSpeakerNPC.addReply(Collection<String> triggerStrings, String text, ChatAction action) Makes NPC say a text and/or do an action when a trigger is said.voidSpeakerNPC.addWaitMessage(String text, ChatAction action) Message when NPC is attending another player.ConversationBuilder.doing(ChatAction... actions) Specify additional actions for the conversation. -
Uses of ChatAction in games.stendhal.server.entity.npc.action
Classes in games.stendhal.server.entity.npc.action that implement ChatActionModifier and TypeClassDescriptionclassAdds an item to a player's quest slot stringclassBehaviourAction handles Behaviour requests.classModify parts or all of a players outfit.classModify all or part of a player's outfit while preserving temporary outfits.final classhandles item lists a player has to bring for a questclassTells the player that the NPC did not understand the sentence; use it in combination with SentenceHasErrorCondition.classexecutes an actions, if and only if, a condition is met.classcreates a slotclassDecreases the karma of the current player.classAction to disable a featureclassDrops the specified item.classDrops the specified item.classDrops the specified item with the specified itemdataclassDrops the specified item.classEnables a client side feature.classEquips the specified item.classChooses and equips the specified item from a listclassChooses and equips the specified item from a listclassOpens an examine window on the client showing an imageclassAction to adjust amount of an item that is looted, produced, harvested, bought, sold, etc.classIncreases the karma of the current player.classIncreases the xp of the current player.classIncreases the xp of the current player.classIncrements by some value the current state or substate of a quest.classinflicts a status on an NPCclassAction for an NPC to jail a playerclassList details about a produced itemclassLists all items produced, which are of the given item class, as part of a messageclassDisplays text from the hall of fame on a sign.classexecutes a list of actions in the order they have been added.classBehaviourAction handles ProducerBehaviour requests.classnpc emoting to playerfinal classsets the direction of an NPCclassDebugging ChatAction that sends a quest slot's content to the firing playerclassplays the specified soundclassBehaviourAction handles ProducerBehaviour requests.classexecutes a random action from a list of actions.classremoves all storable entities from the specified list that has the players name as identifier.classBehaviour action for repairing npcsclassResets a block to its initial positionclassSays the list of the NPC names for unstarted quests in a specified region in the form npc1, npc2, and npc3 all need your help.classStates the name of the item, with formatting/grammar rules, stored in the quest slotclassStates the name of the items missing from a quest slot with items like item=amount;item2=amount2;item3=amount3classsays the specified text, it works just like the normal parameter of add.classTells the time remaining between the timestamp on quest slot + delay time, and now.classTells the time remaining from current system time to a timestamp stored in a quest slotclassGives description for unstarted quest based on npc nameclassSends the message as a private text Optional notification type when used with NPCsclassWrite the difference between the players current age and the one stored in the quest slot to the hall of fame database table.classSets the current state of a quest.classSets the current state of a quest and modifies the karma of the player.classSets the state of a quest to a timestamp, randomly picked between minimum and maximum delay from current system time in minutesclassSets the state of a quest to the current age of the player.classSets the state of a quest to the current timestamp.classSets the state of a quest to the current year.classFor quests that use collections with random quantities for each item.classStarts the recording of kills.classStart recording random item collection request.classStores a message for delivery with postmanclassAction to produce dialogue from an NPC other than the event raiser.classTeleports the player to the specified location.Methods in games.stendhal.server.entity.npc.action that return ChatActionModifier and TypeMethodDescriptionstatic ChatActionDropFirstOwnedItemAction.dropFirstOwnedItem(List<Pair<String, Integer>> itemList) static ChatActionstatic ChatActionstatic ChatActionEquipItemAction.equipBoundItem(String itemName) static ChatActionstatic ChatActionIncreaseKarmaAction.increaseKarma(double amount) static ChatActionIncreaseXPAction.increaseXP(int xpDiff) static ChatActionSayTimeRemainingAction.sayTimeRemaining(String questName, int index, int delay, String message) static ChatActionstatic ChatActionSetQuestAndModifyKarmaAction.setQuestAndModifyKarma(String questName, String status, double karmaDiff) static ChatActionSetQuestToTimeStampAction.setQuestToTimestamp(String questName, int index) Constructors in games.stendhal.server.entity.npc.action with parameters of type ChatActionModifierConstructorDescriptionCollectRequestedItemsAction(String itemName, String quest, int position, String questionForMore, String alreadyBrought, ChatAction completionAction, ConversationStates stateAfterCompletion) CollectRequestedItemsAction(String itemName, String quest, String questionForMore, String alreadyBrought, ChatAction completionAction, ConversationStates stateAfterCompletion) create a new CollectRequestedItemsActionConditionalAction(ChatCondition condition, ChatAction action) Creates a new ConditionalAction.MultipleActions(ChatAction... action) Creates a new MultipleActions.RandomAction(ChatAction... action) Creates a new RandomAction.Constructor parameters in games.stendhal.server.entity.npc.action with type arguments of type ChatActionModifierConstructorDescriptionMultipleActions(List<ChatAction> actions) Creates a new MultipleActions.RandomAction(List<ChatAction> actions) Creates a new RandomAction. -
Uses of ChatAction in games.stendhal.server.entity.npc.behaviour.adder
Methods in games.stendhal.server.entity.npc.behaviour.adder with parameters of type ChatActionModifier and TypeMethodDescriptionvoidHealerAdder.addHealer(SpeakerNPC npc, ChatAction calculateCostAction, ChatAction healAction) Makes the NPC a healer. -
Uses of ChatAction in games.stendhal.server.entity.npc.behaviour.impl
Methods in games.stendhal.server.entity.npc.behaviour.impl that return ChatActionModifier and TypeMethodDescriptionBehaviour.getRejectedTransactionAction()a chat action that is executed in case transaction are not possibleQuestCompletedBuyerBehaviour.getRejectedTransactionAction()QuestCompletedSellerBehaviour.getRejectedTransactionAction()RepairerBehaviour.getRejectedTransactionAction() -
Uses of ChatAction in games.stendhal.server.entity.npc.fsm
Methods in games.stendhal.server.entity.npc.fsm with parameters of type ChatActionModifier and TypeMethodDescriptionvoidEngine.add(ConversationStates state, String triggerString, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new transition to FSM.voidEngine.add(ConversationStates state, String triggerString, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new transition to FSM.voidEngine.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidEngine.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new set of transitions to the FSM.voidEngine.add(Collection<Expression> triggerExpressions, ConversationStates state, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM.voidEngine.add(Collection<Expression> triggerExpressions, ConversationStates state, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action, String label) Adds a new set of transitions to the FSM.voidEngine.addMatching(ConversationStates state, String triggerString, ExpressionMatcher matcher, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new transition with explicit ExpressionMatcher to FSM.voidEngine.addMatching(ConversationStates state, Collection<String> triggerStrings, ExpressionMatcher matcher, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action) Adds a new set of transitions to the FSM. -
Uses of ChatAction in games.stendhal.server.entity.npc.quest
Methods in games.stendhal.server.entity.npc.quest with parameters of type ChatAction -
Uses of ChatAction in games.stendhal.server.maps.deathmatch
Classes in games.stendhal.server.maps.deathmatch that implement ChatActionModifier and TypeClassDescriptionclasshandles "bail" trigger to free the player from deathmatch with a penalty.classHandles player claim of victory by giving reward after verifying the winning.classhandle the players request to leave the deathmatch (if it is allowed in the current state).classAction to start a new deathmatch session for the player. -
Uses of ChatAction in games.stendhal.server.maps.quests
Classes in games.stendhal.server.maps.quests that implement ChatActionModifier and TypeClassDescriptionclasscreates, stores and says a coded message -
Uses of ChatAction in games.stendhal.server.maps.quests.captureflag
Classes in games.stendhal.server.maps.quests.captureflag that implement ChatActionModifier and TypeClassDescriptionclasslets the player join a CTF gameclassleave a game of CTF (remove the tag uselistenerclassprovide special CTF arrows (fumble and slowdown) to a player NOTE: i thought this should be separate, because we could check that player is able to have a flag (playing, ...).classthrow two flags on the ground after a player has requested them NOTE: i thought this should be separate, because we could check that player is able to have a flag (playing, ...). -
Uses of ChatAction in games.stendhal.server.maps.quests.piedpiper
Classes in games.stendhal.server.maps.quests.piedpiper that implement ChatActionModifier and TypeClassDescriptionclassclassNPC's actions when player asks for his reward. -
Uses of ChatAction in games.stendhal.server.maps.quests.revivalweeks
Classes in games.stendhal.server.maps.quests.revivalweeks that implement ChatAction -
Uses of ChatAction in games.stendhal.server.maps.quests.tutorial
Methods in games.stendhal.server.maps.quests.tutorial that return ChatActionModifier and TypeMethodDescriptionstatic ChatActionTutorialStep.delayMessage(int delay, String msg) Creates a chat action that has NPC say a phrase after a set number of turns has passed. -
Uses of ChatAction in games.stendhal.server.maps.semos.tavern.market
Classes in games.stendhal.server.maps.semos.tavern.market that implement ChatActionModifier and TypeClassDescriptionclassclasschat action to let a player fetch his earnings from the marketclassabstract class for handling offer numbers in sentencesprotected classprotected classprotected classprotected classclassshow a list of all items for which offers exist.classshows all current offers to the asking player -
Uses of ChatAction in games.stendhal.server.script
Classes in games.stendhal.server.script that implement ChatActionModifier and TypeClassDescriptionprotected classprotected classprotected classhandles a bet.class