2013-12-24 12:28:40 -06:00
|
|
|
package com.graywolf336.jail.enums;
|
|
|
|
|
|
|
|
public enum Settings {
|
2013-12-24 22:25:14 -06:00
|
|
|
BROADCASTJAILING("jailing.jail.broadcastJailing"),
|
2013-12-24 12:28:40 -06:00
|
|
|
DEBUG("system.debug"),
|
2013-12-24 17:51:41 -06:00
|
|
|
DEFAULTJAIL("jailing.jail.defaultJail"),
|
2013-12-25 21:56:01 -06:00
|
|
|
DELETEINVENTORY("jailing.jail.deleteInventory"),
|
2013-12-24 22:25:14 -06:00
|
|
|
JAILDEFAULTTIME("jailing.jail.defaultTime"),
|
|
|
|
LOGJAILING("jailing.jail.logToConsole"),
|
2013-12-25 21:56:01 -06:00
|
|
|
RELEASETOPREVIOUSPOSITION("jailing.release.backToPreviousPosition"),
|
2013-12-25 22:57:09 -06:00
|
|
|
RESTOREPREVIOUSGAMEMODE("jailing.release.restorePreviousGameMode"),
|
2013-12-24 22:25:14 -06:00
|
|
|
UPDATENOTIFICATIONS("system.updateNotifications");
|
2013-12-24 12:28:40 -06:00
|
|
|
|
|
|
|
private String path;
|
|
|
|
|
|
|
|
private Settings(String path) {
|
|
|
|
this.path = path;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the path this setting is in config.
|
|
|
|
* @return The path where this setting resides in the config.
|
|
|
|
*/
|
|
|
|
public String getPath() {
|
|
|
|
return this.path;
|
|
|
|
}
|
|
|
|
}
|