summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/settings/commands/Home.java
blob: 6ec2f133966af6aaf6f87e85ea6515e8300c45ad (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
package com.earth2me.essentials.settings.commands;

import com.earth2me.essentials.storage.Comment;
import com.earth2me.essentials.storage.StorageObject;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
public class Home extends StorageObject
{
	@Comment("When players die, should they respawn at their homes, instead of the spawnpoint?")
	private boolean respawnAtHome = false;
	@Comment(
	{
		"When a player interacts with a bed, should their home be set to that location?",
		"If you enable this and remove default player access to the /sethome command, ",
		"you can make beds the only way for players to set their home location."
	})
	private boolean bedSetsHome = false;
	@Comment("If no home is set, should the player be send to spawn, when /home is used.")
	private boolean spawnIfNoHome = false;
}