mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 12:01:20 +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"
|
" VAULT: Options are stored using a permissions plugin supported by Vault"
|
||||||
})
|
})
|
||||||
private GroupStorage groupStorage = GroupStorage.FILE;
|
private GroupStorage groupStorage = GroupStorage.FILE;
|
||||||
|
|
||||||
@Comment(
|
@Comment(
|
||||||
{
|
{
|
||||||
"Set to true to enable per-world permissions for teleporting between worlds with essentials commands",
|
"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;
|
return loginAttackDelay * 1000;
|
||||||
}
|
}
|
||||||
private Boolean metricsEnabled = null;
|
|
||||||
|
|
||||||
|
public void setLoginAttackDelay(long loginAttackDelay)
|
||||||
|
{
|
||||||
|
this.loginAttackDelay = loginAttackDelay / 1000;
|
||||||
|
}
|
||||||
|
private Boolean metricsEnabled = null;
|
||||||
@Comment("The join message when players join the server")
|
@Comment("The join message when players join the server")
|
||||||
private String joinMessage = "&e{PLAYER} has joined the game";
|
private String joinMessage = "&e{PLAYER} has joined the game";
|
||||||
|
|
||||||
@Comment("The quit message when players leave the server")
|
@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.")
|
@Comment("Enable this to clear powertools when a player disconnects.")
|
||||||
private boolean ptClearOnQuit = false;
|
private boolean ptClearOnQuit = false;
|
||||||
|
|
||||||
@Comment("Enable this to clear powertools when a player changes worlds.")
|
@Comment("Enable this to clear powertools when a player changes worlds.")
|
||||||
private boolean ptClearOnWorldChange = false;
|
private boolean ptClearOnWorldChange = false;
|
||||||
}
|
}
|
||||||
|
@@ -1,14 +1,11 @@
|
|||||||
package net.ess3.antibuild;
|
package net.ess3.antibuild;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.HashSet;
|
|
||||||
import net.ess3.api.IEssentials;
|
import net.ess3.api.IEssentials;
|
||||||
import net.ess3.settings.antibuild.Alert;
|
import net.ess3.settings.antibuild.Alert;
|
||||||
import net.ess3.settings.antibuild.AntiBuild;
|
import net.ess3.settings.antibuild.AntiBuild;
|
||||||
import net.ess3.settings.antibuild.BlackList;
|
import net.ess3.settings.antibuild.BlackList;
|
||||||
import net.ess3.storage.AsyncStorageObjectHolder;
|
import net.ess3.storage.AsyncStorageObjectHolder;
|
||||||
import org.bukkit.Material;
|
|
||||||
|
|
||||||
|
|
||||||
public class AntiBuildHolder extends AsyncStorageObjectHolder<AntiBuild>
|
public class AntiBuildHolder extends AsyncStorageObjectHolder<AntiBuild>
|
||||||
@@ -19,7 +16,6 @@ public class AntiBuildHolder extends AsyncStorageObjectHolder<AntiBuild>
|
|||||||
onReload();
|
onReload();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void fillWithDefaults()
|
public void fillWithDefaults()
|
||||||
{
|
{
|
||||||
|
2
pom.xml
2
pom.xml
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<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>
|
<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.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>
|
<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