Remove unneeded config elements.

This commit is contained in:
Jesse Prescott 2018-06-06 06:44:01 +01:00
parent afaa17bbd2
commit 9a189e9257
2 changed files with 0 additions and 36 deletions

View File

@ -50,27 +50,6 @@ public class ConfigFile extends ConfigurationFile {
return Language.valueOf(locale);
}
/**
* @return If players can create Itemcases by sneaking and right-clicking.
*/
public boolean canSneakCreate() {
return !this.file.getBoolean("Options.Disable-Sneak-Create");
}
/**
* @return If orders can timeout.
*/
public boolean canTimeout() {
return !this.file.getBoolean("Order.Disable-Timeout");
}
/**
* @return The number of seconds required to pass for an order to timeout.
*/
public int getTimeout() {
return this.file.getInt("Order.Timeout");
}
/**
* @return An array list of materials that can be used as Itemcases.
*/

View File

@ -6,21 +6,6 @@
# Locale:
# - EN
Locale: EN
# General Options
Options:
# Disable ItemCase creation via sneaking and right clicking.
Disable-Sneak-Create: false
# Order options
Order:
# Disable automatic order timeout for itemcase shops.
Disable-Timeout: false
# The time in seconds before an order automatically times out.
Timeout: 15
# Materials that can be used for ItemCases.
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html