summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/api/server/Player.java
blob: 7da3b80fc6518a6af61ca36c4dbf49ce64c556b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package com.earth2me.essentials.api.server;

import com.earth2me.essentials.api.IUser;


public interface Player extends CommandSender
{
	IUser getUser();

	String getName();

	String getDisplayName();

	boolean isOnline();

	void setBanned(boolean bool);

	void kickPlayer(String reason);

	World getWorld();

	Location getLocation();

	Location getEyeLocation();

	void setFireTicks(int value);

	void setFoodLevel(int value);

	void setSaturation(float value);

	int getHealth();
	
	void setHealth(int value);

	void updateInventory();

	ItemStack getItemInHand();
	
	Location getBedSpawnLocation();
	
	boolean hasPlayedBefore();
	
	IInventory getInventory();
	
	void setTotalExperience(final int exp);
	
	int getTotalExperience();
	
	void setDisplayName(String name);
	
	void setPlayerListName(String name);
	
	void setSleepingIgnored(boolean b);
	
	boolean isBanned();
	
	void setCompassTarget(Location loc);
	
	void damage(int value);
}