diff options
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | build.gradle | 4 | ||||
-rw-r--r-- | src/main/java/net/elytrium/limboauth/LimboAuth.java | 1 | ||||
-rw-r--r-- | src/main/java/net/elytrium/limboauth/Settings.java | 5 |
5 files changed, 9 insertions, 6 deletions
@@ -39,5 +39,4 @@ Your donations are really appreciated. Donations wallets/links/cards: - MasterCard Debit Card (Tinkoff Bank): ``5536 9140 0599 1975`` - Qiwi Wallet: ``PFORG`` or [this link](https://my.qiwi.com/form/Petr-YSpyiLt9c6) -- YooMoney Wallet: ``4100 1721 8467 044`` or [this link](https://yoomoney.ru/quickpay/shop-widget?writer=seller&targets=Donation&targets-hint=&default-sum=&button-text=11&payment-type-choice=on&mobile-payment-type-choice=on&hint=&successURL=&quickpay=shop&account=410017218467044) -- PayPal: ``ogurec332@mail.ru`` +- YooMoney Wallet: ``4100 1721 8467 044`` or [this link](https://yoomoney.ru/quickpay/shop-widget?writer=seller&targets=Donation&targets-hint=&default-sum=&button-text=11&payment-type-choice=on&mobile-payment-type-choice=on&hint=&successURL=&quickpay=shop&account=410017218467044)
\ No newline at end of file @@ -1 +1 @@ -1.0.4 +1.0.5 diff --git a/build.gradle b/build.gradle index ddd3801..352ec43 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { } setGroup("net.elytrium") -setVersion("1.0.4") +setVersion("1.0.5") java { setSourceCompatibility(JavaVersion.VERSION_11) @@ -39,7 +39,7 @@ repositories { } dependencies { - compileOnly("net.elytrium:limboapi-api:1.0.4-SNAPSHOT") + compileOnly("net.elytrium:limboapi-api:1.0.5") compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT") annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT") diff --git a/src/main/java/net/elytrium/limboauth/LimboAuth.java b/src/main/java/net/elytrium/limboauth/LimboAuth.java index 55fee88..eb052fe 100644 --- a/src/main/java/net/elytrium/limboauth/LimboAuth.java +++ b/src/main/java/net/elytrium/limboauth/LimboAuth.java @@ -350,6 +350,7 @@ public class LimboAuth { this.authServer = this.factory .createLimbo(authWorld) .setName("LimboAuth") + .setWorldTime(Settings.IMP.MAIN.WORLD_TICKS) .registerCommand(new LimboCommandMeta(this.filterCommands(Settings.IMP.MAIN.REGISTER_COMMAND))) .registerCommand(new LimboCommandMeta(this.filterCommands(Settings.IMP.MAIN.LOGIN_COMMAND))) .registerCommand(new LimboCommandMeta(this.filterCommands(Settings.IMP.MAIN.TOTP_COMMAND))); diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java index 43e1fe6..a6f188a 100644 --- a/src/main/java/net/elytrium/limboauth/Settings.java +++ b/src/main/java/net/elytrium/limboauth/Settings.java @@ -122,9 +122,12 @@ public class Settings extends YamlConfig { public String ALLOWED_NICKNAME_REGEX = "^[A-Za-z0-9_]{3,16}$"; public boolean LOAD_WORLD = false; - @Comment("World file type: schematic (1.12.2 and lower), structure block .nbt (saved in the latest version)") + @Comment("World file type: \"schematic\" (1.12.2 and lower, not recommended), \"structure\" block .nbt (saved in 1.17 - 1.18.2).") public String WORLD_FILE_TYPE = "structure"; public String WORLD_FILE_PATH = "world.nbt"; + + @Comment("World time in ticks (24000 ticks == 1 in-game day)") + public long WORLD_TICKS = 1000L; @Comment({ "Custom isPremium URL", "You can use Mojang one's API (set by default)", |