Uses of Interface
games.stendhal.server.entity.npc.ChatAction
Package
Description
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
Modifier 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
Modifier and TypeMethodDescriptionConditionAndActionArea.getAction()
protected ChatAction
ConditionAndActionAreaFactory.getAction(ConfigurableFactoryContext ctx)
-
Uses of ChatAction in games.stendhal.server.entity.mapstuff.block
-
Uses of ChatAction in games.stendhal.server.entity.mapstuff.portal
Modifier and TypeFieldDescriptionprotected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.protected ChatAction
AccessCheckingPortal.rejectedAction
Optional action to take when access is rejected.Modifier and TypeMethodDescriptionprotected ChatAction
ConditionAndActionPortalFactory.getAction(ConfigurableFactoryContext ctx)
Extract the quest name from a context.ModifierConstructorDescriptionConditionAndActionPortal(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
Modifier and TypeMethodDescriptionvoid
SpeakerNPC.add(ConversationStates[] states, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action)
Adds a new set of transitions to the FSM.void
SpeakerNPC.add(ConversationStates[] states, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action)
Adds a new set of transitions to the FSM.void
SpeakerNPC.add(ConversationStates state, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action)
Adds a new transition to the FSM.void
SpeakerNPC.add(ConversationStates state, String trigger, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action, String label)
Adds a new transition to the FSM.void
SpeakerNPC.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.void
SpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ChatCondition condition, ConversationStates nextState, String reply, ChatAction action)
Adds a new set of transitions to the FSM.void
SpeakerNPC.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.void
SpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ConversationStates nextState, String reply, ChatAction action)
void
SpeakerNPC.add(ConversationStates state, Collection<String> triggerStrings, ConversationStates nextState, String reply, ChatAction action, String label)
void
SpeakerNPC.addGreeting(String text, ChatAction action)
Add greeting transition with name recognition.void
SpeakerNPC.addInitChatMessage(ChatCondition condition, ChatAction action)
void
SpeakerNPC.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.void
SpeakerNPC.addReply(String trigger, String text, ChatAction action)
Makes NPC say a text and/or do an action when a trigger is said.void
SpeakerNPC.addReply(Collection<String> triggerStrings, String text, ChatAction action)
Makes NPC say a text and/or do an action when a trigger is said.void
SpeakerNPC.addWaitMessage(String text, ChatAction action)
Message when NPC is attending another player. -
Uses of ChatAction in games.stendhal.server.entity.npc.action
Modifier and TypeClassDescriptionclass
Adds an item to a player's quest slot stringclass
BehaviourAction handles Behaviour requests.class
Modify parts or all of a players outfit.class
Modify all or part of a player's outfit while preserving temporary outfits.class
handles item lists a player has to bring for a questclass
Tells the player that the NPC did not understand the sentence; use it in combination with SentenceHasErrorCondition.class
creates a slotclass
Decreases the karma of the current player.class
Action to disable a featureclass
Drops the specified item with the specified infostringclass
Drops the specified item.class
Drops the specified item.class
Enables a client side feature.class
Equips the specified item.class
Chooses and equips the specified item from a listclass
Chooses and equips the specified item from a listclass
Opens an examine window on the client showing an imageclass
Action to adjust amount of an item that is looted, produced, harvested, bought, sold, etc.class
Increases the karma of the current player.class
Increases the xp of the current player.class
Increases the xp of the current player.class
Increments by some value the current state or substate of a quest.class
inflicts a status on an NPCclass
Action for an NPC to jail a playerclass
List details about a produced itemclass
Lists all items produced, which are of the given item class, as part of a messageclass
Displays text from the hall of fame on a sign.class
executes a list of actions in the order they have been added.class
BehaviourAction handles ProducerBehaviour requests.class
npc emoting to playerclass
sets the direction of an NPCclass
Debugging ChatAction that sends a quest slot's content to the firing playerclass
plays the specified soundclass
BehaviourAction handles ProducerBehaviour requests.class
removes all storable entities from the specified list that has the players name as identifier.class
Behaviour action for repairing npcsclass
Resets a block to its initial positionclass
Says the list of the NPC names for unstarted quests in a specified region in the form npc1, npc2, and npc3 all need your help.class
States the name of the item, with formatting/grammar rules, stored in the quest slotclass
States the name of the items missing from a quest slot with items like item=amount;item2=amount2;item3=amount3class
says the specified text, it works just like the normal parameter of add.class
Tells the time remaining between the timestamp on quest slot + delay time, and now.class
Tells the time remaining from current system time to a timestamp stored in a quest slotclass
Gives description for unstarted quest based on npc nameclass
Sends the message as a private text Optional notification type when used with NPCsclass
Write the difference between the players current age and the one stored in the quest slot to the hall of fame database table.class
Sets the current state of a quest.class
Sets the current state of a quest and modifies the karma of the player.class
Sets the state of a quest to a timestamp, randomly picked between minimum and maximum delay from current system time in minutesclass
Sets the state of a quest to the current age of the player.class
Sets the state of a quest to the current timestamp.class
Sets the state of a quest to the current year.class
For quests that use collections with random quantities for each item.class
Starts the recording of kills.class
Start recording random item collection request.class
Stores a message for delivery with postmanclass
Teleports the player to the specified location.ModifierConstructorDescriptionCollectRequestedItemsAction(String itemName, String quest, String questionForMore, String alreadyBrought, ChatAction completionAction, ConversationStates stateAfterCompletion)
create a new CollectRequestedItemsActionMultipleActions(ChatAction... action)
Creates a new MultipleActions.ModifierConstructorDescriptionMultipleActions(List<ChatAction> actions)
Creates a new MultipleActions. -
Uses of ChatAction in games.stendhal.server.entity.npc.behaviour.adder
Modifier and TypeMethodDescriptionvoid
HealerAdder.addHealer(SpeakerNPC npc, ChatAction calculateCostAction, ChatAction healAction)
Makes the NPC a healer. -
Uses of ChatAction in games.stendhal.server.entity.npc.behaviour.impl
Modifier 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
Modifier and TypeMethodDescriptionvoid
Engine.add(ConversationStates state, String triggerString, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action)
Adds a new transition to FSM.void
Engine.add(ConversationStates state, String triggerString, ChatCondition condition, boolean secondary, ConversationStates nextState, String reply, ChatAction action, String label)
Adds a new transition to FSM.void
Engine.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.void
Engine.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.void
Engine.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.void
Engine.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.void
Engine.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.void
Engine.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.maps.deathmatch
Modifier and TypeClassDescriptionclass
handles "bail" trigger to free the player from deathmatch with a penalty.class
Handles player claim of victory by giving reward after verifying the winning.class
handle the players request to leave the deathmatch (if it is allowed in the current state).class
Action to start a new deathmatch session for the player. -
Uses of ChatAction in games.stendhal.server.maps.quests
Modifier and TypeClassDescriptionclass
creates, stores and says a coded message -
Uses of ChatAction in games.stendhal.server.maps.quests.captureflag
Modifier and TypeClassDescriptionclass
lets the player join a CTF gameclass
leave a game of CTF (remove the tag uselistenerclass
provide 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, ...).class
throw 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
Modifier and TypeClassDescriptionclass
class
NPC's actions when player asks for his reward. -
Uses of ChatAction in games.stendhal.server.maps.quests.revivalweeks
-
Uses of ChatAction in games.stendhal.server.maps.quests.tutorial
Modifier and TypeMethodDescriptionstatic ChatAction
TutorialStep.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
Modifier and TypeClassDescriptionclass
class
chat action to let a player fetch his earnings from the marketclass
abstract class for handling offer numbers in sentencesprotected class
protected class
protected class
protected class
class
show a list of all items for which offers exist.class
shows all current offers to the asking player -
Uses of ChatAction in games.stendhal.server.script
Modifier and TypeClassDescriptionprotected class
protected class
protected class
handles a bet.class