Compare commits

...

5 Commits

Author SHA1 Message Date
Colbster937
b91b4f93e5 Merge branch 'main' of https://github.com/WebMCDevelopment/originblacklist 2026-02-05 13:36:28 -06:00
Colbster937
2e05fb6031 remove debug code 2026-02-05 13:36:23 -06:00
dependabot[bot]
a7ea336158 Bump com.github.seancfoley:ipaddress from 5.5.1 to 5.6.1 (#16)
Bumps [com.github.seancfoley:ipaddress](https://github.com/seancfoley/IPAddress) from 5.5.1 to 5.6.1.
- [Release notes](https://github.com/seancfoley/IPAddress/releases)
- [Commits](https://github.com/seancfoley/IPAddress/compare/v5.5.1...v5.6.1)

---
updated-dependencies:
- dependency-name: com.github.seancfoley:ipaddress
  dependency-version: 5.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-05 15:58:11 +00:00
dependabot[bot]
0a2c39fbd4 Bump me.clip:placeholderapi from 2.11.7 to 2.12.1 (#15)
Bumps me.clip:placeholderapi from 2.11.7 to 2.12.1.

---
updated-dependencies:
- dependency-name: me.clip:placeholderapi
  dependency-version: 2.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-05 15:57:56 +00:00
Colbster937
df17431df0 thing 2026-02-03 19:58:52 -06:00
2 changed files with 10 additions and 11 deletions

View File

@@ -71,13 +71,13 @@ dependencies {
compileOnly("net.lax1dude.eaglercraft.backend:api-velocity:1.0.0")
compileOnly("net.lax1dude.eaglercraft.backend:api-bungee:1.0.0")
compileOnly("net.lax1dude.eaglercraft.backend:api-bukkit:1.0.0")
compileOnly("me.clip:placeholderapi:2.11.7")
compileOnly("me.clip:placeholderapi:2.12.1")
compileOnly("net.william278:papiproxybridge:1.8.4")
implementation("org.semver4j:semver4j:6.0.0")
implementation("de.marhali:json5-java:3.0.0")
implementation("net.kyori:adventure-text-minimessage:4.26.1")
implementation("net.kyori:adventure-text-serializer-legacy:4.26.1")
implementation("com.github.seancfoley:ipaddress:5.5.1")
implementation("com.github.seancfoley:ipaddress:5.6.1")
implementation("org.bstats:bstats-bukkit:3.1.0")
implementation("org.bstats:bstats-bungeecord:3.1.0")
implementation("org.bstats:bstats-velocity:3.1.0")
@@ -174,7 +174,7 @@ tasks.withType<RunServer>().configureEach {
jvmArgs("-Dcom.mojang.eula.agree=true")
downloadPlugins {
github("lax1dude", "eaglerxserver", "v" + EAGXS_VER, "EaglerXServer.jar")
modrinth("placeholderapi", "2.11.7")
modrinth("placeholderapi", "2.12.1")
}
}

View File

@@ -97,9 +97,6 @@ public final class OriginBlacklist {
if (this.isMetricsEnabled()) {
this.metrics.start();
}
this.plugin.scheduleRepeat(() -> {
this.plugin.log(EnumLogLevel.INFO, String.valueOf(this.isMetricsEnabled()));
}, 1, TimeUnit.SECONDS);
}
public final void shutdown() {
@@ -271,11 +268,13 @@ public final class OriginBlacklist {
} finally {
conn.disconnect();
}
if (Files.exists(upd)) {
Files.delete(jar);
Files.delete(bak);
this.jarFile = upd;
action1.run();
return;
}
} catch (final Throwable t) {
Files.move(bak, jar, StandardCopyOption.REPLACE_EXISTING);
throw t;