summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/settings/Spawns.java
blob: 451ef49b186f99a4b9e1e07407390f43a2ad0c8b (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
package com.earth2me.essentials.settings;

import com.earth2me.essentials.storage.Comment;
import com.earth2me.essentials.storage.Location;
import com.earth2me.essentials.storage.MapValueType;
import com.earth2me.essentials.storage.StorageObject;
import java.util.HashMap;
import java.util.Map;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
public class Spawns implements StorageObject
{
	@Comment(
	{
		"Should we announce to the server when someone logs in for the first time?",
		"If so, use this format, replacing {DISPLAYNAME} with the player name.",
		"If not, set to ''"
	})
	private String newPlayerAnnouncement = "&dWelcome {DISPLAYNAME} to the server!";
	@Comment(
	{
		"Priority of the respawn event listener",
		"Set this to lowest, if you want e.g. Multiverse to handle the respawning",
		"Set this to normal, if you want EssentialsSpawn to handle the respawning",
		"Set this to highest, if you want to force EssentialsSpawn to handle the respawning"
	})
	private String respawnPriority = "normal";
	@Comment({
		"When we spawn for the first time, which spawnpoint do we use?",
		"Set to none if you want to use the spawn point of the world."
	})
	private String newbieSpawn = "none";
	@Comment("List of all spawnpoints")
	@MapValueType(Location.class)
	private Map<String, Location> spawns = new HashMap<String, Location>();
}