Uses of Class
games.stendhal.server.entity.player.Player
Package
Description
Actions are commands send from the clients to the server.
Player groups.
the scripting backend.
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.
Deathmatch: Actions for SpeakerNPCs and internal handling.
Interactive scripts that high level admins can invoke.
-
Uses of Player in games.stendhal.server.actions
Modifier and TypeMethodDescriptionprotected boolean
UseAction.isItemBoundToOtherPlayer(Player player, RPObject object)
Make sure nobody uses items bound to someone else.static boolean
ItemAccessPermissions.mayAccessContainedEntity(Player player, Entity entity)
Check if a player may access the location of a contained item.void
processes the requested action.void
void
void
processes the requested action.void
void
void
Changes Player's outfit to the value provided in action.void
void
void
void
processes the requested action.void
-
Uses of Player in games.stendhal.server.actions.admin
Modifier and TypeMethodDescriptionstatic void
GhostModeAction.activateGhostmode(Player player)
activtes ghostmode and makes the player invisible to monsters.protected Entity
get the Entity-object of the specified target.protected Entity
AdministrationAction.getTargetAnyZone(Player player, RPAction action)
static boolean
AdministrationAction.isPlayerAllowedToExecuteAdminCommand(Player player, String command, boolean verbose)
void
void
protected abstract void
protected void
void
protected void
protected void
void
void
void
protected void
protected void
void
void
protected void
void
performs the remote view actionvoid
void
void
void
void
void
void
void
-
Uses of Player in games.stendhal.server.actions.attack
-
Uses of Player in games.stendhal.server.actions.buddy
Modifier and TypeMethodDescriptionvoid
Handle a Grumpy action. -
Uses of Player in games.stendhal.server.actions.chat
Modifier and TypeMethodDescriptionvoid
void
changes away status depending on existence of MESSAGE in action.void
void
sends a message to the groupvoid
void
void
Sends the command to store the message and starts waiting for the results.void
-
Uses of Player in games.stendhal.server.actions.equip
Modifier and TypeFieldDescriptionprotected Player
MoveableObject.player
Player to notify about problems.Modifier and TypeMethodDescriptionprotected void
DropAction.execute(Player player, RPAction action, games.stendhal.server.actions.equip.SourceObject source)
protected void
EquipAction.execute(Player player, RPAction action, games.stendhal.server.actions.equip.SourceObject source)
protected abstract void
EquipmentAction.execute(Player player, RPAction action, games.stendhal.server.actions.equip.SourceObject source)
static Entity
EquipUtil.getEntityFromId(Player player, int objectId)
Gets the object for the given id.void
handle movement of items.void
void
-
Uses of Player in games.stendhal.server.actions.move
Modifier and TypeMethodDescriptionvoid
Begin walking.void
void
void
void
Enable/Disable continuous movement.void
handles the move to actionvoid
-
Uses of Player in games.stendhal.server.actions.pet
-
Uses of Player in games.stendhal.server.actions.query
Modifier and TypeMethodDescriptionvoid
void
processes the requested action.void
void
processes the requested action.void
processes the requested action.void
void
processes the requested action.void
-
Uses of Player in games.stendhal.server.actions.spell
-
Uses of Player in games.stendhal.server.actions.validator
Modifier 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)
boolean
ActionValidation.validateAndInformPlayer(Player player, RPAction action)
validates an RPAction and tells the player about validation issues.boolean
ActionValidation.validateAndInformPlayer(Player player, RPAction action, ActionData data)
validates an RPAction and tells the player about validation issues. -
Uses of Player in games.stendhal.server.core.engine
Modifier and TypeMethodDescriptionFinds an online player with a specific name.Modifier and TypeMethodDescriptionPlayerList.getAllPlayers()
gets a mutable list of all playersStendhalRPZone.getPlayers()
Gets all players in this zone.Modifier and TypeMethodDescriptionvoid
adds a playervoid
Adds an object to the ground.void
ItemLogger.destroyOnLogin(Player player, RPSlot slot, RPObject item)
void
ItemLogger.displace(Player player, PassiveEntity item, StendhalRPZone zone, int oldX, int oldY, int x, int y)
void
void
ItemLogger.equipAction(Player player, Entity entity, String[] sourceInfo, String[] destInfo)
void
ItemLogger.loadOnLogin(Player player, RPSlot slot, Item item)
void
StendhalRPRuleProcessor.notifyOnlineStatus(boolean isOnline, Player playerToNotifyAbout)
Notifies buddies about going online/offline.void
TutorialRunner.onLoggedIn(Player player)
Initializes tutorial sequence if player has not completed tutorial quest.void
TutorialRunner.onLoggedOut(Player player)
Removes tutorial zone from world.void
DataProvider.provideData(Player player, String version)
sends data to the client, if availableboolean
removes a playervoid
StendhalRPRuleProcessor.removePlayerText(Player player)
Modifier and TypeMethodDescriptionvoid
PlayerList.forAllPlayersExecute(Task<Player> task)
Calls the execute method of task for each player in this List.void
PlayerList.forFilteredPlayersExecute(Task<Player> task, FilterCriteria<Player> filter)
Calls the execute method of task for all player in this list that return true in filter.void
PlayerList.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
Modifier and TypeMethodDescriptionprotected void
StendhalWebsiteDAO.insertIntoCharStats(DBTransaction transaction, Player player, Timestamp timestamp)
Insert statistics information about a new playervoid
StendhalBuddyDAO.saveRelations(DBTransaction transaction, String charname, Player player)
saves the buddy list for the specified charnameprotected int
StendhalWebsiteDAO.updateCharStats(DBTransaction transaction, Player player, Timestamp timestamp)
updates the statistics information about a player -
Uses of Player in games.stendhal.server.core.engine.dbcommand
Modifier and TypeMethodDescriptionGetPostmanMessagesCommand.getPlayer()
To access the player sending the queryQueryCanonicalCharacterNamesCommand.getPlayer()
To access the player sending the queryReadAchievementsForPlayerCommand.getPlayer()
ReadPendingAchievementDetailsCommand.getPlayer()
ModifierConstructorDescriptionGetPostmanMessagesCommand(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.ReadAchievementsForPlayerCommand(Player player)
-
Uses of Player in games.stendhal.server.core.engine.listener
Modifier and TypeMethodDescriptionvoid
UpdatePlayerOnlineLogoutListener.onLoggedOut(Player player)
-
Uses of Player in games.stendhal.server.core.engine.transformer
Modifier and TypeMethodDescriptionvoid
PlayerTransformer.convertOldfeaturesList(Player player)
protected static boolean
PlayerTransformer.placeAnimalIntoWorld(DomesticAnimal animal, Player player)
Places a domestic animal in the world.static void
PlayerTransformer.placePlayerIntoWorldOnLogin(RPObject object, Player player)
Places the player (and his/her sheep if there is one) into the world on login.static void
PlayerTransformer.placeSheepAndPetIntoWorld(Player player)
-
Uses of Player in games.stendhal.server.core.events
Modifier and TypeMethodDescriptionstatic void
a player who stayed another minute in game.static void
player got attacked.static void
TutorialNotifier.equippedByNPC(Player player, Item item)
player got something given from an equip item action of an npcstatic void
TutorialNotifier.killedPlayer(Player player)
player killed another player.static void
TutorialNotifier.killedSomething(Player player)
player killed something.static void
Login.static void
player got private messagedstatic void
moving.static void
TutorialNotifier.newrelease(Player player)
player > level 2 logged in for new release.void
notifies about a teleportvoid
LoginListener.onLoggedIn(Player player)
Is called after a player logged into the game.void
LogoutListener.onLoggedOut(Player player)
Called when a player has logged out.void
LoginNotifier.onPlayerLoggedIn(Player player)
This method is invoked by Player.create().void
LogoutNotifier.onPlayerLoggedOut(Player player)
This method is invoked by TODOvoid
TeleportListener.onTeleport(Player player, boolean playerAction)
This method is called when a player teleportsstatic void
player got poisoned.static void
TutorialNotifier.zoneChange(Player player, String sourceZone, String destinationZone)
Zone changes.static void
ZoneNotifier.zoneChange(Player player, String sourceZone, String destinationZone)
Zone changes.ModifierConstructorDescriptionDelayedPlayerTextSender(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
Modifier and TypeMethodDescriptionStendhalQuestSystem.getCompletedQuests(Player player)
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 boolean
StendhalRPAction.playerAttack(Player player, RPEntity defender)
Lets the attacker try to attack the defender.static void
StendhalRPAction.startAttack(Player player, RPEntity victim)
Do logic for starting an attack on an entity.static void
StendhalRPAction.transferContent(Player player)
send the content of the zone the player is in to the client.static void
StendhalRPAction.transferContent(Player player, List<TransferContent> contents)
transfers arbritary contentstatic void
StendhalQuestSystem.updatePlayerQuests(Player player)
-
Uses of Player in games.stendhal.server.core.rp.achievement
Modifier and TypeMethodDescriptionvoid
AchievementNotifier.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)boolean
Achievement.isFulfilled(Player p)
Check if a player has fulfilled this achievementvoid
check all achievements for a player that belong to the age categoryvoid
AchievementNotifier.onAtkChange(Player player)
void
AchievementNotifier.onDefChange(Player player)
void
AchievementNotifier.onFinishDeathmatch(Player player)
check all achievements for a player that are related to deathmatchvoid
AchievementNotifier.onFinishQuest(Player player)
check all achievements for a player that are relevant on finishing a questvoid
AchievementNotifier.onItemLoot(Player player)
check all achievements for a player that belong to the item categoryvoid
checks all achievements for a player that should be checked when a player kills sthvoid
AchievementNotifier.onLevelChange(Player player)
checks all for level change relevant achievements for a playervoid
Checks on login of a player which achievements the player has reached and gives a summarizing messagevoid
Check all achievements for a player that belong to the obtain category.void
AchievementNotifier.onProduction(Player player)
check all achievements for a player that belong to the production categoryvoid
AchievementNotifier.onRatkChange(Player player)
void
Check all achievements for player that beling to the commerce category.void
AchievementNotifier.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
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of Player in games.stendhal.server.core.rp.equipping
-
Uses of Player in games.stendhal.server.core.rp.equipping.builder
Modifier and TypeMethodDescriptionvoid
BuildError.build(EquipmentActionData data, Player player, RPAction action)
ModifierConstructorDescriptionEquipmentActionBuilder(Player player, RPAction action)
creates a new EquipmentActionBuilder -
Uses of Player in games.stendhal.server.core.rp.group
Modifier and TypeMethodDescriptionvoid
invites a player to join this group.void
GroupManager.onLoggedIn(Player player)
tell the reconnecting client if he is in a groupvoid
Group.sendGroupChangeEvent(Player player)
tells the player the current status of the group -
Uses of Player in games.stendhal.server.core.rp.pvp
Modifier and TypeMethodDescriptionPlayerVsPlayerChallenge.getChallenged()
PlayerVsPlayerChallenge.getChallenger()
Modifier and TypeMethodDescriptionvoid
void
PlayerVsPlayerChallengeManager.accpetChallenge(Player challenger, Player challenged, int currentTurn)
Mark the challenge between challenger and challenged as acceptedvoid
PlayerVsPlayerChallengeManager.createChallenge(Player challenger, Player challenged, int currentTurn)
Create a new challenge between two players if not yet existing.protected PlayerVsPlayerChallenge
PlayerVsPlayerChallengeManager.getOpenChallengeForPlayers(Player challenger, Player challenged)
Finds an open challenge for the given pair of players if existingboolean
PlayerVsPlayerChallenge.isInvolved(Player player)
Checks if a player is involved into this challengevoid
PlayerVsPlayerChallengeManager.onLoggedOut(Player player)
Remove player's current challenges on log outboolean
PlayerVsPlayerChallengeManager.playersHaveActiveChallenge(Player attacker, Player victim)
ModifierConstructorDescriptionPlayerVsPlayerChallenge(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
Modifier and TypeMethodDescriptionvoid
Executes this script.void
boolean
Executes this script.boolean
Executes this script.boolean
void
Script.load(Player admin, List<String> args, ScriptingSandbox sandbox)
Initial load of this script.void
ScriptImpl.load(Player admin, List<String> args, ScriptingSandbox sandbox)
boolean
Initial load of this script.abstract boolean
boolean
Initial load of this script.boolean
Initial load of the script.boolean
For manually loading an external Lua script.void
boolean
ScriptingSandbox.playerIsInZone(Player player, String zoneName)
protected void
ScriptingSandbox.postExecute(Player player, List<String> args, boolean result)
Cleans up execution of the script.protected void
ScriptingSandbox.preExecute(Player player, List<String> args)
Prepares execution of the script.void
ScriptingSandbox.privateText(Player player, String text)
void
Unloads this script.void
void
Unloads this script.void
Executes this script. -
Uses of Player in games.stendhal.server.core.scripting.lua
Modifier and TypeMethodDescriptionRetrieves a logged in Player.Modifier and TypeMethodDescriptionLuaQuestHelper.getCompleted(Player player)
LuaQuestHelper.getDescription(Player player, String questName)
LuaQuestHelper.getDescriptionForUnstartedInRegionFromNPCName(Player player, String region, String name)
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)
Creates 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. -
Uses of Player in games.stendhal.server.entity
Modifier and TypeMethodDescriptionprotected Player
RPEntity.entityAsOnlinePlayer(Entity entity)
For rewarding killers. -
Uses of Player in games.stendhal.server.entity.creature
Modifier and TypeFieldDescriptionprotected Player
DomesticAnimal.owner
The player who owns the domestic animal, or null if the animal is wild.Modifier and TypeMethodDescriptionvoid
void
DeathMatchCreature.setPlayerToReward(Player player)
Only this player gets a points reward.ModifierConstructorDescriptionBabyDragon(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
Modifier and TypeMethodDescriptionboolean
Check if a player may access the slots of this corpsevoid
Item.onPickedUp(Player player)
void
Dice.onPutOnGround(Player player)
void
Item.onPutOnGround(Player player)
Is called when the item is moved to the ground.protected boolean
protected boolean
protected boolean
protected boolean
-
Uses of Player in games.stendhal.server.entity.item.consumption
-
Uses of Player in games.stendhal.server.entity.item.scroll
Modifier and TypeMethodDescriptionboolean
boolean
TimedTeleportScroll.teleportBack(Player player)
Teleport the player back from the target zone.protected boolean
InvitationScroll.teleportTo(String where, Player player)
Try to teleport to a marked scroll infostring style place.protected boolean
Use a blank pet scroll.protected boolean
Use a [empty] scroll.protected boolean
Use a scroll.protected boolean
Is invoked when a summon pet scroll is used.protected boolean
Is invoked when a summon scroll is used.protected boolean
Is invoked when a teleporting scroll is used.protected boolean
BalloonScroll.useTeleportScroll(Player player)
protected boolean
InvitationScroll.useTeleportScroll(Player player)
Is invoked when a teleporting scroll is actually used.protected boolean
MarkedScroll.useTeleportScroll(Player player)
Is invoked when a teleporting scroll is used.protected boolean
RainbowBeansScroll.useTeleportScroll(Player player)
protected abstract boolean
TeleportScroll.useTeleportScroll(Player player)
Is invoked when a teleporting scroll is actually used.protected boolean
TimedTeleportScroll.useTeleportScroll(Player player)
Is invoked when a teleporting scroll is used.protected boolean
TimedTeleportScroll.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
Modifier and TypeMethodDescriptionvoid
TimedInvisibility.itemFinished(Player player)
abstract void
TimedStackableItem.itemFinished(Player player)
Called when the used item is finished.boolean
abstract boolean
Called when the player uses the item. -
Uses of Player in games.stendhal.server.entity.item.token
Modifier and TypeMethodDescriptionvoid
BoardToken.onPutOnGround(Player player)
void
Token.onPutOnGround(Player player)
void
Token.TokenMoveListener.onTokenMoved(Player player, T token)
a token was moved. -
Uses of Player in games.stendhal.server.entity.mapstuff.area
Modifier and TypeFieldDescriptionprotected WeakReference<Player>
OnePlayerArea.occupantRef
The reference to the entity currently in the area.Modifier and TypeMethodDescriptionvoid
NoLoginAreaBehaviour.onLoggedIn(Player player)
protected void
OnePlayerArea.setOccupant(Player player)
Set the occupant.boolean
-
Uses of Player in games.stendhal.server.entity.mapstuff.block
-
Uses of Player in games.stendhal.server.entity.mapstuff.game
Modifier and TypeMethodDescriptionvoid
GameBoard.onTokenMoved(Player player, BoardToken token)
handling of moved tokenvoid
sets the currently playing playerboolean
TicTacToeMovementValidatorChain.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
-
Uses of Player in games.stendhal.server.entity.mapstuff.game.movevalidator
Modifier and TypeMethodDescriptionboolean
GameIsActiveValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
boolean
MovementSourceIsHomeValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
boolean
MovementTargetEmptyValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
boolean
MovementTargetIsOnBoardValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
boolean
MoveValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
validates a moveboolean
PlayerIsParticipatingValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
boolean
PlayerIsPlayingRightTokenTypeValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
boolean
PlayersTurnValidator.validate(GameBoard board, Player player, BoardToken token, int xIndex, int yIndex)
-
Uses of Player in games.stendhal.server.entity.mapstuff.office
-
Uses of Player in games.stendhal.server.entity.mapstuff.portal
-
Uses of Player in games.stendhal.server.entity.mapstuff.spawner
Modifier and TypeMethodDescriptionvoid
GrowingPassiveEntityRespawnPoint.onItemPickedUp(Player player)
void
PassiveEntityRespawnPoint.onItemPickedUp(Player player)
void
SheepFood.onItemPickedUp(Player player)
-
Uses of Player in games.stendhal.server.entity.mapstuff.useable
Modifier and TypeFieldDescriptionprotected WeakReference<Player>
PlayerActivityEntity.Activity.ref
Modifier and TypeMethodDescriptionprotected void
PlayerActivityEntity.activityDone(Player player)
Process the results of the activity.protected boolean
PlayerActivityEntity.isPenalized(Player player)
Check for excessive usageprotected boolean
CoalSource.isPrepared(Player player)
Decides if the activity can be done.protected boolean
FishSource.isPrepared(Player player)
Decides if the activity can be done.protected boolean
GoldSource.isPrepared(Player player)
Decides if the activity can be done.protected abstract boolean
PlayerActivityEntity.isPrepared(Player player)
Decides if the activity can be done.protected boolean
WaterSpringSource.isPrepared(Player player)
Decides if the activity can be done.protected boolean
WellSource.isPrepared(Player player)
Decides if the activity can be done.protected boolean
CoalSource.isSuccessful(Player player)
Decides if the activity was successful.protected boolean
FishSource.isSuccessful(Player player)
Decides if the activity was successful.protected boolean
GoldSource.isSuccessful(Player player)
Decides if the activity was successful.protected abstract boolean
PlayerActivityEntity.isSuccessful(Player player)
Decides if the activity was successful.protected boolean
WaterSpringSource.isSuccessful(Player player)
Decides if the activity was successful.protected boolean
WellSource.isSuccessful(Player player)
Decides if the activity was successful.protected void
CoalSource.onFinished(Player player, boolean successful)
Called when the activity has finished.protected void
FishSource.onFinished(Player player, boolean successful)
Called when the activity has finished.protected void
GoldSource.onFinished(Player player, boolean successful)
Called when the activity has finished.protected abstract void
PlayerActivityEntity.onFinished(Player player, boolean successful)
Called when the activity has finished.protected void
WaterSpringSource.onFinished(Player player, boolean successful)
Called when the activity has finished.protected void
WellSource.onFinished(Player player, boolean successful)
Called when the activity has finished.protected void
Called when the activity has started.protected void
Called when the activity has started.protected void
Called when the activity has started.protected abstract void
Called when the activity has started.protected void
Called when the activity has started.protected void
Called when the activity has started. -
Uses of Player in games.stendhal.server.entity.npc
-
Uses of Player in games.stendhal.server.entity.npc.action
Modifier and TypeMethodDescriptionvoid
AddItemToCollectionAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
ChangePlayerOutfitAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
ChangePlayerOutfitAndPreserveTempAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
CollectRequestedItemsAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
ComplainAboutSentenceErrorAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
CreateSlotAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
DecreaseKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
DisableFeatureAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
DropInfostringItemAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
DropItemAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
DropRecordedItemAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
EnableFeatureAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
EquipItemAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
EquipRandomAmountOfItemAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
EquipRandomItemAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
ExamineChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
IncreaseItemExchangeAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
IncreaseKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
IncreaseXPAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
IncreaseXPDependentOnLevelAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
IncrementQuestAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
InflictStatusOnNPCAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
JailAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
ListProducedItemDetailAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
ListProducedItemsOfClassAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
LoadSignFromHallOfFameAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
MultipleActions.fire(Player player, Sentence sentence, EventRaiser npc)
void
NPCEmoteAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
NPCSetDirection.fire(Player player, Sentence sentence, EventRaiser npc)
void
OutputQuestSlotAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
PlaySoundAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
RemoveStorableEntityAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
ResetBlockChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
SayNPCNamesForUnstartedQuestsAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SayRequiredItemAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SayRequiredItemsFromCollectionAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SayTextAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SayTimeRemainingAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SayTimeRemainingUntilTimeReachedAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SayUnstartedQuestDescriptionFromNPCNameAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SendPrivateMessageAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SetHallOfFameToAgeDiffAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SetQuestAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SetQuestAndModifyKarmaAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SetQuestToFutureRandomTimeStampAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SetQuestToPlayerAgeAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SetQuestToTimeStampAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
SetQuestToYearAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
StartItemsCollectionWithLimitAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
StartRecordingKillsAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
StartRecordingRandomItemCollectionAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
StoreMessageAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
TeleportAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
BehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc)
void
MultiProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser)
void
ProducerBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser raiser)
void
RepairingBehaviourAction.fireRequestError(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc)
void
RepairingBehaviourAction.fireRequestOK(ItemParserResult res, Player player, Sentence sentence, EventRaiser npc)
-
Uses of Player in games.stendhal.server.entity.npc.behaviour.impl
Modifier and TypeMethodDescriptionboolean
MultiProducerBehaviour.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.boolean
ProducerBehaviour.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)
int
MerchantBehaviour.getCharge(ItemParserResult res, Player player)
Returns the price of the desired amount of the chosen item.protected int
MultiProducerBehaviour.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 int
ProducerBehaviour.getMaximalAmount(Player player)
Checks how many items the NPC can offer to produce based on what the player is carryingint
MultiProducerBehaviour.getNumberOfProductItems(Player player)
Checks how many items are being produced for this particular orderint
ProducerBehaviour.getNumberOfProductItems(Player player)
Checks how many items are being produced on this particular orderint
Calculate the price for the given itemvoid
MultiProducerBehaviour.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.void
ProducerBehaviour.giveProduct(EventRaiser npc, Player player)
This method is called when the player returns to pick up the finished product.void
Restores the given player's health to the maximum possible at the player's current level.boolean
MultiProducerBehaviour.isOrderReady(Player player)
Is the order ready for this player?boolean
ProducerBehaviour.isOrderReady(Player player)
Is the order ready for this player?protected void
Puts the outfit off, but only if the player hasn't taken it off himself already.protected void
BuyerBehaviour.payPlayer(ItemParserResult res, Player player)
Gives the money for the deal to the player.void
OutfitChangerBehaviour.putOnOutfit(Player player, String outfitType)
Tries to get back the bought/lent outfit and give the player his original outfit back.boolean
OutfitChangerBehaviour.returnToOriginalOutfit(Player player)
Tries to get back the bought/lent outfit and give the player his original outfit back.boolean
BuyerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the deal that is described in BehaviourResult.boolean
MultiProducerBehaviour.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.boolean
OutfitChangerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().boolean
ProducerBehaviour.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.boolean
RepairerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
boolean
SellerBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the sale that has been agreed on earlier via setChosenItem() and setAmount().abstract boolean
TransactionBehaviour.transactAgreedDeal(ItemParserResult res, EventRaiser seller, Player player)
Transacts the deal that is described in BehaviourResult.protected void
BuyerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res)
Updates stored information about Player-NPC commerce transactions.protected void
SellerBehaviour.updatePlayerTransactions(Player player, String merchant, ItemParserResult res)
Updates stored information about Player-NPC commerce transactions.boolean
OutfitChangerBehaviour.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
Modifier and TypeMethodDescriptionint
FixedPricePriceCalculationStrategy.calculatePrice(Item i, Player p)
int
FixedPricePriceCalculationStrategy.calculatePrice(String item, Player p)
int
PriceCalculationStrategy.calculatePrice(Item i, Player p)
Calculate a priceint
PriceCalculationStrategy.calculatePrice(String item, Player p)
calculate a price based on the item's nameint
RepairingPriceCalculationStrategy.calculatePrice(Item i, Player p)
int
RepairingPriceCalculationStrategy.calculatePrice(String item, Player p)
-
Uses of Player in games.stendhal.server.entity.npc.behaviour.journal
Modifier 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
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
return true if player have killed proper creature numbers.boolean
return true if player have killed proper sum of creatures.boolean
return true if player need update, or if required update was unsuccessful.boolean
boolean
boolean
Does the checking for number of creatures killedboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Uses of Player in games.stendhal.server.entity.npc.fsm
Modifier and TypeMethodDescriptionvoid
PostTransitionAction.fire(Player player, Sentence sentence, EventRaiser raiser)
does some action after a transition.boolean
can the transition be done?boolean
Transition.isConditionFulfilled(Player player, Sentence sentence, SpeakerNPC npc)
Checks whether this transition's condition is fulfilled.boolean
Do one transition of the finite state machine.boolean
Do one transition of the finite state machine.boolean
Do one transition of the finite state machine with debugging output and reset of the previous response. -
Uses of Player in games.stendhal.server.entity.player
Modifier and TypeMethodDescriptionstatic Player
Player.createZeroLevelPlayer(String characterName, RPObject template)
Modifier and TypeMethodDescriptionstatic boolean
GagManager.checkIsGaggedAndInformPlayer(Player player)
Like isGagged(player) but informs the player in case it is gagged.static void
void
long
GagManager.getTimeRemaining(Player criminal)
Gets time remaining in milliseconds.void
Jail.grantParoleIfPlayerWasAPrisoner(Player player)
Destroy the arrest warrant so that the player is not jailed again on next login.protected void
static boolean
Is player gagged?static boolean
Is player in a jail cell? Ignores visitors outside of cells.void
Player.offerTrade(Player partner)
offers the other player to start a trading sessionvoid
GagManager.onLoggedIn(Player player)
void
Jail.onLoggedIn(Player player)
void
ReadAchievementsOnLogin.onLoggedIn(Player player)
void
ReadPostmanMessages.onLoggedIn(Player player)
Execute command to get messages for the player when they log invoid
UpdatePendingAchievementsOnLogin.onLoggedIn(Player player)
void
ReadPostmanMessages.readMessages(Player player)
void
Removes a gag.protected void
Player.startTrade(Player partner)
starts a trade with this partnerboolean
Player.teleport(StendhalRPZone zone, int x, int y, Direction dir, Player teleporter)
Teleports this player to the given destination.boolean
Teleports player to given destination using zoneid string.static void
UpdateConverter.updateKeyring(Player player)
Convert keyring feature to keyring item.static void
UpdateConverter.updateQuests(Player player)
Update the quest slot to the current version.ModifierConstructorDescriptionPlayerDieer(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
Modifier and TypeMethodDescriptionvoid
Casts 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 void
protected void
protected void
protected void
protected void
protected void
protected abstract void
Provides the concrete behaviour of each concrete spell, i.e. -
Uses of Player in games.stendhal.server.entity.spell.effect
Modifier and TypeMethodDescriptionvoid
void
applies the effectvoid
void
void
void
void
-
Uses of Player in games.stendhal.server.entity.trade
Modifier and TypeMethodDescriptionboolean
Market.acceptOffer(Offer offer, Player acceptingPlayer)
Completes a trade of an offer by transferring item to accepting player and taking the money from himint
Market.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.boolean
Market.hasEarningsFor(Player player)
void
Market.removeOffer(Offer o, Player p)
removes an offer from the market and returns the item to the userboolean
Offer.shouldReward(Player player)
Check whether accepting this offer should be rewarder in trade score. -
Uses of Player in games.stendhal.server.events
ModifierConstructorDescriptionBestiaryEvent(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. -
Uses of Player in games.stendhal.server.extension
-
Uses of Player in games.stendhal.server.maps.deathmatch
Modifier and TypeMethodDescriptionboolean
void
BailAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
DoneAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
LeaveAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
StartAction.fire(Player player, Sentence sentence, EventRaiser raiser)
boolean
void
DeathmatchArea.onLoggedIn(Player player)
-
Uses of Player in games.stendhal.server.maps.magic.house1
-
Uses of Player in games.stendhal.server.maps.nalwor.forest
Modifier and TypeMethodDescriptionvoid
TrainingArea.endSession(Player player)
Teleports player out of archery range training area.boolean
ArcheryRange.isPlayerInArea(Player player, String zoneid, Rectangle2D area)
Checks if entity is within bounds of an area.boolean
TrainingArea.meetsLevelCap(Player player, int statLevel)
Checks if a player qualifies for training.void
ArcheryRange.onLoggedIn(Player player)
Actions to take when player logs in.void
TrainingArea.onLoggedIn(Player player)
void
ArcheryRange.onLoggedOut(Player player)
Actions to take when player logs out.void
TrainingArea.onLoggedOut(Player player)
void
TrainingArea.startSession(Player player, int trainTime)
Sets quest slot state & starts timer for session. -
Uses of Player in games.stendhal.server.maps.northpole
-
Uses of Player in games.stendhal.server.maps.quests
Modifier and TypeMethodDescriptionvoid
TutorialIsland.dismantleIsland(Player player)
protected void
Finishes the quest and teleports the player out.void
CodedMessageFromFinnFarmer.CreateAndSayCodedMessage.fire(Player player, Sentence sentence, EventRaiser npc)
boolean
CodedMessageFromFinnFarmer.TriggerMightbeACodedMessageCondition.fire(Player player, Sentence sentence, Entity npc)
boolean
CollectEnemyData.getAnswerForStep(Player player, Creature creature, int step)
Retrieves the correct answer for the step.int
KillBlordroughs.getCompletedCount(Player player)
Checks how many times the player has completed the quest.int
CollectEnemyData.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)
AmazonPrincess.getHistory(Player player)
ArmorForDagobert.getHistory(Player player)
BalloonForBobby.getHistory(Player player)
BeerForHayunn.getHistory(Player player)
Blackjack.getHistory(Player player)
BowsForOuchit.getHistory(Player player)
Campfire.getHistory(Player player)
ChocolateForElisabeth.getHistory(Player player)
CleanAthorsUnderground.getHistory(Player player)
CleanStorageSpace.getHistory(Player player)
CloakCollector.getHistory(Player player)
CloakCollector2.getHistory(Player player)
CloaksForBario.getHistory(Player player)
ClubOfThorns.getHistory(Player player)
CoalForHaunchy.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)
EggsForMarianne.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)
HatForMonogenes.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)
KillGnomes.getHistory(Player player)
KillMonks.getHistory(Player player)
KillSpiders.getHistory(Player player)
KoboldishTorcibud.getHistory(Player player)
LearnAboutKarma.getHistory(Player player)
LearnAboutOrbs.getHistory(Player player)
LookBookforCeryl.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)
PizzaDelivery.getHistory(Player player)
PlinksToy.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)
SimpleQuestCreator.SimpleQuest.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)
TrapsForKlaas.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.boolean
AbstractQuest.isCompleted(Player player)
boolean
AmazonPrincess.isCompleted(Player player)
boolean
Campfire.isCompleted(Player player)
boolean
ChocolateForElisabeth.isCompleted(Player player)
boolean
CleanAthorsUnderground.isCompleted(Player player)
boolean
CoalForHaunchy.isCompleted(Player player)
boolean
CollectEnemyData.isCompleted(Player player)
boolean
EggsForMarianne.isCompleted(Player player)
boolean
ElfPrincess.isCompleted(Player player)
boolean
FishSoupForHughie.isCompleted(Player player)
boolean
HouseBuying.isCompleted(Player player)
boolean
IcecreamForAnnie.isCompleted(Player player)
boolean
IQuest.isCompleted(Player player)
Was the quest completed? Note: A quest can be completed without its status being "Done" (e.boolean
KillDhohrNuggetcutter.isCompleted(Player player)
boolean
KillGnomes.isCompleted(Player player)
boolean
KillMonks.isCompleted(Player player)
boolean
KillSpiders.isCompleted(Player player)
boolean
KoboldishTorcibud.isCompleted(Player player)
boolean
MealForGroongo.isCompleted(Player player)
boolean
MeetKetteh.isCompleted(Player player)
boolean
RainbowBeans.isCompleted(Player player)
boolean
SevenCherubs.isCompleted(Player player)
boolean
Snowballs.isCompleted(Player player)
boolean
AbstractQuest.isRepeatable(Player player)
boolean
AmazonPrincess.isRepeatable(Player player)
boolean
BalloonForBobby.isRepeatable(Player player)
boolean
Campfire.isRepeatable(Player player)
boolean
ChocolateForElisabeth.isRepeatable(Player player)
boolean
CleanAthorsUnderground.isRepeatable(Player player)
boolean
CoalForHaunchy.isRepeatable(Player player)
boolean
CodedMessageFromFinnFarmer.isRepeatable(Player player)
boolean
DailyItemQuest.isRepeatable(Player player)
boolean
DailyMonsterQuest.isRepeatable(Player player)
boolean
DragonLair.isRepeatable(Player player)
boolean
EggsForMarianne.isRepeatable(Player player)
boolean
ElfPrincess.isRepeatable(Player player)
boolean
FindJefsMom.isRepeatable(Player player)
boolean
FindRatChildren.isRepeatable(Player player)
boolean
FishSoup.isRepeatable(Player player)
boolean
FishSoupForHughie.isRepeatable(Player player)
boolean
FruitsForCoralia.isRepeatable(Player player)
boolean
GoodiesForRudolph.isRepeatable(Player player)
boolean
GuessKills.isRepeatable(Player player)
boolean
HelpTomi.isRepeatable(Player player)
boolean
IcecreamForAnnie.isRepeatable(Player player)
boolean
IQuest.isRepeatable(Player player)
May the quest be repeated?boolean
KillBlordroughs.isRepeatable(Player player)
boolean
KillDhohrNuggetcutter.isRepeatable(Player player)
boolean
KillEnemyArmy.isRepeatable(Player player)
boolean
KillGnomes.isRepeatable(Player player)
boolean
KillMonks.isRepeatable(Player player)
boolean
KillSpiders.isRepeatable(Player player)
boolean
KoboldishTorcibud.isRepeatable(Player player)
boolean
Maze.isRepeatable(Player player)
boolean
MealForGroongo.isRepeatable(Player player)
boolean
MeetKetteh.isRepeatable(Player player)
boolean
MuseumEntranceFee.isRepeatable(Player player)
boolean
PizzaDelivery.isRepeatable(Player player)
boolean
RestockFlowerShop.isRepeatable(Player player)
boolean
SimpleQuestCreator.SimpleQuest.isRepeatable(Player player)
boolean
Snowballs.isRepeatable(Player player)
boolean
Soup.isRepeatable(Player player)
boolean
TrapsForKlaas.isRepeatable(Player player)
boolean
WaterForXhiphin.isRepeatable(Player player)
boolean
WeeklyItemQuest.isRepeatable(Player player)
boolean
ZooFood.isRepeatable(Player player)
boolean
boolean
Was the quest started?boolean
CollectEnemyData.isStepDone(Player player, int step)
Checks if player has completed a step.void
MeetSanta.onLoggedIn(Player player)
Removes Santa hat if not Christmas.void
ReverseArrow.onLoggedIn(Player player)
void
WizardBank.onLoggedIn(Player player)
void
WizardBank.onLoggedOut(Player player)
void
PaperChase.onTeleport(Player player, boolean playerAction)
void
ReverseArrow.onTokenMoved(Player player, Token token)
The player moved a token.void
CloakCollector.rewardPlayer(Player player)
protected void
CrownForTheWannaBeKing.rewardPlayer(Player player)
Give the player the reward for completing the quest.void
ElvishArmor.rewardPlayer(Player player)
void
ToysCollector.rewardPlayer(Player player)
void
WeaponsCollector.rewardPlayer(Player player)
void
A player entered the zone.void
TutorialIsland.startTutorialForPlayer(Player player)
void
AbstractQuest.updatePlayer(Player player)
void
IQuest.updatePlayer(Player player)
-
Uses of Player in games.stendhal.server.maps.quests.antivenom_ring
-
Uses of Player in games.stendhal.server.maps.quests.captureflag
Modifier and TypeMethodDescriptionvoid
LeaveCaptureFlagAction.dropAllCTFItems(Player player)
drop anything the player is carrying that is ctf-related TODO: probably goes elsewhere - more general support classvoid
JoinCaptureFlagAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
LeaveCaptureFlagAction.fire(Player player, Sentence sentence, EventRaiser npc)
boolean
void
ProvideArrowsAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
ProvideCTFFlagsAction.fire(Player player, Sentence sentence, EventRaiser npc)
CaptureFlagQuest.getHistory(Player player)
ModifierConstructorDescriptionCaptureFlagUseListener(Player target)
creates a new CaptureFlagUseListener -
Uses of Player in games.stendhal.server.maps.quests.houses
Modifier and TypeMethodDescriptionHouseBuyingMain.getHistory(Player player)
protected static HousePortal
HouseUtilities.getPlayersHouse(Player player)
Get the house owned by a player.boolean
HouseBuyingMain.isCompleted(Player player)
protected static boolean
HouseUtilities.playerOwnsHouse(Player player)
Check if a player owns a house. -
Uses of Player in games.stendhal.server.maps.quests.logic
Modifier 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.boolean
BringOrderedListOfItemsQuestLogic.proceedItems(Player player, EventRaiser eventRaiser)
Give items to the NPC, in the required order.void
BringListOfItemsQuest.rewardPlayer(Player player)
void
BringOrderedListOfItemsQuestLogic.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
-
Uses of Player in games.stendhal.server.maps.quests.maze
Modifier and TypeMethodDescriptionprotected void
MazeGenerator.rewardPlayer(Player player)
Give the player a reward, and notify him. -
Uses of Player in games.stendhal.server.maps.quests.piedpiper
Modifier and TypeMethodDescriptionstatic int
TPPQuestHelperFunctions.calculateReward(Player player)
function for calculating reward's moneys for playervoid
DetailsKillingsAction.fire(Player player, Sentence sentence, EventRaiser mayor)
void
RewardPlayerAction.fire(Player player, Sentence sentence, EventRaiser mayor)
boolean
-
Uses of Player in games.stendhal.server.maps.quests.revivalweeks
Modifier and TypeMethodDescriptionvoid
PhotographerChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
-
Uses of Player in games.stendhal.server.maps.quests.tutorial
-
Uses of Player in games.stendhal.server.maps.semos.bank
-
Uses of Player in games.stendhal.server.maps.semos.jail
-
Uses of Player in games.stendhal.server.maps.semos.plains
Modifier 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
Modifier and TypeMethodDescriptionstatic BigDecimal
TradingUtility.calculateFee(Player player, int price)
calculates the trading fee a player has to pay when selling for a certain pricestatic boolean
TradingUtility.canPlayerAffordTradingFee(Player player, int price)
checks if a player can afford the trading fee depending on pricevoid
ExamineOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
FetchEarningsChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
boolean
void
ProlongOfferHandler.ConfirmProlongOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
ProlongOfferHandler.ProlongOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
RemoveOfferHandler.ConfirmRemoveOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
RemoveOfferHandler.RemoveOfferChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
void
ShowOfferItemsChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
show a list of all items for which offers exist.void
ShowOffersChatAction.fire(Player player, Sentence sentence, EventRaiser npc)
static boolean
TradingUtility.isPlayerWithinOfferLimit(Player player)
checks if a player has not already placed the max number of offersstatic boolean
TradingUtility.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
Modifier and TypeMethodDescriptionvoid
Adds a sign.void
Adds a chest.void
Removes the specified sign.void
Removes the specified chest.void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
executes the scriptvoid
executes the scriptvoid
void
void
void
EntitySearch.findByCreatureName(Player player, String targetName)
void
EntitySearch.findByZoneName(Player player, String targetName)
void
EntitySearch.findNonRespawn(Player player)
void
AdminMaker.TeleportAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
AdminMaker.UpgradeAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
BetManager.BetAction.fire(Player player, Sentence sentence, EventRaiser raiser)
boolean
boolean
void
Debuggera.SightseeingAction.fire(Player player, Sentence sentence, EventRaiser raiser)
void
Lists all signs.void
Lists all chests.void
AdminMaker.load(Player admin, List<String> args, ScriptingSandbox sandbox)
void
BetManager.load(Player admin, List<String> args, ScriptingSandbox sandbox)
void
Debuggera.load(Player admin, List<String> args, ScriptingSandbox sandbox)
void
Herald.load(Player admin, List<String> args, ScriptingSandbox sandbox)
invokes by /script -load Herald.class, placing herald near calling admin.void
Maria.load(Player admin, List<String> args, ScriptingSandbox sandbox)
void
FixNegativeHp.onLoggedIn(Player player)
abstract void
processes the requested operation on the loaded objectvoid
processes the requested operation on the loaded objectvoid
void
void
void
void
void
abstract boolean
AbstractOfflineAction.validateParameters(Player admin, List<String> args)
validates the parameters, sends an error message, if something is wrong with themboolean
OfflineAdminlevel.validateParameters(Player admin, List<String> args)
validates the parameters, sends an error message, if something is wrong with themboolean
OfflineClearSentence.validateParameters(Player admin, List<String> args)
ModifierConstructorDescriptionprotected
PlayerPositionListener(Player admin)
creates a new PlayerPositionListener. -
Uses of Player in games.stendhal.server.util
Modifier and TypeMethodDescriptionstatic Entity
EntityHelper.entityFromSlot(Player player, RPAction action)
Retrieves a specified item from a slot.static Entity
EntityHelper.getEntityByName(Player player, String itemName)
gets an entity by name from the players bagstatic Entity
EntityHelper.getEntityFromPath(Player player, List<String> path)
Get an entity from path.static EntitySlot
gets the item slot from an actionint
KillsForQuestCounter.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
Modifier and TypeMethodDescriptionPlayerModifier.loadPlayer(DBTransaction transaction, String characterName)
Modifier and TypeMethodDescriptionboolean
PlayerModifier.savePlayer(DBTransaction transaction, Player player)