Remove unneeded config elements.
This commit is contained in:
parent
afaa17bbd2
commit
9a189e9257
@ -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.
|
||||
*/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user