My host doesn't provide an option via Multicraft to specify it on the command line. So I just replace the log4j2.xml file in the jar. (It's easy, because I automated it to run as part of the buildtools bat file.) I'll ask my host to add a -Dlog4j.configurationFile=log4j2.xml option. I don't know if they'll do it.
These are still pre-release builds. Not only is the Spigot team working hard to fix issues, but Mojang are still changing/fixing things. Bugs in pre-release builds are not only normal, but should be expected. That's why they are called pre-release. Given Mojang's past history, this isn't going to be ready for live servers until at least 1.18.1. I appreciate that Spigot has given us early access to these builds, but I certainly understand why they sometimes hesitate to do so.
I know. I wanted to install remapped jars in .m2 . Looks like moving those jars it needs manually into the folder they should be resolves it, but that's not really user friendly.
You just need to build without the --remapped flag. If you've already run it once with that flag, it should be present within your local maven repo so you can run it without that flag afterwards. I know this to be the case since I also ran into the same exact issue. Figured it was a feature rather than a bug, however.
No. It released pre5, and pre8, it didn't not release rc1 or pre6 .. Just read the frontpage of the site to stay up to date.
Wow, two release candidates while md_5 is sleeping... Release Candidate 3: FIXED BUGS IN 1.18 RELEASE CANDIDATE 3 MC-242859 - Blocks losing the loot inside them after dying
Two release candidates in the same day is a bit worrying. Seems like they're rushing... how many more issues will they find before Nov 30th? I suspect we'll see 1.18.1 pretty soon after launch...
Well it's 5:40 PM on a Friday in Stockholm, so that's probably all for today. I bet they're not doing regression testing for each release candidate, so who knows how many bugs they introduced.
Oops: C:\Users\Bob\Documents\Minecraft Server\Test server 1.18>java.exe -Xms2048m -Xmx4096m -Dlog4j.configurationFile=log4j2.xml -jar spigot-1.18-rc3.jar --nogui Unbundling libraries to C:\Users\Bob\Documents\Minecraft Server\Test server 1.18\bundler Unpacking spigot-1.18-rc3-R0.1-SNAPSHOT.jar (versions:spigot-1.18-rc3-R0.1-SNAPSHOT.jar) to C:\Users\Bob\Documents\Minecraft Server\Test server 1.18\bundler\versions\spigot-1.18-rc3-R0.1-SNAPSHOT.jar Unpacking snakeyaml-1.30-SNAPSHOT.jar (libraries:snakeyaml-1.30-SNAPSHOT.jar) to C:\Users\Bob\Documents\Minecraft Server\Test server 1.18\bundler\libraries\snakeyaml-1.30-SNAPSHOT.jar java.lang.IllegalStateException: Declared library snakeyaml-1.30-SNAPSHOT.jar not found at org.bukkit.craftbukkit.bootstrap.Main.extractJar(Main.java:110) at org.bukkit.craftbukkit.bootstrap.Main.checkAndExtractJar(Main.java:101) at org.bukkit.craftbukkit.bootstrap.Main.readAndExtractDir(Main.java:92) at org.bukkit.craftbukkit.bootstrap.Main.run(Main.java:44) at org.bukkit.craftbukkit.bootstrap.Main.main(Main.java:27) Failed to extract server libraries, exiting
Seems like unbundling snakeyaml 1.30-SNAPSHOT doesn't work like expected. Code (Text): Unpacking snakeyaml-1.30-SNAPSHOT.jar (libraries:snakeyaml-1.30-SNAPSHOT.jar) to /Users/ysl/mc-server/1_18/bundler/libraries/snakeyaml-1.30-SNAPSHOT.jar java.lang.IllegalStateException: Declared library snakeyaml-1.30-SNAPSHOT.jar not found at org.bukkit.craftbukkit.bootstrap.Main.extractJar(Main.java:110) at org.bukkit.craftbukkit.bootstrap.Main.checkAndExtractJar(Main.java:101) at org.bukkit.craftbukkit.bootstrap.Main.readAndExtractDir(Main.java:92) at org.bukkit.craftbukkit.bootstrap.Main.run(Main.java:44) at org.bukkit.craftbukkit.bootstrap.Main.main(Main.java:27) Failed to extract server libraries, exiting
OK, now it works. Is this called Agile Development? Looks like EssentialsX is broken in rc3. They don't like the Spigot version string (which is their problem, not Spigot's): 2021-11-26 17:20:14 [ERROR] Error occurred while enabling Essentials v2.19.1-dev+30-e4cf965 (Is it up to date?) java.lang.IllegalArgumentException: 1.18-rc3-R0.1-SNAPSHOT is not in valid version format. e.g. 1.8.8-R0.1 at com.earth2me.essentials.utils.VersionUtil$BukkitVersion.fromString(VersionUtil.java:182) ~[?:?] at com.earth2me.essentials.utils.VersionUtil.getServerBukkitVersion(VersionUtil.java:93) ~[?:?] at com.earth2me.essentials.utils.VersionUtil.getServerSupportStatus(VersionUtil.java:143) ~[?:?] at com.earth2me.essentials.Essentials.onEnable(Essentials.java:250) ~[?:?]