mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
Compare commits
2 Commits
c7fb3b0b92
...
ef5109444e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef5109444e | ||
|
|
878fee61e7 |
@@ -15,12 +15,5 @@ allprojects {
|
||||
maven("https://repo.papermc.io/repository/maven-public/")
|
||||
maven("https://repo.fancyinnovations.com/releases")
|
||||
maven(url = "https://jitpack.io")
|
||||
maven("https://maven-prs.papermc.io/Paper/pr13194") {
|
||||
name = "Maven for PR #13194" // https://github.com/PaperMC/Paper/pull/13194
|
||||
mavenContent {
|
||||
includeModule("io.papermc.paper", "dev-bundle")
|
||||
includeModule("io.papermc.paper", "paper-api")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.util.List;
|
||||
|
||||
public enum ServerVersion {
|
||||
|
||||
v1_21_11("1.21.11", 774),
|
||||
v1_21_11("1.21.11 Pre-Release 3", 774),
|
||||
v1_21_10("1.21.10", 773),
|
||||
v1_21_9("1.21.9", 773),
|
||||
v1_21_8("1.21.8", 772),
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.1
|
||||
1.0.1.33
|
||||
@@ -85,14 +85,14 @@ paper {
|
||||
|
||||
tasks {
|
||||
runServer {
|
||||
minecraftVersion("1.21.10")
|
||||
minecraftVersion("1.21.11-pre3")
|
||||
|
||||
downloadPlugins {
|
||||
modrinth("fancynpcs", "2.8.0")
|
||||
// modrinth("fancynpcs", "2.8.0")
|
||||
// hangar("ViaVersion", "5.3.2")
|
||||
// hangar("ViaBackwards", "5.3.2")
|
||||
// modrinth("multiverse-core", "4.3.11")
|
||||
hangar("PlaceholderAPI", "2.11.6")
|
||||
// hangar("PlaceholderAPI", "2.11.6")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"1.21.7",
|
||||
"1.21.8",
|
||||
"1.21.9",
|
||||
"1.21.10"
|
||||
"1.21.10",
|
||||
"1.21.11"
|
||||
],
|
||||
"channel": "RELEASE",
|
||||
"loaders": [
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"1.21.7",
|
||||
"1.21.8",
|
||||
"1.21.9",
|
||||
"1.21.10"
|
||||
"1.21.10",
|
||||
"1.21.11-pre3"
|
||||
],
|
||||
"channel": "BETA",
|
||||
"loaders": [
|
||||
|
||||
@@ -1 +1 @@
|
||||
2.8.0.160
|
||||
2.8.0.161
|
||||
@@ -90,7 +90,7 @@ paper {
|
||||
|
||||
tasks {
|
||||
runServer {
|
||||
minecraftVersion("1.21.10")
|
||||
minecraftVersion("1.21.11-pre3")
|
||||
|
||||
downloadPlugins {
|
||||
// modrinth("fancynpcs", "2.5.2")
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
"1.21.7",
|
||||
"1.21.8",
|
||||
"1.21.9",
|
||||
"1.21.10"
|
||||
"1.21.10",
|
||||
"1.21.11-pre3"
|
||||
],
|
||||
"channel": "BETA",
|
||||
"loaders": [
|
||||
|
||||
@@ -1 +1 @@
|
||||
3.0.0-SNAPSHOT.11
|
||||
3.0.0-SNAPSHOT.12
|
||||
@@ -96,7 +96,7 @@ paper {
|
||||
|
||||
tasks {
|
||||
runServer {
|
||||
minecraftVersion("1.21.10")
|
||||
minecraftVersion("1.21.11-pre3")
|
||||
|
||||
downloadPlugins {
|
||||
modrinth("fancynpcs", "2.7.0")
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"1.21.8",
|
||||
"1.21.9",
|
||||
"1.21.10",
|
||||
"1.21.11",
|
||||
"1.21.11"
|
||||
],
|
||||
"channel": "RELEASE",
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
"1.21.7",
|
||||
"1.21.8",
|
||||
"1.21.9",
|
||||
"1.21.10"
|
||||
"1.21.10",
|
||||
"1.21.11-pre3"
|
||||
],
|
||||
"channel": "ALPHA",
|
||||
"loaders": [
|
||||
|
||||
@@ -1 +1 @@
|
||||
2.8.1
|
||||
2.8.1.313
|
||||
@@ -95,7 +95,7 @@ paper {
|
||||
|
||||
tasks {
|
||||
runServer {
|
||||
minecraftVersion("1.21.10")
|
||||
minecraftVersion("1.21.11-pre3")
|
||||
|
||||
downloadPlugins {
|
||||
// hangar("ViaVersion", "5.4.0")
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
"1.21.7",
|
||||
"1.21.8",
|
||||
"1.21.9",
|
||||
"1.21.10"
|
||||
"1.21.10",
|
||||
"1.21.11"
|
||||
],
|
||||
"channel": "RELEASE",
|
||||
"loaders": [
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
"1.21.7",
|
||||
"1.21.8",
|
||||
"1.21.9",
|
||||
"1.21.10"
|
||||
"1.21.10",
|
||||
"1.21.11-pre3"
|
||||
],
|
||||
"channel": "BETA",
|
||||
"loaders": [
|
||||
|
||||
@@ -31,7 +31,7 @@ public class AttributeManagerImpl implements AttributeManager {
|
||||
private void init() {
|
||||
String mcVersion = Bukkit.getMinecraftVersion();
|
||||
switch (mcVersion) {
|
||||
case "1.21.11" -> attributes = Attributes_1_21_11.getAllAttributes();
|
||||
case "1.21.11 Pre-Release 3" -> attributes = Attributes_1_21_11.getAllAttributes();
|
||||
case "1.21.9", "1.21.10" -> attributes = Attributes_1_21_9.getAllAttributes();
|
||||
case "1.21.6", "1.21.7", "1.21.8" -> attributes = Attributes_1_21_6.getAllAttributes();
|
||||
case "1.21.5" -> attributes = Attributes_1_21_5.getAllAttributes();
|
||||
|
||||
@@ -164,7 +164,7 @@ public class FancyNpcs extends JavaPlugin implements FancyNpcsPlugin {
|
||||
String mcVersion = Bukkit.getMinecraftVersion();
|
||||
|
||||
switch (mcVersion) {
|
||||
case "1.21.11" -> npcAdapter = Npc_1_21_11::new;
|
||||
case "1.21.11 Pre-Release 3" -> npcAdapter = Npc_1_21_11::new;
|
||||
case "1.21.9", "1.21.10" -> npcAdapter = Npc_1_21_9::new;
|
||||
case "1.21.6", "1.21.7", "1.21.8" -> npcAdapter = Npc_1_21_6::new;
|
||||
case "1.21.5" -> npcAdapter = Npc_1_21_5::new;
|
||||
@@ -277,7 +277,7 @@ public class FancyNpcs extends JavaPlugin implements FancyNpcsPlugin {
|
||||
pluginManager.registerEvents(new PlayerTeleportListener(), instance);
|
||||
pluginManager.registerEvents(new PlayerChangedWorldListener(), instance);
|
||||
pluginManager.registerEvents(skinManager, instance);
|
||||
if (Set.of("1.21.4", "1.21.5", "1.21.6", "1.21.7", "1.21.8", "1.21.9", "1.21.10", "1.21.11").contains(Bukkit.getMinecraftVersion())) {
|
||||
if (Set.of("1.21.4", "1.21.5", "1.21.6", "1.21.7", "1.21.8", "1.21.9", "1.21.10", "1.21.11 Pre-Release 3").contains(Bukkit.getMinecraftVersion())) {
|
||||
getServer().getPluginManager().registerEvents(new PlayerLoadedListener(), this);
|
||||
}
|
||||
|
||||
|
||||
@@ -33,8 +33,8 @@ import org.incendo.cloud.parser.standard.EnumParser;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
|
||||
import static org.incendo.cloud.exception.handling.ExceptionHandler.unwrappingHandler;
|
||||
|
||||
@@ -199,7 +199,7 @@ public final class CloudCommandManager {
|
||||
annotationParser.parse(FancyNpcsDebugCMD.INSTANCE);
|
||||
}
|
||||
|
||||
if (Set.of("1.20.5", "1.20.6", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4", "1.21.5", "1.21.6", "1.21.7", "1.21.8", "1.21.9", "1.21.10", "1.21.11").contains(Bukkit.getMinecraftVersion())) {
|
||||
if (Set.of("1.20.5", "1.20.6", "1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4", "1.21.5", "1.21.6", "1.21.7", "1.21.8", "1.21.9", "1.21.10", "1.21.11 Pre-Release 3").contains(Bukkit.getMinecraftVersion())) {
|
||||
annotationParser.parse(ScaleCMD.INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user