Uses of Annotation Interface
games.stendhal.server.core.config.annotations.Dev
Packages that use Dev
Package
Description
This package contains conditions frequently used in quests.
-
Uses of Dev in games.stendhal.server.entity.npc.action
Classes in games.stendhal.server.entity.npc.action with annotations of type DevModifier and TypeClassDescriptionclassBehaviourAction 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.classDecreases 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 imageclassIncreases 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 NPCclassplays 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 npcsclassSays 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.classStarts the recording of kills.classStart recording random item collection request.classStores a message for delivery with postmanclassTeleports the player to the specified location.Constructors in games.stendhal.server.entity.npc.action with annotations of type DevModifierConstructorDescriptionDropFirstOwnedItemAction(List<Pair<String, Integer>> itemList) Creates a new DropFirstOwnedItemAction.DropItemAction(String itemName, int amount) Creates a new DropItemAction.DropItemdataItemAction(String itemName, int amount, String itemdata) Creates a new DropItemdataItemAction.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 increment) Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaEquipRandomAmountOfItemAction(String item, int min, int max, int increment, boolean bind) Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaEquipRandomAmountOfItemAction(String item, int min, int max, int increment, String text) Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaEquipRandomAmountOfItemAction(String item, int min, int max, int increment, String text, boolean bind) 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, String text) 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, boolean substitute) 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.Constructor parameters in games.stendhal.server.entity.npc.action with annotations of type DevModifierConstructorDescriptionDropItemAction(String itemName, int amount) Creates a new DropItemAction.DropItemdataItemAction(String itemName, int amount, String itemdata) Creates a new DropItemdataItemAction.EquipRandomAmountOfItemAction(String item, int min, int max, int increment) Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaEquipRandomAmountOfItemAction(String item, int min, int max, int increment, boolean bind) Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaEquipRandomAmountOfItemAction(String item, int min, int max, int increment, String text) Creates a new EquipRandomItemAction.
Since stackable, min and max must be > 0.
If min > max, min is treated like max and vice versaEquipRandomAmountOfItemAction(String item, int min, int max, int increment, String text, boolean bind) 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, boolean substitute) 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
Classes in games.stendhal.server.entity.npc.condition with annotations of type DevModifier and TypeClassDescriptionclassIs the player an admin?classIs the player's age greater than the specified age?classIs the player's age less than the specified age?classThis condition returns always false.classThis condition returns always true.classIs constructed from a group of conditions.classChecks if there is room for a player within a restricted area.classChecks the current day light phase.classIs player emoting to npc?classChecks if an optional subject in the user input matches the NPC name.classHas the player killed at least one of each specified creature, with or without the help of any other player.classChecks the records of kills.classChecking sum of quest creatures kills in player's quest and kills slots..classChecking 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.classIs the player's level greater than the specified one?classIs the player's level smaller than the specified one?classcheck whether a player has killed at least the specified number of creatures of any kindclassIs the player naked? (e.classAn inverse condition.classAn or condition.classCan this outfit be worn with normal clothes ?classCan the player equip the specified item? (has enough space in his bag or other slots)classDid the player get at least this number of items from the wishing well?classhas the player completed the specified number of the specified achievements?classChecks 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)classChecks if a player has harvested a minimum number of an itemclassDoes the player carry the specified item with the specified itemdata?classCheck if the Player has equipped an item in a specified slotclassDoes the player carry the specified item?classChecks 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.classDoes the player have a pet or sheep?classDoes the player carry the specified item?classChecks whether the player has a shield equippedclassIs there a storable entity in the specified list that has name of the current player as identifier?classIs the player in the specified area?classCheck if a player is a good boy, e.classDoes the player wear (at least a part of) the specified outfit?classChecks if a player has looted a minimum number of item(s).classCondition to check if a player's mana is greater than a numberclassChecks if a player has mined a given number of itemsclassDoes the player owns a item (including the bank)?classChecks if a player has produced a given number of itemsclassCompares an integer value attribution.classChecks if player has visited a list of certain zonesclassChecks if player has visited certain zones in a regionclassWas this quest started but not completed?classWas this quest completed?classIs this quest in this state?classIs this quest either unknown, completed or rejected?classIs this quest not completed?classIs this quest not in this state?classWas this quest not started yet?classIs this quest state smaller than the value in this condition?classWas this quest at least started? See QuestActiveCondition to check that it was started but not completed.classCondition to check if the value in a quest slot is greater than an expected value.classDoes the quest state start with the specified String?classChecks whether the sentence has an error.classIs the specified system property set?classDoes this trigger contain a number?classDid this trigger have additional parameters?classHas 'delay' time passed since the quest was last done? If the quest slot isn't in the expected format, returns trueclassCheck if current system time reached a timestamp stored in a quest slot.classWas one of these trigger phrases said exactly ignoring case? (Use with a ""-trigger in npc.add)classWas one of theses trigger phrases said? (Use with a ""-trigger in npc.add)classWas the trigger phrase a name of an NPC for an unstarted quest in the region? (Use with a ""-trigger in npc.add)classWas a trigger phrase said, which is a produced item of this class? (Use with a ""-trigger in npc.add)classwas the content of a quest slot said?Constructors in games.stendhal.server.entity.npc.condition with annotations of type DevModifierConstructorDescriptionAdminCondition(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.Constructor parameters in games.stendhal.server.entity.npc.condition with annotations of type DevModifierConstructorDescriptionAdminCondition(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.