mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 19:44:15 +02:00
Cleanup
This commit is contained in:
@@ -51,7 +51,6 @@ public class General implements StorageObject
|
||||
" VAULT: Options are stored using a permissions plugin supported by Vault"
|
||||
})
|
||||
private GroupStorage groupStorage = GroupStorage.FILE;
|
||||
|
||||
@Comment(
|
||||
{
|
||||
"Set to true to enable per-world permissions for teleporting between worlds with essentials commands",
|
||||
@@ -67,17 +66,18 @@ public class General implements StorageObject
|
||||
{
|
||||
return loginAttackDelay * 1000;
|
||||
}
|
||||
|
||||
public void setLoginAttackDelay(long loginAttackDelay)
|
||||
{
|
||||
this.loginAttackDelay = loginAttackDelay / 1000;
|
||||
}
|
||||
private Boolean metricsEnabled = null;
|
||||
|
||||
@Comment("The join message when players join the server")
|
||||
private String joinMessage = "&e{PLAYER} has joined the game";
|
||||
|
||||
@Comment("The quit message when players leave the server")
|
||||
private String leaveMessage ="&e{PLAYER} has left the game";
|
||||
|
||||
private String leaveMessage = "&e{PLAYER} has left the game";
|
||||
@Comment("Enable this to clear powertools when a player disconnects.")
|
||||
private boolean ptClearOnQuit = false;
|
||||
|
||||
@Comment("Enable this to clear powertools when a player changes worlds.")
|
||||
private boolean ptClearOnWorldChange = false;
|
||||
}
|
||||
|
@@ -1,14 +1,11 @@
|
||||
package net.ess3.antibuild;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import net.ess3.api.IEssentials;
|
||||
import net.ess3.settings.antibuild.Alert;
|
||||
import net.ess3.settings.antibuild.AntiBuild;
|
||||
import net.ess3.settings.antibuild.BlackList;
|
||||
import net.ess3.storage.AsyncStorageObjectHolder;
|
||||
import org.bukkit.Material;
|
||||
|
||||
|
||||
public class AntiBuildHolder extends AsyncStorageObjectHolder<AntiBuild>
|
||||
@@ -18,8 +15,7 @@ public class AntiBuildHolder extends AsyncStorageObjectHolder<AntiBuild>
|
||||
super(ess, AntiBuild.class, new File(ess.getPlugin().getDataFolder(), "antibuild.yml"));
|
||||
onReload();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void fillWithDefaults()
|
||||
{
|
||||
@@ -28,6 +24,6 @@ public class AntiBuildHolder extends AsyncStorageObjectHolder<AntiBuild>
|
||||
blacklist.setupDefaults();
|
||||
alert.setupDefaults();
|
||||
getData().setAlert(alert);
|
||||
getData().setBlacklist(blacklist);
|
||||
getData().setBlacklist(blacklist);
|
||||
}
|
||||
}
|
||||
|
2
pom.xml
2
pom.xml
@@ -76,7 +76,7 @@
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<bukkit.version>1.4.4-R0.1-SNAPSHOT</bukkit.version>
|
||||
<bukkit.version>1.4.5-R0.1-SNAPSHOT</bukkit.version>
|
||||
<build.number>Unknown</build.number>
|
||||
<org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>true</org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>
|
||||
<org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>2</org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>
|
||||
|
Reference in New Issue
Block a user