Uses of Annotation Interface
games.stendhal.server.core.config.annotations.Dev
Package
Description
This package contains conditions frequently used in quests.
-
Uses of Dev in games.stendhal.server.entity.npc.action
Modifier and TypeClassDescriptionclass
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
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
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
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
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
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.ModifierConstructorDescriptionDropInfostringItemAction(String itemName, int amount, String infostring)
Creates a new DropInfostringItemAction.DropItemAction(String itemName, int amount)
Creates a new DropItemAction.DropRecordedItemAction(String questname, int index)
Creates a new DropRecordedItemAction.EnableFeatureAction(String feature, String value)
Creates a new EnableFeatureAction.EquipItemAction(String itemName, int amount, boolean bind)
Creates a new EquipItemAction.EquipRandomAmountOfItemAction(String item, int min, int max, int multiplayer)
Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaEquipRandomItemAction(Map<String,Integer> items, boolean bind)
Creates a new EquipRandomItemAction.IncrementQuestAction(String questname, int index, int increment)
Creates a new IncrementQuestAction.InflictStatusOnNPCAction(String itemName)
InflictStatusOnNPCActionPlaySoundAction(String sound, boolean delay)
Creates a new PlaySoundAction.SayRequiredItemAction(String questname, int index, String message)
Creates a new SayRequiredItemAction.SayTimeRemainingAction(String questname, int index, int delay, String message)
Creates a new SayTimeRemainingAction.SayTimeRemainingAction(String questname, int index, int delay, String message, String secondMessage)
SayTimeRemainingUntilTimeReachedAction(String questname, int index, String message)
Creates a new SayTimeRemainingUntilTimeReachedAction.SendPrivateMessageAction(NotificationType type, String text)
Creates a new SendPrivateMessageAction - does NOT work with portalsSetQuestAction(String questname, int index, String state)
Creates a new SetQuestAction.SetQuestToFutureRandomTimeStampAction(String questname, int index, int minDelay, int maxDelay)
Creates a new SetQuestToFutureRandomTimeStampAction.SetQuestToPlayerAgeAction(String questname, int index)
Creates a new SetQuestToPlayerAgeAction.SetQuestToTimeStampAction(String questname, int index)
Creates a new SetQuestToTimeStampAction.SetQuestToYearAction(String questname, int index)
Creates a new SetQuestToYearAction.StartRecordingKillsAction(String questSlot, int index, RequiredKillsInfo... requiredKills)
Creates a new StartRecordingKillsAction.StartRecordingRandomItemCollectionAction(String questname, int index, Map<String,Integer> items, String message)
Creates a new StartRecordingRandomItemCollectionAction.ModifierConstructorDescriptionDropInfostringItemAction(String itemName, int amount, String infostring)
Creates a new DropInfostringItemAction.DropItemAction(String itemName, int amount)
Creates a new DropItemAction.EquipRandomAmountOfItemAction(String item, int min, int max, int multiplayer)
Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaIncrementQuestAction(String questname, int index, int increment)
Creates a new IncrementQuestAction.SayRequiredItemAction(String questname, int index, String message)
Creates a new SayRequiredItemAction.SayTimeRemainingAction(String questname, int index, int delay, String message)
Creates a new SayTimeRemainingAction.SayTimeRemainingAction(String questname, int index, int delay, String message, String secondMessage)
SayTimeRemainingUntilTimeReachedAction(String questname, int index, String message)
Creates a new SayTimeRemainingUntilTimeReachedAction.SendPrivateMessageAction(NotificationType type, String text)
Creates a new SendPrivateMessageAction - does NOT work with portalsSetQuestToFutureRandomTimeStampAction(String questname, int index, int minDelay, int maxDelay)
Creates a new SetQuestToFutureRandomTimeStampAction.SetQuestToTimeStampAction(String questname, int index)
Creates a new SetQuestToTimeStampAction.SetQuestToYearAction(String questname, int index)
Creates a new SetQuestToYearAction.StartRecordingKillsAction(String questSlot, int index, RequiredKillsInfo... requiredKills)
Creates a new StartRecordingKillsAction.Creates a new StartRecordingKillsAction.StartRecordingRandomItemCollectionAction(String questname, int index, Map<String,Integer> items, String message)
Creates a new StartRecordingRandomItemCollectionAction. -
Uses of Dev in games.stendhal.server.entity.npc.condition
Modifier and TypeClassDescriptionclass
Is the player an admin?class
Is the player's age greater than the specified age?class
Is the player's age less than the specified age?class
This condition returns always false.class
This condition returns always true.class
Is constructed from a group of conditions.class
Checks if there is room for a player within a restricted area.class
Checks the current day light phase.class
Is player emoting to npc?class
Checks if an optional subject in the user input matches the NPC name.class
Has the player killed at least one of each specified creature, with or without the help of any other player.class
Checks the records of kills.class
Checking sum of quest creatures kills in player's quest and kills slots..class
Checking if player's quest slot need update with newer creatures and update it if required Quest string should have in proper quest index string like "creature1,w,x,y,z,creature2,a,b,c,d,creature3,..." Where creature1, creature2 - names of creatures to kill; w,x and a,b - number of creatures to kill, solo and shared; y,z and c,d - number of creatures killed by player before starting this quest, both solo and shared.class
Is the player's level greater than the specified one?class
Is the player's level smaller than the specified one?class
check whether a player has killed at least the specified number of creatures of any kindclass
Is the player naked? (e.class
An inverse condition.class
An or condition.class
Can this outfit be worn with normal clothes ?class
Can the player equip the specified item? (has enough space in his bag or other slots)class
Did the player get at least this number of items from the wishing well?class
has the player completed the specified number of the specified achievements?class
Checks to see if the player has a gate key that matches the identifier of the raiser (usually the gate but can be any entity with the "identifier" attribute)class
Checks if a player has harvested a minimum number of an itemclass
Does the player carry the specified item with the specified infostring?class
Check if the Player has equipped an item in a specified slotclass
Does the player carry the specified item?class
Checks if a player has killed the specified creature at least the specified number of times This can be with or without the help of other players.class
Does the player have a pet or sheep?class
Does the player carry the specified item?class
Checks whether the player has a shield equippedclass
Is there a storable entity in the specified list that has name of the current player as identifier?class
Is the player in the specified area?class
Check if a player is a good boy, e.class
Does the player wear (at least a part of) the specified outfit?class
Checks if a player has looted a minimum number of item(s).class
Condition to check if a player's mana is greater than a numberclass
Checks if a player has mined a given number of itemsclass
Does the player owns a item (including the bank)?class
Checks if a player has produced a given number of itemsclass
Compares an integer value attribution.class
Checks if player has visited a list of certain zonesclass
Checks if player has visited certain zones in a regionclass
Was this quest started but not completed?class
Was this quest completed?class
Is this quest in this state?class
Is this quest either unknown, completed or rejected?class
Is this quest not completed?class
Is this quest not in this state?class
Was this quest not started yet?class
Is this quest state smaller than the value in this condition?class
Was this quest at least started? See QuestActiveCondition to check that it was started but not completed.class
Condition to check if the value in a quest slot is greater than an expected value.class
Does the quest state start with the specified String?class
Checks whether the sentence has an error.class
Is the specified system property set?class
Does this trigger contain a number?class
Did this trigger have additional parameters?class
Has 'delay' time passed since the quest was last done? If the quest slot isn't in the expected format, returns trueclass
Check if current system time reached a timestamp stored in a quest slot.class
Was one of these trigger phrases said exactly ignoring case? (Use with a ""-trigger in npc.add)class
Was one of theses trigger phrases said? (Use with a ""-trigger in npc.add)class
Was the trigger phrase a name of an NPC for an unstarted quest in the region? (Use with a ""-trigger in npc.add)class
Was a trigger phrase said, which is a produced item of this class? (Use with a ""-trigger in npc.add)class
was the content of a quest slot said?ModifierConstructorDescriptionAdminCondition(int requiredAdminlevel)
AdminCondition checks the adminlevel of the playerKilledCondition(List<String> toKill)
creates a new KilledCondition.KilledForQuestCondition(String quest, int index)
Creates a new KilledForQuestCondition.MinTotalCreaturesKilledCondition(int total)
ConstructorPlayerHasCompletedAchievementsCondition(int minimum, String... achievementIdentifiers)
PlayerHasCompletedAchievementsConditionPlayerHasItemWithHimCondition(String itemName, int amount)
Creates a new PlayerHasItemWithHim.creates a condition to kill each creature with the name specified in the map and the number as valuePlayerHasRecordedItemWithHimCondition(String questName, int index)
Creates a new PlayerHasRecordedItemWithHimCondition.PlayerOwnsItemIncludingBankCondition(String itemName, int amount)
Creates a new PlayerOwnsItemIncludingBankCondition.QuestInStateCondition(String questname, int index, String state)
Creates a new QuestInStateCondition.TextHasNumberCondition(int min, int max)
Creates a new TextHasNumberCondition which checks if there is a number and if it is in range.TimePassedCondition(String questname, int index, int delayInMinutes)
Creates a new TimePassedCondition .TimeReachedCondition(String questname, int index)
Creates a new TimeReachedCondition for checking wether or not a timestamp in quest slot has been reachedTriggerExactlyInListCondition(List<String> triggers)
Creates a new TriggerExactlyInListCondition.TriggerInListCondition(List<String> trigger)
Creates a new TriggerInListCondition.ModifierConstructorDescriptionAdminCondition(int requiredAdminlevel)
AdminCondition checks the adminlevel of the playerKilledForQuestCondition(String quest, int index)
Creates a new KilledForQuestCondition.PlayerHasCompletedAchievementsCondition(int minimum, String... achievementIdentifiers)
PlayerHasCompletedAchievementsConditionPlayerHasItemWithHimCondition(String itemName, int amount)
Creates a new PlayerHasItemWithHim.PlayerOwnsItemIncludingBankCondition(String itemName, int amount)
Creates a new PlayerOwnsItemIncludingBankCondition.QuestInStateCondition(String questname, int index, String state)
Creates a new QuestInStateCondition.TextHasNumberCondition(int min, int max)
Creates a new TextHasNumberCondition which checks if there is a number and if it is in range.TextHasNumberCondition(int min, int max)
Creates a new TextHasNumberCondition which checks if there is a number and if it is in range.