summaryrefslogtreecommitdiffstats
path: root/Essentials/src/net/ess3/settings/commands/SocialSpy.java
blob: 9cb57268922ce0cb0d5cd84b03ff8ba6cad2d519 (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
package net.ess3.settings.commands;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.ess3.storage.Comment;
import net.ess3.storage.ListType;
import net.ess3.storage.StorageObject;


@Data
@EqualsAndHashCode(callSuper = false)
public class SocialSpy implements StorageObject
{
	public SocialSpy()
	{
		if (socialspyCommands.isEmpty())
		{
			socialspyCommands.addAll(Arrays.asList("msg", "r", "mail", "m", "t", "emsg", "tell", "er", "reply", "ereply", "email"));
		}
	}
	@ListType
	@Comment("Commands to listen for in socialspy")
	private List<String> socialspyCommands = new ArrayList<String>();
}