mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 05:26:55 +00:00
Update dependencies and configuration for MC 1.21.11
This commit is contained in:
+15
-14
@@ -3,8 +3,8 @@ import java.text.SimpleDateFormat
|
||||
import java.util.*
|
||||
|
||||
plugins {
|
||||
id("net.kyori.indra.git") version "3.1.3"
|
||||
id("de.eldoria.plugin-yml.paper") version "0.7.1"
|
||||
id("net.kyori.indra.git") version "4.0.0"
|
||||
id("de.eldoria.plugin-yml.paper") version "0.8.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -14,25 +14,22 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
library("org.projectlombok:lombok:1.18.42")
|
||||
library("org.json:json:20250517")
|
||||
library("commons-io:commons-io:2.20.0")
|
||||
library("redis.clients:jedis:7.0.0")
|
||||
library("org.mariadb.jdbc:mariadb-java-client:3.5.6")
|
||||
library("com.zaxxer:HikariCP:6.3.3")
|
||||
library("org.apache.maven.resolver:maven-resolver-transport-http:1.9.24")
|
||||
library("org.json:json:20251224")
|
||||
library("commons-io:commons-io:2.21.0")
|
||||
library("redis.clients:jedis:7.2.0")
|
||||
library("org.mariadb.jdbc:mariadb-java-client:3.5.7")
|
||||
library("com.zaxxer:HikariCP:7.0.2")
|
||||
library("org.apache.maven.resolver:maven-resolver-transport-http:1.9.25")
|
||||
library("org.jetbrains:annotations:26.0.2")
|
||||
compileOnly("io.papermc.paper:paper-api:1.21.10-R0.1-SNAPSHOT")
|
||||
compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
|
||||
compileOnly("com.github.MilkBowl:VaultAPI:1.7.1") {
|
||||
exclude("org.bukkit", "bukkit")
|
||||
}
|
||||
compileOnly("net.coreprotect:coreprotect:22.4")
|
||||
compileOnly("net.coreprotect:coreprotect:23.1")
|
||||
compileOnly("network.darkhelmet.prism:Prism-Api:1.0.0")
|
||||
compileOnly("com.github.LeonMangler:SuperVanish:6.2.19")
|
||||
|
||||
implementation("org.bstats:bstats-base:3.1.0")
|
||||
implementation("org.bstats:bstats-bukkit:3.1.0")
|
||||
|
||||
|
||||
annotationProcessor("org.projectlombok:lombok:1.18.42")
|
||||
}
|
||||
|
||||
@@ -108,6 +105,10 @@ tasks {
|
||||
dependsOn(shadowJar)
|
||||
}
|
||||
|
||||
generatePaperPluginDescription {
|
||||
useGoogleMavenCentralProxy()
|
||||
}
|
||||
|
||||
jar {
|
||||
enabled = false
|
||||
}
|
||||
@@ -119,7 +120,7 @@ tasks {
|
||||
property("author", if (System.getenv("JENKINS_URL") != null) "jenkins" else System.getProperty("user.name"))
|
||||
property("buildNumber", if (System.getenv("BUILD_NUMBER") != null) System.getenv("BUILD_NUMBER") else getBuildNumber())
|
||||
property("date", SimpleDateFormat("MM/dd/yyyy '<light_purple>at<gold>' hh:mm:ss a z").format(Date()))
|
||||
property("gitCommit", indraGit.commit()?.name?.take(7))
|
||||
property("gitCommit", indraGit.commit().get().name.take(7))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,10 +42,6 @@ public class PlexLibraryManager implements PluginLoader
|
||||
try (var in = getClass().getResourceAsStream("/paper-libraries.json"))
|
||||
{
|
||||
PluginLibraries libraries = new Gson().fromJson(new InputStreamReader(in, StandardCharsets.UTF_8), PluginLibraries.class);
|
||||
|
||||
// Patch the MavenRepo to use the default mirror
|
||||
libraries.repositories.put("MavenRepo", MavenLibraryResolver.MAVEN_CENTRAL_DEFAULT_MIRROR);
|
||||
|
||||
return libraries;
|
||||
}
|
||||
catch (IOException e)
|
||||
|
||||
@@ -60,15 +60,23 @@ data:
|
||||
# By default this includes all mobs, as the mobpurge command can be used to purge mobs.
|
||||
entitywipe_list:
|
||||
- "ITEM_FRAME"
|
||||
- "ALLAY"
|
||||
- "ARMADILLO"
|
||||
- "AXOLOTL"
|
||||
- "BAT"
|
||||
- "BEE"
|
||||
- "BLAZE"
|
||||
- "BOGGED"
|
||||
- "BREEZE"
|
||||
- "CAMEL"
|
||||
- "CAMEL_HUSK"
|
||||
- "CAT"
|
||||
- "CAVE_SPIDER"
|
||||
- "CHICKEN"
|
||||
- "COD"
|
||||
- "COPPER_GOLEM"
|
||||
- "COW"
|
||||
- "CREAKING"
|
||||
- "CREEPER"
|
||||
- "DOLPHIN"
|
||||
- "DONKEY"
|
||||
@@ -79,11 +87,13 @@ entitywipe_list:
|
||||
- "ENDERMITE"
|
||||
- "EVOKER"
|
||||
- "FOX"
|
||||
- "FROG"
|
||||
- "GHAST"
|
||||
- "GIANT"
|
||||
- "GLOW_SQUID"
|
||||
- "GOAT"
|
||||
- "GUARDIAN"
|
||||
- "HAPPY_GHAST"
|
||||
- "HOGLIN"
|
||||
- "HORSE"
|
||||
- "HUSK"
|
||||
@@ -93,8 +103,10 @@ entitywipe_list:
|
||||
- "MAGMA_CUBE"
|
||||
- "MULE"
|
||||
- "MUSHROOM_COW"
|
||||
- "NAUTILUS"
|
||||
- "OCELOT"
|
||||
- "PANDA"
|
||||
- "PARCHED"
|
||||
- "PARROT"
|
||||
- "PHANTOM"
|
||||
- "PIG"
|
||||
@@ -102,6 +114,7 @@ entitywipe_list:
|
||||
- "PIGLIN_BRUTE"
|
||||
- "PILLAGER"
|
||||
- "POLAR_BEAR"
|
||||
- "PUFFERFISH"
|
||||
- "RABBIT"
|
||||
- "RAVAGER"
|
||||
- "SALMON"
|
||||
@@ -111,11 +124,13 @@ entitywipe_list:
|
||||
- "SKELETON"
|
||||
- "SKELETON_HORSE"
|
||||
- "SLIME"
|
||||
- "SNIFFER"
|
||||
- "SNOWMAN"
|
||||
- "SPIDER"
|
||||
- "SQUID"
|
||||
- "STRAY"
|
||||
- "STRIDER"
|
||||
- "TADPOLE"
|
||||
- "TRADER_LLAMA"
|
||||
- "TROPICAL_FISH"
|
||||
- "TURTLE"
|
||||
@@ -123,6 +138,7 @@ entitywipe_list:
|
||||
- "VILLAGER"
|
||||
- "VINDICATOR"
|
||||
- "WANDERING_TRADER"
|
||||
- "WARDEN"
|
||||
- "WITCH"
|
||||
- "WITHER"
|
||||
- "WITHER_SKELETON"
|
||||
@@ -130,9 +146,9 @@ entitywipe_list:
|
||||
- "ZOGLIN"
|
||||
- "ZOMBIE"
|
||||
- "ZOMBIE_HORSE"
|
||||
- "ZOMBIE_NAUTILUS"
|
||||
- "ZOMBIE_VILLAGER"
|
||||
- "ZOMBIFIED_PIGLIN"
|
||||
- "PUFFERFISH"
|
||||
|
||||
# Automatically wipe the specified entities
|
||||
autowipe:
|
||||
@@ -168,19 +184,23 @@ entity_limit:
|
||||
# See https://docs.plex.us.org/docs/customization/config#worlds for documentation
|
||||
# These gamerules apply to all worlds on the server
|
||||
global_gamerules:
|
||||
- "doWeatherCycle;true"
|
||||
- "doDaylightCycle;true"
|
||||
- "doMobSpawning;false"
|
||||
- "keepInventory;true"
|
||||
- "doFireTick;false"
|
||||
- "doMobLoot;false"
|
||||
- "mobGriefing;false"
|
||||
- "doTileDrops;false"
|
||||
- "commandBlockOutput;false"
|
||||
- "naturalRegeneration;true"
|
||||
- "announceAdvancements;false"
|
||||
- "showDeathMessages;false"
|
||||
- "sendCommandFeedback;false"
|
||||
- "advance_weather;true"
|
||||
- "advance_time;true"
|
||||
- "spawn_mobs;false"
|
||||
- "spawn_monsters;false"
|
||||
- "spawn_patrols;false"
|
||||
- "spawn_phantoms;false"
|
||||
- "spawn_wandering_traders;false"
|
||||
- "spawn_wardens;false"
|
||||
- "keep_inventory;true"
|
||||
- "mob_drops;false"
|
||||
- "mob_griefing;false"
|
||||
- "block_drops;false"
|
||||
- "command_block_output;false"
|
||||
- "natural_health_regeneration;true"
|
||||
- "show_advancement_messages;false"
|
||||
- "show_death_messages;false"
|
||||
- "send_command_feedback;false"
|
||||
|
||||
worlds:
|
||||
flatlands:
|
||||
@@ -190,8 +210,8 @@ worlds:
|
||||
message: "<red>You do not have permission to modify this world."
|
||||
gameRules:
|
||||
# The gamerules here override the global gamerules
|
||||
- "doWeatherCycle;false"
|
||||
- "doDaylightCycle;false"
|
||||
- "advance_weather;false"
|
||||
- "advance_time;false"
|
||||
parameters:
|
||||
grass_block: 1
|
||||
dirt: 32
|
||||
@@ -206,8 +226,8 @@ worlds:
|
||||
permission: "plex.world.adminworld.modify"
|
||||
message: "<red>You do not have permission to modify this world."
|
||||
gameRules:
|
||||
- "doWeatherCycle;false"
|
||||
- "doDaylightCycle;false"
|
||||
- "advance_weather;false"
|
||||
- "advance_time;false"
|
||||
parameters:
|
||||
grass_block: 1
|
||||
dirt: 32
|
||||
@@ -222,8 +242,8 @@ worlds:
|
||||
permission: "plex.world.masterbuilderworld.modify"
|
||||
message: "<red>You do not have permission to modify this world."
|
||||
gameRules:
|
||||
- "doWeatherCycle;false"
|
||||
- "doDaylightCycle;false"
|
||||
- "advance_weather;false"
|
||||
- "advance_time;false"
|
||||
parameters:
|
||||
grass_block: 1
|
||||
dirt: 32
|
||||
|
||||
Reference in New Issue
Block a user