Uses of Class
games.stendhal.server.entity.player.Player
Packages that use Player
Package
Description
Actions are commands send from the clients to the server.
Player groups.
the scripting backend.
Lua scripting interface.
Entities are all the interactive objects of the gaming world
(including players, NPCs, creatures, items, signs, chests, portals, ...)
This package contains conditions frequently used in quests.
Events are notifications send from the server to the clients.
(C) Copyright 2003-2010 - Stendhal *
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version.
logic for Ados city wall.
Deathmatch: Actions for SpeakerNPCs and internal handling.
Interactive scripts that high level admins can invoke.
-
Uses of Player in games.stendhal.server.actions
Methods in games.stendhal.server.actions with parameters of type PlayerModifier and TypeMethodDescriptionprotected booleanUseAction.isItemBoundToOtherPlayer(Player player, RPObject object) Make sure nobody uses items bound to someone else.static booleanItemAccessPermissions.mayAccessContainedEntity(Player player, Entity entity) Check if a player may access the location of a contained item.voidprocesses the requested action.voidvoidvoidprocesses the requested action.voidvoidvoidChanges Player's outfit to the value provided in action.voidvoidvoidprocesses the requested action.void -
Uses of Player in games.stendhal.server.actions.admin
Methods in games.stendhal.server.actions.admin with parameters of type PlayerModifier and TypeMethodDescriptionstatic voidGhostModeAction.activateGhostmode(Player player) activtes ghostmode and makes the player invisible to monsters.protected final Entityget the Entity-object of the specified target.protected final EntityAdministrationAction.getTargetAnyZone(Player player, RPAction action) static booleanAdministrationAction.isPlayerAllowedToExecuteAdminCommand(Player player, String command, boolean verbose) final voidvoidprotected abstract voidprotected voidvoidprotected voidprotected voidvoidvoidvoidprotected voidprotected voidvoidvoidprotected voidvoidperforms the remote view actionvoidvoidvoidvoidvoidvoidvoidvoid -
Uses of Player in games.stendhal.server.actions.attack
Methods in games.stendhal.server.actions.attack with parameters of type Player -
Uses of Player in games.stendhal.server.actions.buddy
Methods in games.stendhal.server.actions.buddy with parameters of type PlayerModifier and TypeMethodDescriptionvoidHandle a Grumpy action.Constructors in games.stendhal.server.actions.buddy with parameters of type Player -
Uses of Player in games.stendhal.server.actions.chat
Methods in games.stendhal.server.actions.chat with parameters of type PlayerModifier and TypeMethodDescriptionvoidvoidchanges away status depending on existence of MESSAGE in action.voidvoidsends a message to the groupvoidvoidvoidSends the command to store the message and starts waiting for the results.void -
Uses of Player in games.stendhal.server.actions.equip
Fields in games.stendhal.server.actions.equip declared as PlayerModifier and TypeFieldDescriptionprotected final PlayerMoveableObject.playerPlayer to notify about problems.Methods in games.stendhal.server.actions.equip with parameters of type PlayerModifier and TypeMethodDescriptionprotected voidDropAction.execute(Player player, RPAction action, games.stendhal.server.actions.equip.SourceObject source) protected voidEquipAction.execute(Player player, RPAction action, games.stendhal.server.actions.equip.SourceObject source) protected abstract voidEquipmentAction.execute(Player player, RPAction action, games.stendhal.server.actions.equip.SourceObject source) static EntityEquipUtil.getEntityFromId(Player player, int objectId) Gets the object for the given id.voidhandle movement of items.voidvoidConstructors in games.stendhal.server.actions.equip with parameters of type Player -
Uses of Player in games.stendhal.server.actions.move
Methods in games.stendhal.server.actions.move with parameters of type PlayerModifier and TypeMethodDescriptionvoidBegin walking.voidvoidvoidvoidEnable/Disable continuous movement.voidhandles the move to actionvoid -
Uses of Player in games.stendhal.server.actions.pet
Methods in games.stendhal.server.actions.pet with parameters of type Player -
Uses of Player in games.stendhal.server.actions.query
Methods in games.stendhal.server.actions.query with parameters of type PlayerModifier and TypeMethodDescriptionvoidvoidprocesses the requested action.voidvoidprocesses the requested action.voidprocesses the requested action.voidvoidprocesses the requested action.void -
Uses of Player in games.stendhal.server.actions.spell
Methods in games.stendhal.server.actions.spell with parameters of type Player -
Uses of Player in games.stendhal.server.actions.validator
Methods in games.stendhal.server.actions.validator with parameters of type PlayerModifier and TypeMethodDescriptionActionAttributesExist.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionSenderNotGagged.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionSenderNotInJail.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionSenderUseChatBucket.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionTargetNotAway.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionTargetNotGrumpyTowardsSender.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionTargetNotIgnoringSender.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionTargetOnline.validate(Player player, RPAction action, ActionData data) validates an RPAction.validates an RPAction.ActionValidation.validate(Player player, RPAction action, ActionData data) validates an RPAction.ActionValidator.validate(Player player, RPAction action, ActionData data) validates an RPAction.ExtractEntityValidator.validate(Player player, RPAction action, ActionData data) ItemMovementInZoneAllowed.validate(Player player, RPAction action, ActionData data) validates an RPAction.SlotVisibleIfEntityContained.validate(Player player, RPAction action, ActionData data) validates an RPAction.ZoneNotChanged.validate(Player player, RPAction action, ActionData data) booleanActionValidation.validateAndInformPlayer(Player player, RPAction action) validates an RPAction and tells the player about validation issues.booleanActionValidation.validateAndInformPlayer(Player player, RPAction action, ActionData data) validates an RPAction and tells the player about validation issues. -
Uses of Player in games.stendhal.server.constants
Methods in games.stendhal.server.constants with parameters of type PlayerModifier and TypeMethodDescriptionstatic voidStandardMessages.changedQuestState(Player admin, Player player, String questName, String oldState, String newState) Messages admin and player when admin makes a change to player's quest state.static StringStandardMessages.excessParameter(Player target) Script or command executed with too many parameters.static StringStandardMessages.excessParameter(Player target, String cmd) Script or command executed with too many parameters.static StringStandardMessages.missingParameter(Player target) Script or command executed with too few parameters.static StringStandardMessages.missingParameter(Player target, String cmd) Script or command executed with too few parameters.static StringStandardMessages.missingParamValue(Player target, String param) Command parameter requires an additional value parameter.static StringStandardMessages.paramMustBeNumber(Player target) Script or command executed with unacceptable parameter type.static StringStandardMessages.paramMustBeNumber(Player target, String param) Script or command executed with unacceptable parameter type.static StringStandardMessages.playerNotOnline(Player target, String subject) Specified player was not found online.static StringStandardMessages.unknownCommand(Player target, String cmd) Script or command executed with unacceptable parameter.static StringStandardMessages.unknownParameter(Player target, String param) Script or command executed with unacceptable parameter. -
Uses of Player in games.stendhal.server.core.engine
Methods in games.stendhal.server.core.engine that return PlayerModifier and TypeMethodDescriptionFinds an online player with a specific name.Methods in games.stendhal.server.core.engine that return types with arguments of type PlayerModifier and TypeMethodDescriptionPlayerList.getAllPlayers()gets a mutable list of all playersStendhalRPZone.getPlayers()Gets all players in this zone.Methods in games.stendhal.server.core.engine with parameters of type PlayerModifier and TypeMethodDescriptionvoidadds a playervoidAdds an object to the ground.voidItemLogger.destroyOnLogin(Player player, RPSlot slot, RPObject item) voidItemLogger.displace(Player player, PassiveEntity item, StendhalRPZone zone, int oldX, int oldY, int x, int y) voidvoidItemLogger.equipAction(Player player, Entity entity, String[] sourceInfo, String[] destInfo) voidItemLogger.loadOnLogin(Player player, RPSlot slot, Item item) voidStendhalRPRuleProcessor.notifyOnlineStatus(boolean isOnline, Player playerToNotifyAbout) Notifies buddies about going online/offline.voidTutorialRunner.onLoggedIn(Player player) Initializes tutorial sequence if player has not completed tutorial quest.voidTutorialRunner.onLoggedOut(Player player) Removes tutorial zone from world.voidDataProvider.provideData(Player player, String version) sends data to the client, if availablebooleanremoves a playervoidStendhalRPRuleProcessor.removePlayerText(Player player) Method parameters in games.stendhal.server.core.engine with type arguments of type PlayerModifier and TypeMethodDescriptionvoidPlayerList.forAllPlayersExecute(Task<Player> task) Calls the execute method of task for each player in this List.voidPlayerList.forFilteredPlayersExecute(Task<Player> task, FilterCriteria<Player> filter) Calls the execute method of task for all player in this list that return true in filter.voidPlayerList.forFilteredPlayersExecute(Task<Player> task, FilterCriteria<Player> filter) Calls the execute method of task for all player in this list that return true in filter. -
Uses of Player in games.stendhal.server.core.engine.db
Methods in games.stendhal.server.core.engine.db with parameters of type PlayerModifier and TypeMethodDescriptionprotected voidStendhalWebsiteDAO.insertIntoCharStats(DBTransaction transaction, Player player, Timestamp timestamp) Insert statistics information about a new playervoidStendhalBuddyDAO.saveRelations(DBTransaction transaction, String charname, Player player) saves the buddy list for the specified charnameprotected intStendhalWebsiteDAO.updateCharStats(DBTransaction transaction, Player player, Timestamp timestamp) updates the statistics information about a player -
Uses of Player in games.stendhal.server.core.engine.dbcommand
Methods in games.stendhal.server.core.engine.dbcommand that return PlayerModifier and TypeMethodDescriptionGetPostmanMessagesCommand.getPlayer()To access the player sending the queryQueryCanonicalCharacterNamesCommand.getPlayer()To access the player sending the queryReadAchievementsForPlayerCommand.getPlayer()ReadPendingAchievementDetailsCommand.getPlayer()Constructors in games.stendhal.server.core.engine.dbcommand with parameters of type PlayerModifierConstructorDescriptionGetPostmanMessagesCommand(Player player) creates a new GetPostmanMessagesCommandLogTradeEventCommand(Player player, Item item, int quantity, int price) logs a trade eventQueryCanonicalCharacterNamesCommand(Player player, Collection<String> namesToCheck) Creates a new QueryCanonicalCharacterNamesCommand. -
Uses of Player in games.stendhal.server.core.engine.listener
Methods in games.stendhal.server.core.engine.listener with parameters of type PlayerModifier and TypeMethodDescriptionvoidUpdatePlayerOnlineLogoutListener.onLoggedOut(Player player) -
Uses of Player in games.stendhal.server.core.engine.transformer
Methods in games.stendhal.server.core.engine.transformer that return PlayerMethods in games.stendhal.server.core.engine.transformer with parameters of type PlayerModifier and TypeMethodDescriptionvoidPlayerTransformer.convertOldfeaturesList(Player player) protected static booleanPlayerTransformer.placeAnimalIntoWorld(DomesticAnimal animal, Player player) Places a domestic animal in the world.static voidPlayerTransformer.placePlayerIntoWorldOnLogin(RPObject object, Player player) Places the player (and his/her sheep if there is one) into the world on login.static voidPlayerTransformer.placeSheepAndPetIntoWorld(Player player) -
Uses of Player in games.stendhal.server.core.events
Fields in games.stendhal.server.core.events declared as PlayerMethods in games.stendhal.server.core.events with parameters of type PlayerModifier and TypeMethodDescriptionstatic voida player who stayed another minute in game.static voidplayer got attacked.static voidTutorialNotifier.equippedByNPC(Player player, Item item) player got something given from an equip item action of an npcstatic voidTutorialNotifier.killedPlayer(Player player) player killed another player.static voidTutorialNotifier.killedSomething(Player player) player killed something.static voidLogin.static voidplayer got private messagedstatic voidmoving.static voidTutorialNotifier.newrelease(Player player) player > level 2 logged in for new release.voidnotifies about a teleportvoidLoginListener.onLoggedIn(Player player) Is called after a player logged into the game.voidLogoutListener.onLoggedOut(Player player) Called when a player has logged out.voidLoginNotifier.onPlayerLoggedIn(Player player) This method is invoked by Player.create().voidLogoutNotifier.onPlayerLoggedOut(Player player) This method is invoked by TODOvoidTeleportListener.onTeleport(Player player, boolean playerAction) This method is called when a player teleportsstatic voidplayer got poisoned.static voidTutorialNotifier.zoneChange(Player player, String sourceZone, String destinationZone) Zone changes.static voidZoneNotifier.zoneChange(Player player, String sourceZone, String destinationZone) Zone changes.Constructors in games.stendhal.server.core.events with parameters of type PlayerModifierConstructorDescriptionDelayedPlayerTextSender(Player player, String message, int seconds) Creates a new private message type DelayedPlayerTextSender.DelayedPlayerTextSender(Player player, String message, NotificationType type, int seconds) Creates a new DelayedPlayerTextSender.GuaranteedDelayedPlayerTextSender(String source, Player player, String message, int seconds) Creates a new GuaranteedDelayedPlayerTextSender. -
Uses of Player in games.stendhal.server.core.rp
Methods in games.stendhal.server.core.rp with parameters of type PlayerModifier and TypeMethodDescriptionStendhalQuestSystem.getCompletedQuests(Player player) Gets a list of completed quests.StendhalQuestSystem.getCompletedQuests(Player player, boolean repeatIsCompleted) Gets a list of completed quests.StendhalQuestSystem.getIncompleteQuests(Player player, String region) gets a list of incomplete quests in a specified regionStendhalQuestSystem.getNPCNamesForUnstartedQuestsInRegionForLevel(Player player, String region) gets a list of the unique npc names for unstarted quests in a specified regionStendhalQuestSystem.getOpenQuests(Player player) gets a list of open questsStendhalQuestSystem.getQuestDescription(Player player, String questName) gets the description of a questStendhalQuestSystem.getQuestDescriptionForUnstartedQuestInRegionFromNPCName(Player player, String region, String name) Gets quest descriptions for unstarted quests in a specified region matching a specific npc name.StendhalQuestSystem.getQuestLevelWarning(Player player, String questName) If the quest is too dangerous, add a warning unless the player has already completed it.StendhalQuestSystem.getQuestProgressDetails(Player player, String questName) gets details on the progress of the questStendhalQuestSystem.getRepeatableQuests(Player player) Get the list of quests a player has completed, and can now do again.creates a report on a specified quest for a specified playerStendhalQuestSystem.listQuests(Player player) lists all quest the player knows about, including open and completed quests.StendhalQuestSystem.listQuestsStates(Player player) dumps the internal quest states for the specified player.static booleanStendhalRPAction.playerAttack(Player player, RPEntity defender) Lets the attacker try to attack the defender.static voidStendhalRPAction.startAttack(Player player, RPEntity victim) Do logic for starting an attack on an entity.static voidStendhalRPAction.transferContent(Player player) Send the content of the zone the player is in to the client.static voidStendhalRPAction.transferContent(Player player, List<TransferContent> contents) Transfers arbritary content.static voidStendhalQuestSystem.updatePlayerQuests(Player player) -
Uses of Player in games.stendhal.server.core.rp.achievement
Methods in games.stendhal.server.core.rp.achievement with parameters of type PlayerModifier and TypeMethodDescriptionvoidAchievementNotifier.awardAchievementIfNotYetReached(Player player, String achievementIdentifier) Award a player with an achievement that wasn't yet reached by the player (used for example in the wishing well)booleanAchievement.isFulfilled(Player p) Check if a player has fulfilled this achievementvoidcheck all achievements for a player that belong to the age categoryvoidAchievementNotifier.onAtkChange(Player player) voidAchievementNotifier.onDefChange(Player player) voidAchievementNotifier.onFinishDeathmatch(Player player) check all achievements for a player that are related to deathmatchvoidAchievementNotifier.onFinishQuest(Player player) check all achievements for a player that are relevant on finishing a questvoidAchievementNotifier.onItemLoot(Player player) check all achievements for a player that belong to the item categoryvoidchecks all achievements for a player that should be checked when a player kills sthvoidAchievementNotifier.onLevelChange(Player player) checks all for level change relevant achievements for a playervoidChecks on login of a player which achievements the player has reached and gives a summarizing messagevoidCheck all achievements for a player that belong to the obtain category.voidAchievementNotifier.onProduction(Player player) check all achievements for a player that belong to the production categoryvoidAchievementNotifier.onRatkChange(Player player) voidCheck all achievements for player that beling to the commerce category.voidAchievementNotifier.onZoneEnter(Player player) check all achievements for a player that belong to the zone category -
Uses of Player in games.stendhal.server.core.rp.achievement.condition
Methods in games.stendhal.server.core.rp.achievement.condition with parameters of type PlayerModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean -
Uses of Player in games.stendhal.server.core.rp.equipping
Methods in games.stendhal.server.core.rp.equipping that return PlayerMethods in games.stendhal.server.core.rp.equipping with parameters of type Player -
Uses of Player in games.stendhal.server.core.rp.equipping.builder
Methods in games.stendhal.server.core.rp.equipping.builder with parameters of type PlayerModifier and TypeMethodDescriptionvoidBuildError.build(EquipmentActionData data, Player player, RPAction action) Constructors in games.stendhal.server.core.rp.equipping.builder with parameters of type PlayerModifierConstructorDescriptionEquipmentActionBuilder(Player player, RPAction action) creates a new EquipmentActionBuilder -
Uses of Player in games.stendhal.server.core.rp.group
Methods in games.stendhal.server.core.rp.group with parameters of type PlayerModifier and TypeMethodDescriptionvoidinvites a player to join this group.voidGroupManager.onLoggedIn(Player player) tell the reconnecting client if he is in a groupvoidGroup.sendGroupChangeEvent(Player player) tells the player the current status of the group -
Uses of Player in games.stendhal.server.core.rp.pvp
Methods in games.stendhal.server.core.rp.pvp that return PlayerModifier and TypeMethodDescriptionPlayerVsPlayerChallenge.getChallenged()PlayerVsPlayerChallenge.getChallenger()Methods in games.stendhal.server.core.rp.pvp with parameters of type PlayerModifier and TypeMethodDescriptionvoidvoidPlayerVsPlayerChallengeManager.accpetChallenge(Player challenger, Player challenged, int currentTurn) Mark the challenge between challenger and challenged as acceptedvoidPlayerVsPlayerChallengeManager.createChallenge(Player challenger, Player challenged, int currentTurn) Create a new challenge between two players if not yet existing.protected PlayerVsPlayerChallengePlayerVsPlayerChallengeManager.getOpenChallengeForPlayers(Player challenger, Player challenged) Finds an open challenge for the given pair of players if existingbooleanPlayerVsPlayerChallenge.isInvolved(Player player) Checks if a player is involved into this challengevoidPlayerVsPlayerChallengeManager.onLoggedOut(Player player) Remove player's current challenges on log outbooleanPlayerVsPlayerChallengeManager.playersHaveActiveChallenge(Player attacker, Player victim) Constructors in games.stendhal.server.core.rp.pvp with parameters of type PlayerModifierConstructorDescriptionPlayerVsPlayerChallenge(long opened, Player challenger, Player challenged) PlayerVsPlayerChallengeAcceptedTurnListener(Player challenger, Player challenged) PlayerVsPlayerChallengeCreatorTurnListener(Player challenger, Player challenged) -
Uses of Player in games.stendhal.server.core.scripting
Fields in games.stendhal.server.core.scripting declared as PlayerModifier and TypeFieldDescriptionprotected PlayerAbstractAdminScript.adminAdmin player executing script.Methods in games.stendhal.server.core.scripting with parameters of type PlayerModifier and TypeMethodDescriptionvoidvoidExecutes this script.voidbooleanExecutes this script.booleanExecutes this script.booleanvoidScript.load(Player admin, List<String> args, ScriptingSandbox sandbox) Initial load of this script.voidScriptImpl.load(Player admin, List<String> args, ScriptingSandbox sandbox) booleanInitial load of this script.abstract booleanbooleanInitial load of this script.voidbooleanScriptingSandbox.playerIsInZone(Player player, String zoneName) protected voidScriptingSandbox.postExecute(Player player, List<String> args, boolean result) Cleans up execution of the script.protected voidScriptingSandbox.preExecute(Player player, List<String> args) Prepares execution of the script.voidScriptingSandbox.privateText(Player player, String text) voidUnloads this script.voidvoidUnloads this script.voidExecutes this script. -
Uses of Player in games.stendhal.server.core.scripting.lua
Methods in games.stendhal.server.core.scripting.lua that return PlayerModifier and TypeMethodDescriptionLuaScript.getCaller()Retrieves player that called script.Retrieves a logged in Player.Methods in games.stendhal.server.core.scripting.lua with parameters of type PlayerModifier and TypeMethodDescriptionLuaQuestHelper.getCompleted(Player player) LuaQuestHelper.getDescription(Player player, String questName) LuaQuestHelper.getDescriptionForUnstartedInRegionFromNPCName(Player player, String region, String name) LuaQuestHelper.LuaQuest.getFormattedHistory(Player player) LuaQuestHelper.LuaQuest.getHistory(Player player) LuaQuestHelper.getIncomplete(Player player, String region) LuaQuestHelper.getLevelWarning(Player player, String questName) LuaQuestHelper.getNPCNamesForUnstartedInRegionForLevel(Player player, String region) LuaQuestHelper.getProgressDetails(Player player, String questName) LuaQuestHelper.getRepeatable(Player player) booleanLuaQuestHelper.LuaQuest.isCompleted(Player player) booleanLuaQuestHelper.LuaQuest.isRepeatable(Player player) booleanCreates a report on a specified quest for a specified player.List all quests the player knows about.LuaQuestHelper.listStates(Player player) Dumps the internal quest states for the specified player.booleanboolean -
Uses of Player in games.stendhal.server.entity
Methods in games.stendhal.server.entity that return PlayerModifier and TypeMethodDescriptionprotected PlayerRPEntity.entityAsOnlinePlayer(Entity entity) For rewarding killers. -
Uses of Player in games.stendhal.server.entity.creature
Fields in games.stendhal.server.entity.creature declared as PlayerModifier and TypeFieldDescriptionprotected PlayerDomesticAnimal.ownerThe player who owns the domestic animal, or null if the animal is wild.Methods in games.stendhal.server.entity.creature that return PlayerMethods in games.stendhal.server.entity.creature with parameters of type PlayerModifier and TypeMethodDescriptionvoidvoidDeathMatchCreature.setPlayerToReward(Player player) Only this player gets a points reward.Constructors in games.stendhal.server.entity.creature with parameters of type PlayerModifierConstructorDescriptionBabyDragon(Player owner) Creates a new baby dragon that may be owned by a player.BabyDragon(RPObject object, Player owner) Creates a Baby Dragon based on an existing pet RPObject, and assigns it to a player.Creates a new Cat that may be owned by a player.Creates a Cat based on an existing cat RPObject, and assigns it to a player.DomesticAnimal(RPObject object, Player owner) Creates a wild DomesticAnimal based on an existing RPObject, and assigns it to a player.Creates a Pet based on an existing pet RPObject, and assigns it to a player.PurpleDragon(Player owner) Creates a new purple dragon that may be owned by a player.PurpleDragon(RPObject object, Player owner) Creates a Purple Dragon based on an existing pet RPObject, and assigns it to a player.Creates a new Sheep that is owned by a player.Creates a Sheep based on an existing sheep RPObject, and assigns it to a player. -
Uses of Player in games.stendhal.server.entity.item
Methods in games.stendhal.server.entity.item with parameters of type PlayerModifier and TypeMethodDescriptionbooleanCheck if a player may access the slots of this corpsevoidItem.onPickedUp(Player player) voidDice.onPutOnGround(Player player) voidItem.onPutOnGround(Player player) Is called when the item is moved to the ground.protected booleanprotected booleanprotected booleanprotected boolean -
Uses of Player in games.stendhal.server.entity.item.consumption
Methods in games.stendhal.server.entity.item.consumption with parameters of type Player -
Uses of Player in games.stendhal.server.entity.item.scroll
Methods in games.stendhal.server.entity.item.scroll with parameters of type PlayerModifier and TypeMethodDescriptionbooleanbooleanTimedTeleportScroll.teleportBack(Player player) Teleport the player back from the target zone.protected booleanInvitationScroll.teleportTo(String where, Player player) Try to teleport to a marked scroll itemdata style place.protected booleanUse a blank pet scroll.protected booleanUse a [empty] scroll.protected booleanUse a scroll.protected booleanIs invoked when a summon pet scroll is used.protected booleanIs invoked when a summon scroll is used.protected booleanIs invoked when a teleporting scroll is used.protected booleanBalloonScroll.useTeleportScroll(Player player) protected booleanInvitationScroll.useTeleportScroll(Player player) Is invoked when a teleporting scroll is actually used.protected booleanMarkedScroll.useTeleportScroll(Player player) Is invoked when a teleporting scroll is used.protected booleanRainbowBeansScroll.useTeleportScroll(Player player) protected abstract booleanTeleportScroll.useTeleportScroll(Player player) Is invoked when a teleporting scroll is actually used.protected booleanTimedTeleportScroll.useTeleportScroll(Player player) Is invoked when a teleporting scroll is used.protected booleanTimedTeleportScroll.useTeleportScroll(Player player, String targetZoneName, int x, int y, int timeInTurns) Is invoked when a teleporting scroll is used. -
Uses of Player in games.stendhal.server.entity.item.timed
Methods in games.stendhal.server.entity.item.timed with parameters of type PlayerModifier and TypeMethodDescriptionvoidTimedInvisibility.itemFinished(Player player) abstract voidTimedStackableItem.itemFinished(Player player) Called when the used item is finished.booleanabstract booleanCalled when the player uses the item. -
Uses of Player in games.stendhal.server.entity.item.token
Methods in games.stendhal.server.entity.item.token with parameters of type PlayerModifier and TypeMethodDescriptionvoidBoardToken.onPutOnGround(Player player) voidToken.onPutOnGround(Player player) voidToken.TokenMoveListener.onTokenMoved(Player player, T token) a token was moved. -
Uses of Player in games.stendhal.server.entity.mapstuff.area
Fields in games.stendhal.server.entity.mapstuff.area with type parameters of type PlayerModifier and TypeFieldDescriptionprotected WeakReference<Player>OnePlayerArea.occupantRefThe reference to the entity currently in the area.Methods in games.stendhal.server.entity.mapstuff.area that return PlayerMethods in games.stendhal.server.entity.mapstuff.area with parameters of type PlayerModifier and TypeMethodDescriptionvoidNoLoginAreaBehaviour.onLoggedIn(Player player) protected voidOnePlayerArea.setOccupant(Player player) Set the occupant.boolean -
Uses of Player in games.stendhal.server.entity.mapstuff.block
Methods in games.stendhal.server.entity.mapstuff.block with parameters of type Player -
Uses of Player in games.stendhal.server.entity.mapstuff.game
Methods in games.stendhal.server.entity.mapstuff.game with parameters of type PlayerModifier and TypeMethodDescriptionvoidGameBoard.onTokenMoved(Player player, BoardToken token) handling of moved tokenvoidsets the currently playing playerbooleanTicTacToeMovementValidatorChain.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) -
Uses of Player in games.stendhal.server.entity.mapstuff.game.movevalidator
Methods in games.stendhal.server.entity.mapstuff.game.movevalidator with parameters of type PlayerModifier and TypeMethodDescriptionbooleanGameIsActiveValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) booleanMovementSourceIsHomeValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) booleanMovementTargetEmptyValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) booleanMovementTargetIsOnBoardValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) booleanMoveValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) validates a movebooleanPlayerIsParticipatingValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) booleanPlayerIsPlayingRightTokenTypeValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) booleanPlayersTurnValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex) -
Uses of Player in games.stendhal.server.entity.mapstuff.office
Constructors in games.stendhal.server.entity.mapstuff.office with parameters of type Player -
Uses of Player in games.stendhal.server.entity.mapstuff.portal
Methods in games.stendhal.server.entity.mapstuff.portal with parameters of type PlayerModifier and TypeMethodDescriptionbooleanAccessCheckingPortal.playerIsPortalUnlocked(Player player, Portal portal) protected booleanUse the portal.protected booleanUse the portal.protected booleanUse the portal. -
Uses of Player in games.stendhal.server.entity.mapstuff.spawner
Methods in games.stendhal.server.entity.mapstuff.spawner with parameters of type PlayerModifier and TypeMethodDescriptionvoidGrowingPassiveEntityRespawnPoint.onItemPickedUp(Player player) voidPassiveEntityRespawnPoint.onItemPickedUp(Player player) voidSheepFood.onItemPickedUp(Player player) -
Uses of Player in games.stendhal.server.entity.mapstuff.useable
Fields in games.stendhal.server.entity.mapstuff.useable with type parameters of type PlayerModifier and TypeFieldDescriptionprotected WeakReference<Player>PlayerActivityEntity.Activity.refMethods in games.stendhal.server.entity.mapstuff.useable that return PlayerMethods in games.stendhal.server.entity.mapstuff.useable with parameters of type PlayerModifier and TypeMethodDescriptionprotected voidPlayerActivityEntity.activityDone(Player player) Process the results of the activity.protected booleanPlayerActivityEntity.isPenalized(Player player) Check for excessive usageprotected booleanCoalSource.isPrepared(Player player) Decides if the activity can be done.protected booleanFishSource.isPrepared(Player player) Decides if the activity can be done.protected booleanGoldSource.isPrepared(Player player) Decides if the activity can be done.protected abstract booleanPlayerActivityEntity.isPrepared(Player player) Decides if the activity can be done.protected booleanWaterSpringSource.isPrepared(Player player) Decides if the activity can be done.protected booleanWellSource.isPrepared(Player player) Decides if the activity can be done.protected booleanCoalSource.isSuccessful(Player player) Decides if the activity was successful.protected booleanFishSource.isSuccessful(Player player) Decides if the activity was successful.protected booleanGoldSource.isSuccessful(Player player) Decides if the activity was successful.protected abstract booleanPlayerActivityEntity.isSuccessful(Player player) Decides if the activity was successful.protected booleanWaterSpringSource.isSuccessful(Player player) Decides if the activity was successful.protected booleanWellSource.isSuccessful(Player player) Decides if the activity was successful.protected voidCoalSource.onFinished(Player player, boolean successful) Called when the activity has finished.protected voidFishSource.onFinished(Player player, boolean successful) Called when the activity has finished.protected voidGoldSource.onFinished(Player player, boolean successful) Called when the activity has finished.protected abstract voidPlayerActivityEntity.onFinished(Player player, boolean successful) Called when the activity has finished.protected voidWaterSpringSource.onFinished(Player player, boolean successful) Called when the activity has finished.protected voidWellSource.onFinished(Player player, boolean successful) Called when the activity has finished.protected voidCalled when the activity has started.protected voidCalled when the activity has started.protected voidCalled when the activity has started.protected abstract voidCalled when the activity has started.protected voidCalled when the activity has started.protected voidCalled when the activity has started.Constructors in games.stendhal.server.entity.mapstuff.useable with parameters of type Player -
Uses of Player in games.stendhal.server.entity.npc
Methods in games.stendhal.server.entity.npc with parameters of type PlayerModifier and TypeMethodDescriptionvoidChatAction.fire(Player player, Sentence sentence, EventRaiser npc) booleanvoidbooleanSpeakerNPC.mayGreetingConditionBeExecuted(Object owner, Player player, Sentence sentence) checks that there are no other greeting transitions with higher priorityvoid -
Uses of Player in games.stendhal.server.entity.npc.action
Methods in games.stendhal.server.entity.npc.action with parameters of type PlayerModifier and TypeMethodDescriptionvoidAddItemToCollectionAction.fire(Player player, Sentence sentence, EventRaiser npc) voidChangePlayerOutfitAction.fire(Player player, Sentence sentence, EventRaiser npc) voidChangePlayerOutfitAndPreserveTempAction.fire(Player player, Sentence sentence, EventRaiser npc) voidCollectRequestedItemsAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidComplainAboutSentenceErrorAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidConditionalAction.fire(Player player, Sentence sentence, EventRaiser npc) voidCreateSlotAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDecreaseKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidDisableFeatureAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropFirstOwnedItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropItemdataItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidDropRecordedItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEnableFeatureAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEquipItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEquipRandomAmountOfItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidEquipRandomItemAction.fire(Player player, Sentence sentence, EventRaiser npc) voidExamineChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidIncreaseItemExchangeAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncreaseKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncreaseXPAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncreaseXPDependentOnLevelAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidIncrementQuestAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidInflictStatusOnNPCAction.fire(Player player, Sentence sentence, EventRaiser npc) voidJailAction.fire(Player player, Sentence sentence, EventRaiser npc) voidListProducedItemDetailAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidListProducedItemsOfClassAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidLoadSignFromHallOfFameAction.fire(Player player, Sentence sentence, EventRaiser npc) voidMultipleActions.fire(Player player, Sentence sentence, EventRaiser npc) voidNPCEmoteAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidNPCSetDirection.fire(Player player, Sentence sentence, EventRaiser npc) voidOutputQuestSlotAction.fire(Player player, Sentence sentence, EventRaiser npc) voidPlaySoundAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidRandomAction.fire(Player player, Sentence sentence, EventRaiser npc) voidRemoveStorableEntityAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidResetBlockChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidSayNPCNamesForUnstartedQuestsAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayRequiredItemAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayRequiredItemsFromCollectionAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayTextAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayTimeRemainingAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayTimeRemainingUntilTimeReachedAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSayUnstartedQuestDescriptionFromNPCNameAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSendPrivateMessageAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetHallOfFameToAgeDiffAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestAndModifyKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToFutureRandomTimeStampAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToPlayerAgeAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToTimeStampAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidSetQuestToYearAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidStartItemsCollectionWithLimitAction.fire(Player player, Sentence sentence, EventRaiser npc) voidStartRecordingKillsAction.fire(Player player, Sentence sentence, EventRaiser npc) voidStartRecordingRandomItemCollectionAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidStoreMessageAction.fire(Player player, Sentence sentence, EventRaiser npc) voidTargetNPCSayTextAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidTeleportAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc) voidMultiProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser) voidProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser) voidRepairingBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc) voidRepairingBehaviourAction.fireRequestOK(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc) -
Uses of Player in games.stendhal.server.entity.npc.behaviour.impl
Methods in games.stendhal.server.entity.npc.behaviour.impl with parameters of type PlayerModifier and TypeMethodDescriptionbooleanMultiProducerBehaviour.askForResources(ItemParserResult res, EventRaiser npc, Player player) At the time the order is made, Tries to take all the resources required to produce amount units of the product from the player.booleanProducerBehaviour.askForResources(ItemParserResult res, EventRaiser npc, Player player) Tries to take all the resources required to produce amount units of the product from the player.MultiProducerBehaviour.getApproximateRemainingTime(Player player) Create a text representing a saying of approximate time until the order being produced is readyProducerBehaviour.getApproximateRemainingTime(Player player) Create a text representing a saying of approximate time until the order being produced is readySeedSellerBehaviour.getAskedItem(String askedItem, Player player) SellerBehaviour.getAskedItem(String askedItem, Player player) intMerchantBehaviour.getCharge(ItemParserResult res, Player player) Returns the price of the desired amount of the chosen item.protected intMultiProducerBehaviour.getMaximalAmount(String productName, Player player) At the time the order is made, Checks how many items the NPC can offer to produce based on what the player is carryingprotected intProducerBehaviour.getMaximalAmount(Player player) Checks how many items the NPC can offer to produce based on what the player is carryingintMultiProducerBehaviour.getNumberOfProductItems(Player player) Checks how many items are being produced for this particular orderintProducerBehaviour.getNumberOfProductItems(Player player) Checks how many items are being produced on this particular orderintCalculate the price for the given itemvoidMultiProducerBehaviour.giveProduct(EventRaiser npc, Player player) At the time the player returns to pick up the finished product, check that the NPC is done with the order.voidProducerBehaviour.giveProduct(EventRaiser npc, Player player) This method is called when the player returns to pick up the finished product.voidRestores the given player's health to the maximum possible at the player's current level.booleanMultiProducerBehaviour.isOrderReady(Player player) Is the order ready for this player?booleanProducerBehaviour.isOrderReady(Player player) Is the order ready for this player?protected voidPuts the outfit off, but only if the player hasn't taken it off himself already.protected voidBuyerBehaviour.payPlayer(ItemParserResult res, Player player) Gives the money for the deal to the player.voidOutfitChangerBehaviour.putOnOutfit(Player player, String outfitType) Tries to get back the bought/lent outfit and give the player his original outfit back.booleanOutfitChangerBehaviour.returnToOriginalOutfit(Player player) Tries to get back the bought/lent outfit and give the player his original outfit back.booleanBuyerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the deal that is described in BehaviourResult.booleanMultiProducerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser npc, Player player) At the time the order is made, tries to take all the resources required to produce the agreed amount of the chosen product from the player.booleanOutfitChangerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().booleanProducerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser npc, Player player) Tries to take all the resources required to produce the agreed amount of the product from the player.booleanRepairerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) booleanSellerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().abstract booleanTransactionBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player) Transacts the deal that is described in BehaviourResult.protected voidBuyerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res) Updates stored information about Player-NPC commerce transactions.protected voidOutfitChangerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res) Updates stored information about Player-NPC commerce transactions.protected voidSellerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res) Updates stored information about Player-NPC commerce transactions.booleanOutfitChangerBehaviour.wearsOutfitFromHere(Player player) Checks whether or not the given player is currently wearing an outfit that may have been bought/lent from an NPC with this behaviour. -
Uses of Player in games.stendhal.server.entity.npc.behaviour.impl.prices
Methods in games.stendhal.server.entity.npc.behaviour.impl.prices with parameters of type PlayerModifier and TypeMethodDescriptionintFixedPricePriceCalculationStrategy.calculatePrice(Item i, Player p) intFixedPricePriceCalculationStrategy.calculatePrice(String item, Player p) intPriceCalculationStrategy.calculatePrice(Item i, Player p) Calculate a priceintPriceCalculationStrategy.calculatePrice(String item, Player p) calculate a price based on the item's nameintRepairingPriceCalculationStrategy.calculatePrice(Item i, Player p) intRepairingPriceCalculationStrategy.calculatePrice(String item, Player p) -
Uses of Player in games.stendhal.server.entity.npc.behaviour.journal
Methods in games.stendhal.server.entity.npc.behaviour.journal with parameters of type PlayerModifier and TypeMethodDescriptionProducerRegister.getProductionDescription(Player player, String npcName) gets description of the productionProducerRegister.getProductionDetails(Player player, String npcName) gets details on the progress of the productionProducerRegister.getWorkingProducerNames(Player player) gets the names of all the NPCs to whom the player has asked to produce somethingProducerRegister.listWorkingProducers(Player player) -
Uses of Player in games.stendhal.server.entity.npc.condition
Methods in games.stendhal.server.entity.npc.condition with parameters of type PlayerModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanreturn true if player have killed proper creature numbers.booleanreturn true if player have killed proper sum of creatures.booleanreturn true if player need update, or if required update was unsuccessful.booleanbooleanbooleanDoes the checking for number of creatures killedbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean -
Uses of Player in games.stendhal.server.entity.npc.fsm
Methods in games.stendhal.server.entity.npc.fsm with parameters of type PlayerModifier and TypeMethodDescriptionvoidEngine.addChatOptionsEvent(Player player) voidPostTransitionAction.fire(Player player, Sentence sentence, EventRaiser raiser) does some action after a transition.booleancan the transition be done?booleanTransition.isConditionFulfilled(Player player, Sentence sentence, SpeakerNPC npc) Checks whether this transition's condition is fulfilled.booleanDo one transition of the finite state machine.booleanDo one transition of the finite state machine.booleanDo one transition of the finite state machine with debugging output and reset of the previous response. -
Uses of Player in games.stendhal.server.entity.npc.quest
Methods in games.stendhal.server.entity.npc.quest with parameters of type PlayerModifier and TypeMethodDescriptionvoidCalled when history is requested.BuiltQuest.getHistory(Player player) booleanBuiltQuest.isRepeatable(Player player) -
Uses of Player in games.stendhal.server.entity.player
Methods in games.stendhal.server.entity.player that return PlayerModifier and TypeMethodDescriptionstatic PlayerPlayer.createZeroLevelPlayer(String characterName, RPObject template) Methods in games.stendhal.server.entity.player with parameters of type PlayerModifier and TypeMethodDescriptionstatic booleanGagManager.checkIsGaggedAndInformPlayer(Player player) Like isGagged(player) but informs the player in case it is gagged.static voidvoidlongGagManager.getTimeRemaining(Player criminal) Gets time remaining in milliseconds.voidJail.grantParoleIfPlayerWasAPrisoner(Player player) Destroy the arrest warrant so that the player is not jailed again on next login.protected voidstatic booleanIs player gagged?static booleanIs player in a jail cell? Ignores visitors outside of cells.voidPlayer.offerTrade(Player partner) offers the other player to start a trading sessionvoidGagManager.onLoggedIn(Player player) voidJail.onLoggedIn(Player player) voidReadAchievementsOnLogin.onLoggedIn(Player player) voidReadPostmanMessages.onLoggedIn(Player player) Execute command to get messages for the player when they log invoidUpdatePendingAchievementsOnLogin.onLoggedIn(Player player) voidReadPostmanMessages.readMessages(Player player) voidRemoves a gag.protected voidPlayer.startTrade(Player partner) starts a trade with this partnerbooleanPlayer.teleport(StendhalRPZone zone, int x, int y, Direction dir, Player teleporter) Teleports this player to the given destination.booleanTeleports player to given destination using zoneid string.static voidUpdateConverter.updateKeyring(Player player) Convert keyring feature to keyring item.static voidUpdateConverter.updateQuests(Player player) Update the quest slot to the current version.Constructors in games.stendhal.server.entity.player with parameters of type PlayerModifierConstructorDescriptionPlayerDieer(Player player) PlayerLootedItemsHandler(Player player) Create a new PlayerLootedItemsHandler for a playerPlayerMapAdapter(Player player) a player object to make available using the map interface -
Uses of Player in games.stendhal.server.entity.spell
Methods in games.stendhal.server.entity.spell with parameters of type PlayerModifier and TypeMethodDescriptionvoidCasts this spell if all preconditions are fulfilled: - caster has enough mana - cooldown time expired - caster has the minimum level - target is valid for the spellprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected abstract voidProvides the concrete behaviour of each concrete spell, i.e. -
Uses of Player in games.stendhal.server.entity.spell.effect
Methods in games.stendhal.server.entity.spell.effect with parameters of type PlayerModifier and TypeMethodDescriptionvoidvoidapplies the effectvoidvoidvoidvoidvoid -
Uses of Player in games.stendhal.server.entity.trade
Methods in games.stendhal.server.entity.trade with parameters of type PlayerModifier and TypeMethodDescriptionbooleanMarket.acceptOffer(Offer offer, Player acceptingPlayer) Completes a trade of an offer by transferring item to accepting player and taking the money from himintMarket.countOffersOfPlayer(Player offerer) counts the number of offers, a player has placedMarket.createOffer(Player offerer, Item item, Integer money, Integer number) creates a new offer at the marketMarket.fetchEarnings(Player earner) The earnings for complete trades are paid to the player.booleanMarket.hasEarningsFor(Player player) voidMarket.removeOffer(Offer o, Player p) removes an offer from the market and returns the item to the userbooleanOffer.shouldReward(Player player) Check whether accepting this offer should be rewarder in trade score.Constructors in games.stendhal.server.entity.trade with parameters of type Player -
Uses of Player in games.stendhal.server.events
Constructors in games.stendhal.server.events with parameters of type PlayerModifierConstructorDescriptionBestiaryEvent(Player player) Creates a new bestiary event.BestiaryEvent(Player player, boolean includeRare, boolean includeAbnormal) Creates a new bestiary event.BuddyLoginEvent(Player player) Creates a new online event.BuddyLogoutEvent(Player player) Creates a new offline event.ChatOptionsEvent(SpeakerNPC npc, Player player, ConversationStates currentState) -
Uses of Player in games.stendhal.server.extension
Methods in games.stendhal.server.extension with parameters of type Player -
Uses of Player in games.stendhal.server.maps
Methods in games.stendhal.server.maps with parameters of type Player -
Uses of Player in games.stendhal.server.maps.ados.wall
Methods in games.stendhal.server.maps.ados.wall with parameters of type PlayerModifier and TypeMethodDescriptionstatic booleanDeathmatch.playerInArena(Player player) Checks if player is within boundaries of deathmatch arena. -
Uses of Player in games.stendhal.server.maps.deathmatch
Methods in games.stendhal.server.maps.deathmatch that return types with arguments of type PlayerMethods in games.stendhal.server.maps.deathmatch with parameters of type PlayerModifier and TypeMethodDescriptionbooleanvoidBailAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidDoneAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidLeaveAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidStartAction.fire(Player player, Sentence sentence, EventRaiser raiser) booleanvoidDeathmatchArea.onLoggedIn(Player player) Constructors in games.stendhal.server.maps.deathmatch with parameters of type PlayerModifierConstructorDescriptionDeathmatchEngine(Player player, DeathmatchInfo deathmatchInfo, EventRaiser raiser) Creates a new ScriptAction to handle the deathmatch logic. -
Uses of Player in games.stendhal.server.maps.magic.house1
Constructors in games.stendhal.server.maps.magic.house1 with parameters of type Player -
Uses of Player in games.stendhal.server.maps.nalwor.forest
Methods in games.stendhal.server.maps.nalwor.forest with parameters of type PlayerModifier and TypeMethodDescriptionvoidTrainingArea.endSession(Player player) Teleports player out of archery range training area.booleanArcheryRange.isPlayerInArea(Player player, String zoneid, Rectangle2D area) Checks if entity is within bounds of an area.booleanTrainingArea.meetsLevelCap(Player player, int statLevel) Checks if a player qualifies for training.voidArcheryRange.onLoggedIn(Player player) Actions to take when player logs in.voidTrainingArea.onLoggedIn(Player player) voidArcheryRange.onLoggedOut(Player player) Actions to take when player logs out.voidTrainingArea.onLoggedOut(Player player) voidTrainingArea.startSession(Player player, int trainTime) Sets quest slot state & starts timer for session. -
Uses of Player in games.stendhal.server.maps.northpole
Constructors in games.stendhal.server.maps.northpole with parameters of type Player -
Uses of Player in games.stendhal.server.maps.quests
Fields in games.stendhal.server.maps.quests declared as PlayerMethods in games.stendhal.server.maps.quests with parameters of type PlayerModifier and TypeMethodDescriptionvoidTutorialIsland.dismantleIsland(Player player) protected voidFinishes the quest and teleports the player out.voidCodedMessageFromFinnFarmer.CreateAndSayCodedMessage.fire(Player player, Sentence sentence, EventRaiser npc) booleanCodedMessageFromFinnFarmer.TriggerMightbeACodedMessageCondition.fire(Player player, Sentence sentence, Entity npc) booleanCollectEnemyData.getAnswerForStep(Player player, Creature creature, int step) Retrieves the correct answer for the step.intAbstractQuest.getCompletedCount(Player player) intDailyMonsterQuest.getCompletedCount(Player player) Need to override because slot index value can be string "null".intIQuest.getCompletedCount(Player player) Retrieves number of times player has completed quest.intKillBlordroughs.getCompletedCount(Player player) Checks how many times the player has completed the quest.intKillEnemyArmy.getCompletedCount(Player player) intCollectEnemyData.getCurrentStep(Player player) Retrieves currently active step.CollectEnemyData.getEnemyForStep(Player player, int step) Retrieves enemy name stored in quest slot that player must kill for step.AbstractQuest.getFormattedHistory(Player player) IQuest.getFormattedHistory(Player player) KillMonks.getFormattedHistory(Player player) Gets a list of possible hint-names.AdMemoriaInPortfolio.getHistory(Player player) travel logAdosDeathmatch.getHistory(Player player) AdventureIsland.getHistory(Player player) AGrandfathersWish.getHistory(Player player) BalloonForBobby.getHistory(Player player) Blackjack.getHistory(Player player) BowsForOuchit.getHistory(Player player) ChocolateForElisabeth.getHistory(Player player) CloakCollector.getHistory(Player player) CloakCollector2.getHistory(Player player) CloaksForBario.getHistory(Player player) ClubOfThorns.getHistory(Player player) CodedMessageFromFinnFarmer.getHistory(Player player) CollectEnemyData.getHistory(Player player) CrownForTheWannaBeKing.getHistory(Player player) DailyItemQuest.getHistory(Player player) DailyMonsterQuest.getHistory(Player player) DiceGambling.getHistory(Player player) DragonLair.getHistory(Player player) EasterGiftsForChildren.getHistory(Player player) ElfPrincess.getHistory(Player player) ElvishArmor.getHistory(Player player) EmotionCrystals.getHistory(Player player) FindGhosts.getHistory(Player player) FindJefsMom.getHistory(Player player) FindRatChildren.getHistory(Player player) FishermansLicenseCollector.getHistory(Player player) FishermansLicenseQuiz.getHistory(Player player) FishSoup.getHistory(Player player) FishSoupForHughie.getHistory(Player player) FruitsForCoralia.getHistory(Player player) GoodiesForRudolph.getHistory(Player player) GuessKills.getHistory(Player player) HelpMrsYeti.getHistory(Player player) HelpTomi.getHistory(Player player) HelpWithTheHarvest.getHistory(Player player) HerbsForCarmen.getHistory(Player player) HerbsForJynath.getHistory(Player player) HouseBuying.getHistory(Player player) HungryJoshua.getHistory(Player player) IcecreamForAnnie.getHistory(Player player) ImperialPrincess.getHistory(Player player) IQuest.getHistory(Player player) Gets a the quest history for the given player, written in the first person.JailedBarbarian.getHistory(Player player) JailedDwarf.getHistory(Player player) KanmararnSoldiers.getHistory(Player player) KillBlordroughs.getHistory(Player player) KillDarkElves.getHistory(Player player) KillDhohrNuggetcutter.getHistory(Player player) KillEnemyArmy.getHistory(Player player) KillMonks.getHistory(Player player) KillSpiders.getHistory(Player player) KoboldishTorcibud.getHistory(Player player) LearnAboutKarma.getHistory(Player player) LearnAboutOrbs.getHistory(Player player) LookUpQuote.getHistory(Player player) Marriage.getHistory(Player player) Maze.getHistory(Player player) McPeglegIOU.getHistory(Player player) MealForGroongo.getHistory(Player player) MedicineForTad.getHistory(Player player) MeetBunny.getHistory(Player player) MeetHackim.getHistory(Player player) MeetHayunn.getHistory(Player player) MeetIo.getHistory(Player player) MeetKetteh.getHistory(Player player) MeetMarieHenri.getHistory(Player player) MeetMonogenes.getHistory(Player player) MeetSanta.getHistory(Player player) MeetZynn.getHistory(Player player) MineTownRevivalWeeks.getHistory(Player player) MineTownRevivalWeeksConstruction.getHistory(Player player) MithrilCloak.getHistory(Player player) MixtureForOrtiv.getHistory(Player player) MuseumEntranceFee.getHistory(Player player) NewsFromHackim.getHistory(Player player) ObsidianKnife.getHistory(Player player) PaperChase.getHistory(Player player) RainbowBeans.getHistory(Player player) RestockFlowerShop.getHistory(Player player) ReverseArrow.getHistory(Player player) RingMaker.getHistory(Player player) SadScientist.getHistory(Player player) ScubaLicenseQuiz.getHistory(Player player) SevenCherubs.getHistory(Player player) SheepGrowing.getHistory(Player player) Snowballs.getHistory(Player player) SolveRiddles.getHistory(Player player) Soup.getHistory(Player player) StuffForBaldemar.getHistory(Player player) StuffForVulcanus.getHistory(Player player) SuntanCreamForZara.getHistory(Player player) SuppliesForPhalk.getHistory(Player player) TakeGoldforGrafindle.getHistory(Player player) TheMissingBooks.getHistory(Player player) ThePiedPiper.getHistory(Player player) ToysCollector.getHistory(Player player) TutorialIsland.getHistory(Player player) UltimateCollector.getHistory(Player player) VampireSword.getHistory(Player player) WaterForXhiphin.getHistory(Player player) WeaponsCollector.getHistory(Player player) WeaponsCollector2.getHistory(Player player) WeeklyItemQuest.getHistory(Player player) WizardBank.getHistory(Player player) ZekielsPracticalTestQuest.getHistory(Player player) ZooFood.getHistory(Player player) AbstractQuest.getQuestInfo(Player player) IQuest.getQuestInfo(Player player) function will return information about this questCollectEnemyData.getQuestionForStep(Player player, int step) Retrieves the question that will be asked for the step.CollectEnemyData.getRecordedKillsForStep(Player player, int step) Retrieves original kill count of enemy before quest was started.booleanAbstractQuest.isCompleted(Player player) booleanAdventureIsland.isCompleted(Player player) booleanChocolateForElisabeth.isCompleted(Player player) booleanCollectEnemyData.isCompleted(Player player) booleanElfPrincess.isCompleted(Player player) booleanFishSoupForHughie.isCompleted(Player player) booleanHouseBuying.isCompleted(Player player) booleanIcecreamForAnnie.isCompleted(Player player) booleanIQuest.isCompleted(Player player) Was the quest completed? Note: A quest can be completed without its status being "Done" (e.booleanKillDhohrNuggetcutter.isCompleted(Player player) booleanKillMonks.isCompleted(Player player) booleanKillSpiders.isCompleted(Player player) booleanKoboldishTorcibud.isCompleted(Player player) booleanMealForGroongo.isCompleted(Player player) booleanMeetKetteh.isCompleted(Player player) booleanRainbowBeans.isCompleted(Player player) booleanSevenCherubs.isCompleted(Player player) booleanSnowballs.isCompleted(Player player) booleanAbstractQuest.isRepeatable(Player player) booleanAdventureIsland.isRepeatable(Player player) booleanBalloonForBobby.isRepeatable(Player player) booleanChocolateForElisabeth.isRepeatable(Player player) booleanCodedMessageFromFinnFarmer.isRepeatable(Player player) booleanDailyItemQuest.isRepeatable(Player player) booleanDailyMonsterQuest.isRepeatable(Player player) booleanDragonLair.isRepeatable(Player player) booleanElfPrincess.isRepeatable(Player player) booleanFindJefsMom.isRepeatable(Player player) booleanFindRatChildren.isRepeatable(Player player) booleanFishSoup.isRepeatable(Player player) booleanFishSoupForHughie.isRepeatable(Player player) booleanFruitsForCoralia.isRepeatable(Player player) booleanGoodiesForRudolph.isRepeatable(Player player) booleanGuessKills.isRepeatable(Player player) booleanHelpTomi.isRepeatable(Player player) booleanIcecreamForAnnie.isRepeatable(Player player) booleanIQuest.isRepeatable(Player player) May the quest be repeated?booleanKillBlordroughs.isRepeatable(Player player) booleanKillDhohrNuggetcutter.isRepeatable(Player player) booleanKillEnemyArmy.isRepeatable(Player player) booleanKillMonks.isRepeatable(Player player) booleanKillSpiders.isRepeatable(Player player) booleanKoboldishTorcibud.isRepeatable(Player player) booleanMaze.isRepeatable(Player player) booleanMealForGroongo.isRepeatable(Player player) booleanMuseumEntranceFee.isRepeatable(Player player) booleanRestockFlowerShop.isRepeatable(Player player) booleanSnowballs.isRepeatable(Player player) booleanSoup.isRepeatable(Player player) booleanWaterForXhiphin.isRepeatable(Player player) booleanWeeklyItemQuest.isRepeatable(Player player) booleanZooFood.isRepeatable(Player player) booleanbooleanWas the quest started?booleanCollectEnemyData.isStepDone(Player player, int step) Checks if player has completed a step.booleanAbstractQuest.isVisibleOnQuestStatus(Player player) Denotes whether quest details should be included in travel log.booleanEasterGiftsForChildren.isVisibleOnQuestStatus(Player player) Details are added to travel log if Easter is active or player has completed quest.booleanGoodiesForRudolph.isVisibleOnQuestStatus(Player player) Details are added to travel log if Christmas is active or player has completed quest.booleanIQuest.isVisibleOnQuestStatus(Player player) Denotes whether quest details should be included in travel log.voidMeetSanta.onLoggedIn(Player player) Removes Santa hat if not Christmas.voidReverseArrow.onLoggedIn(Player player) voidWizardBank.onLoggedIn(Player player) voidWizardBank.onLoggedOut(Player player) voidPaperChase.onTeleport(Player player, boolean playerAction) voidReverseArrow.onTokenMoved(Player player, Token token) The player moved a token.voidCloakCollector.rewardPlayer(Player player) protected voidCrownForTheWannaBeKing.rewardPlayer(Player player) Give the player the reward for completing the quest.voidElvishArmor.rewardPlayer(Player player) voidToysCollector.rewardPlayer(Player player) voidWeaponsCollector.rewardPlayer(Player player) voidA player entered the zone.voidTutorialIsland.startTutorialForPlayer(Player player) voidAbstractQuest.updatePlayer(Player player) voidIQuest.updatePlayer(Player player) Constructors in games.stendhal.server.maps.quests with parameters of type Player -
Uses of Player in games.stendhal.server.maps.quests.a_grandfathers_wish
Methods in games.stendhal.server.maps.quests.a_grandfathers_wish with parameters of type PlayerModifier and TypeMethodDescriptionvoidMylingSpawner.onMylingCured(Player player) Handles creating Niall instance when myling is cured.protected boolean -
Uses of Player in games.stendhal.server.maps.quests.antivenom_ring
Methods in games.stendhal.server.maps.quests.antivenom_ring with parameters of type Player -
Uses of Player in games.stendhal.server.maps.quests.captureflag
Methods in games.stendhal.server.maps.quests.captureflag with parameters of type PlayerModifier and TypeMethodDescriptionvoidLeaveCaptureFlagAction.dropAllCTFItems(Player player) drop anything the player is carrying that is ctf-related TODO: probably goes elsewhere - more general support classvoidJoinCaptureFlagAction.fire(Player player, Sentence sentence, EventRaiser npc) voidLeaveCaptureFlagAction.fire(Player player, Sentence sentence, EventRaiser npc) booleanvoidProvideArrowsAction.fire(Player player, Sentence sentence, EventRaiser npc) voidProvideCTFFlagsAction.fire(Player player, Sentence sentence, EventRaiser npc) CaptureFlagQuest.getHistory(Player player) Constructors in games.stendhal.server.maps.quests.captureflag with parameters of type PlayerModifierConstructorDescriptionCaptureFlagUseListener(Player target) creates a new CaptureFlagUseListener -
Uses of Player in games.stendhal.server.maps.quests.houses
Methods in games.stendhal.server.maps.quests.houses with parameters of type PlayerModifier and TypeMethodDescriptionHouseBuyingMain.getHistory(Player player) protected static HousePortalHouseUtilities.getPlayersHouse(Player player) Get the house owned by a player.booleanHouseBuyingMain.isCompleted(Player player) protected static booleanHouseUtilities.playerOwnsHouse(Player player) Check if a player owns a house. -
Uses of Player in games.stendhal.server.maps.quests.logic
Methods in games.stendhal.server.maps.quests.logic with parameters of type PlayerModifier and TypeMethodDescriptionBringListOfItemsQuestLogic.getHistory(Player player) BringListOfItemsQuestLogic.getListOfStillMissingItems(Player player, boolean hash) Returns a list of the names of all items that the given player still has to bring to fulfil the quest.BringOrderedListOfItemsQuestLogic.itemsStillNeeded(Player player) Gets a sentence to be said by the NPC, enumerating the items that still need to be brought.BringOrderedListOfItemsQuestLogic.itemsStillNeededWithHash(Player player) Gets a sentence to be said by the NPC, enumerating the items that still need to be brought.BringOrderedListOfItemsQuestLogic.neededItemsWithAmounts(Player player) Gets a list of items that still need to be brought.booleanBringOrderedListOfItemsQuestLogic.proceedItems(Player player, EventRaiser eventRaiser) Give items to the NPC, in the required order.voidBringListOfItemsQuest.rewardPlayer(Player player) voidBringOrderedListOfItemsQuestLogic.updateQuantitiesInQuestStatus(Player player) Updates the status of the player's quest with the quantities of already brought items. -
Uses of Player in games.stendhal.server.maps.quests.marriage
Methods in games.stendhal.server.maps.quests.marriage with parameters of type Player -
Uses of Player in games.stendhal.server.maps.quests.maze
Methods in games.stendhal.server.maps.quests.maze with parameters of type PlayerModifier and TypeMethodDescriptionstatic LongMazeGenerator.getBestTime(Player player) Retrieves best time from quest slot.protected voidMazeGenerator.rewardPlayer(Player player) Give the player a reward, and notify him. -
Uses of Player in games.stendhal.server.maps.quests.piedpiper
Methods in games.stendhal.server.maps.quests.piedpiper with parameters of type PlayerModifier and TypeMethodDescriptionstatic intTPPQuestHelperFunctions.calculateReward(Player player) function for calculating reward's moneys for playervoidDetailsKillingsAction.fire(Player player, Sentence sentence, EventRaiser mayor) voidRewardPlayerAction.fire(Player player, Sentence sentence, EventRaiser mayor) boolean -
Uses of Player in games.stendhal.server.maps.quests.revivalweeks
Methods in games.stendhal.server.maps.quests.revivalweeks with parameters of type PlayerModifier and TypeMethodDescriptionvoidPhotographerChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidPhotographerSellChatAction.fire(Player player, Sentence sentence, EventRaiser npc) static StringPhotographerNPC.generateUrl(Player player, int i) generates the images url -
Uses of Player in games.stendhal.server.maps.quests.tutorial
Methods in games.stendhal.server.maps.quests.tutorial with parameters of type Player -
Uses of Player in games.stendhal.server.maps.semos.bank
Constructors in games.stendhal.server.maps.semos.bank with parameters of type Player -
Uses of Player in games.stendhal.server.maps.semos.jail
Methods in games.stendhal.server.maps.semos.jail with parameters of type Player -
Uses of Player in games.stendhal.server.maps.semos.plains
Methods in games.stendhal.server.maps.semos.plains with parameters of type PlayerModifier and TypeMethodDescriptionCreatureInfo.getCreatureBasicInfo(Player player, DefaultCreature creature) Get basic information of the creature: initial string + how dangerous the creature is.CreatureInfo.getCreatureInfo(Player player, DefaultCreature creature, int maxLocations, int maxDrops, boolean respawn) get information on a creature.CreatureInfo.getHowDangerous(Player player, DefaultCreature creature, Map<Double, String> dangerLiterals) Get verbal presentation of how dangerous the creature is to the player. -
Uses of Player in games.stendhal.server.maps.semos.tavern.market
Methods in games.stendhal.server.maps.semos.tavern.market with parameters of type PlayerModifier and TypeMethodDescriptionstatic BigDecimalTradingUtility.calculateFee(Player player, int price) calculates the trading fee a player has to pay when selling for a certain pricestatic booleanTradingUtility.canPlayerAffordTradingFee(Player player, int price) checks if a player can afford the trading fee depending on pricevoidExamineOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidFetchEarningsChatAction.fire(Player player, Sentence sentence, EventRaiser npc) booleanvoidProlongOfferHandler.ConfirmProlongOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidProlongOfferHandler.ProlongOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidRemoveOfferHandler.ConfirmRemoveOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidRemoveOfferHandler.RemoveOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc) voidShowOfferItemsChatAction.fire(Player player, Sentence sentence, EventRaiser npc) show a list of all items for which offers exist.voidShowOffersChatAction.fire(Player player, Sentence sentence, EventRaiser npc) static booleanTradingUtility.isPlayerWithinOfferLimit(Player player) checks if a player has not already placed the max number of offersstatic booleanTradingUtility.substractTradingFee(Player player, int price) substracts the trading fee from the player depending on the given price -
Uses of Player in games.stendhal.server.script
Methods in games.stendhal.server.script with parameters of type PlayerModifier and TypeMethodDescriptionvoidAdds a sign.voidAdds a chest.voidRemoves the specified sign.voidRemoves the specified chest.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidexecutes the scriptvoidexecutes the scriptvoidvoidvoidvoidEntitySearch.findByCreatureName(Player player, String targetName) voidEntitySearch.findByZoneName(Player player, String targetName) voidEntitySearch.findNonRespawn(Player player) voidAdminMaker.TeleportAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidAdminMaker.UpgradeAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidBetManager.BetAction.fire(Player player, Sentence sentence, EventRaiser raiser) booleanbooleanvoidDebuggera.SightseeingAction.fire(Player player, Sentence sentence, EventRaiser raiser) voidLists all signs.voidLists all chests.voidAdminMaker.load(Player admin, List<String> args, ScriptingSandbox sandbox) voidBetManager.load(Player admin, List<String> args, ScriptingSandbox sandbox) voidDebuggera.load(Player admin, List<String> args, ScriptingSandbox sandbox) voidHerald.load(Player admin, List<String> args, ScriptingSandbox sandbox) invokes by /script -load Herald.class, placing herald near calling admin.voidMaria.load(Player admin, List<String> args, ScriptingSandbox sandbox) voidFixNegativeHp.onLoggedIn(Player player) ExtendedSummonAt.parseParameters(Player admin, List<String> params) abstract voidprocesses the requested operation on the loaded objectvoidprocesses the requested operation on the loaded objectvoidvoidvoidvoidvoidvoidvoidabstract booleanAbstractOfflineAction.validateParameters(Player admin, List<String> args) validates the parameters, sends an error message, if something is wrong with thembooleanOfflineAdminlevel.validateParameters(Player admin, List<String> args) validates the parameters, sends an error message, if something is wrong with thembooleanOfflineClearSentence.validateParameters(Player admin, List<String> args) Constructors in games.stendhal.server.script with parameters of type PlayerModifierConstructorDescriptionprotectedPlayerPositionListener(Player admin) creates a new PlayerPositionListener. -
Uses of Player in games.stendhal.server.util
Methods in games.stendhal.server.util that return types with arguments of type PlayerMethods in games.stendhal.server.util with parameters of type PlayerModifier and TypeMethodDescriptionstatic EntityEntityHelper.entityFromSlot(Player player, RPAction action) Retrieves a specified item from a slot.static EntityEntityHelper.getEntityByName(Player player, String itemName) gets an entity by name from the players bagstatic EntityEntityHelper.getEntityFromPath(Player player, List<String> path) Get an entity from path.static EntitySlotgets the item slot from an actionintKillsForQuestCounter.remainingKills(Player player, String creature) Tells the number of times the specified player still needs to kill the specified kind of creature in order to fulfill the quest's requirements. -
Uses of Player in games.stendhal.tools.modifer
Methods in games.stendhal.tools.modifer that return PlayerModifier and TypeMethodDescriptionPlayerModifier.loadPlayer(DBTransaction transaction, String characterName) Methods in games.stendhal.tools.modifer with parameters of type PlayerModifier and TypeMethodDescriptionbooleanPlayerModifier.savePlayer(DBTransaction transaction, Player player) -
Uses of Player in utilities
Modifier and TypeFieldDescriptionprotected PlayerLuaTestHelper.playerprotected PlayerZoneAndPlayerTestImpl.playerPlayer object to be used in the test.Modifier and TypeMethodDescriptionstatic PlayerPlayerTestHelper.createPlayer(String name) Create a named player.static PlayerPlayerTestHelper.createPlayerWithOutFit(String name) Modifier and TypeMethodDescriptionstatic booleanAchievementTestHelper.achievementReached(Player player, String achievementId) Checks if the player has reached the achievement.static voidPlayerTestHelper.addEmptySlots(Player player) static voidQuestRunner.doQuestBeerForHayunn(Player player) static voidQuestRunner.doQuestBowsForOuchit(Player player) static voidQuestRunner.doQuestCampfire(Player player) static voidQuestRunner.doQuestChocolateForElisabeth(Player player) static voidQuestRunner.doQuestCodedMessage(Player player) static voidQuestRunner.doQuestDailyMonster(Player player) static voidQuestRunner.doQuestEggsForMarianne(Player player) static voidQuestRunner.doQuestElfPrincess(Player player) static voidQuestRunner.doQuestFindGhosts(Player player) static voidQuestRunner.doQuestFindJefsMom(Player player) static voidQuestRunner.doQuestFindRatKids(Player player) static voidQuestRunner.doQuestFishSoupForHughie(Player player) static voidQuestRunner.doQuestGoodiesForRudolph(Player player) static voidQuestRunner.doQuestGrandfathersWish(Player player) static voidQuestRunner.doQuestHatForMonogenes(Player player) static voidQuestRunner.doQuestHerbsForCarmen(Player player) static voidQuestRunner.doQuestHungryJoshua(Player player) static voidQuestRunner.doQuestIcecreamForAnnie(Player player) static voidQuestRunner.doQuestKillMonks(Player player) static voidQuestRunner.doQuestLearnAboutOrbs(Player player) static voidQuestRunner.doQuestLookBookforCeryl(Player player) static voidQuestRunner.doQuestMealForGroongo(Player player) static voidQuestRunner.doQuestMedicineForTad(Player player) static voidQuestRunner.doQuestMeetBunny(Player player) static voidQuestRunner.doQuestMeetHackim(Player player) static voidQuestRunner.doQuestMeetHayunn(Player player) static voidQuestRunner.doQuestMeetIo(Player player) static voidQuestRunner.doQuestMeetKetteh(Player player) static voidQuestRunner.doQuestMeetMonogenes(Player player) static voidQuestRunner.doQuestMeetSanta(Player player) static voidQuestRunner.doQuestNewsFromHackim(Player player) static voidQuestRunner.doQuestPizzaDelivery(Player player) static voidQuestRunner.doQuestPizzaDelivery(Player player, boolean fast) static voidQuestRunner.doQuestPlinksToy(Player player) static voidQuestRunner.doQuestRestockFlowerShop(Player player) static voidQuestRunner.doQuestSevenCherubs(Player player) static voidQuestRunner.doQuestSheepGrowing(Player player) static voidQuestRunner.doQuestSusi(Player player) static voidQuestRunner.doQuestToysCollector(Player player) static voidPlayerTestHelper.dumpQuests(Player player) static booleanPlayerTestHelper.equipWithItem(Player player, String clazz) Equip the player with the given items.static booleanPlayerTestHelper.equipWithItem(Player player, String clazz, String info) Equip the player with the given item and set the given item string.static booleanPlayerTestHelper.equipWithItemToSlot(Player player, String clazz, String slot) static booleanPlayerTestHelper.equipWithMoney(Player player, int amount) Equip the player with the given amount of money.static booleanPlayerTestHelper.equipWithStackableItem(Player player, String clazz, int amount) Equip the player with the given amount of items.static StringPlayerTestHelper.getPrivateReply(Player player) Query the player's events for private messages.static voidstatic voidPlayerTestHelper.registerPlayer(Player player) Register a player in rule processor and world.static voidPlayerTestHelper.registerPlayer(Player player, StendhalRPZone zone) Register a player in rule processor, world and zone.static voidPlayerTestHelper.registerPlayer(Player player, String zoneName) Register a player in rule processor, world and zone.static voidPlayerTestHelper.removePlayer(Player player) Remove a player from world and rule processor.static voidPlayerTestHelper.setPastTime(Player player, String questSlot, int index, long seconds) Set the (order) time in a quest slot back the specified number of seconds.static voidPlayerTestHelper.unregisterPlayer(Player player, StendhalRPZone zone) Remove a player from rule processor, world and zone. -
Uses of Player in utilities.quest_runner
Methods in utilities.quest_runner with parameters of type PlayerModifier and TypeMethodDescriptionstatic voidPrivateDetectiveStub.doQuestAgnus(Player player) static voidChildrensFriendStub.doQuestAnna(Player player) static voidChildrensFriendStub.doQuestAnnie(Player player) static voidStillBelievingStub.doQuestBunny(Player player) static voidPrivateDetectiveStub.doQuestCarena(Player player) static voidPrivateDetectiveStub.doQuestCherubs(Player player) static voidChildrensFriendStub.doQuestElisabeth(Player player) static voidChildrensFriendStub.doQuestFinn(Player player) static voidChildrensFriendStub.doQuestHughie(Player player) static voidChildrensFriendStub.doQuestJef(Player player) static voidPrivateDetectiveStub.doQuestJef(Player player) static voidChildrensFriendStub.doQuestMarianne(Player player) static voidPrivateDetectiveStub.doQuestNiall(Player player) static voidChildrensFriendStub.doQuestPlink(Player player) static voidChildrensFriendStub.doQuestSally(Player player) static voidStillBelievingStub.doQuestSanta(Player player) static voidChildrensFriendStub.doQuestSusi(Player player) static voidChildrensFriendStub.doQuestTad(Player player)