Release Minepacks v2.0-RC1

This commit is contained in:
GeorgH93 2019-05-31 18:54:31 +02:00
parent 531fa82f73
commit c09f518342
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
4 changed files with 14 additions and 7 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>Minepacks</artifactId>
<version>2.0-RC1-SNAPSHOT</version>
<version>2.0-RC1</version>
<scm>
<connection>scm:git:git@github.com:GeorgH93/Minepacks.git</connection>

View File

@ -1,3 +1,5 @@
# To simplify the customisation and the translation process please check out the editor: http://ptp.pcgamingfreaks.at
Language:
NotFromConsole: "&cDieser Befehl kann nicht in der Console ausgeführt werden."
Ingame:
@ -92,7 +94,8 @@ Command:
- help
- hilfe
LanguageName: "German"
# Will be shown in the console during startup
LanguageName: "german"
Author: "GeorgH93"
# Language file version. Don't touch it!

View File

@ -1,3 +1,5 @@
# To simplify the customisation and the translation process please check out the editor: http://ptp.pcgamingfreaks.at
Language:
NotFromConsole: "&cCommand not usable from console."
Ingame:
@ -88,7 +90,8 @@ Command:
Help:
- help
LanguageName: "English"
# Will be shown in the console during startup
LanguageName: "english"
Author: "GeorgH93"
# Language file version. Don't touch it!

View File

@ -66,7 +66,6 @@ public class Minepacks extends JavaPlugin implements MinepacksPlugin
public Message messageNoPermission, messageInvalidBackpack, messageWorldDisabled, messageNotFromConsole, messageNotANumber;
private boolean standalone = false;
private int maxSize;
private Collection<String> worldBlacklist;
private WorldBlacklistMode worldBlacklistMode;
@ -83,7 +82,11 @@ public static Minepacks getInstance()
@Override
public boolean isRunningInStandaloneMode()
{
return standalone;
/*if[STANDALONE]
return true;
else[STANDALONE]*/
return false;
/*end[STANDALONE]*/
}
@Override
@ -91,7 +94,6 @@ public void onEnable()
{
// Check if running as standalone edition
/*if[STANDALONE]
standalone = true;
if(getServer().getPluginManager().isPluginEnabled("PCGF_PluginLib"))
{
getLogger().info("You do have the PCGF_PluginLib installed. You may consider switching to the default version of the plugin to reduce memory load and unlock additional features.");
@ -104,7 +106,6 @@ public void onEnable()
setEnabled(false);
return;
}
standalone = false;
/*end[STANDALONE]*/