summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/commands/Reload.java
blob: 04128c56377ccc4613c21f36c6fd6b1a143e7808 (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
package net.tylermurphy.hideAndSeek.commands;

import org.bukkit.command.CommandSender;

import net.tylermurphy.hideAndSeek.Store;
import net.tylermurphy.hideAndSeek.util.ICommand;

import static net.tylermurphy.hideAndSeek.Store.*;

public class Reload implements ICommand {

	public void execute(CommandSender sender, String[] args) {
		Store.loadConfig();
		sender.sendMessage(messagePrefix + "Reloaded the config");
	}

	public String getLabel() {
		return "reload";
	}

	public String getUsage() {
		return "";
	}

	public String getDescription() {
		return "Reloads the config";
	}
	
}