syorito-hatsuki / bluemap-custom-skin-server Goto Github PK
View Code? Open in Web Editor NEWSimple addon for BlueMap that allows using a custom skin server.
Home Page: https://modrinth.com/mod/bcss
License: MIT License
Simple addon for BlueMap that allows using a custom skin server.
Home Page: https://modrinth.com/mod/bcss
License: MIT License
Would it be feasible to add support for avatar image URLs? Some skin servers don't provide APIs for querying skin texture images by username or UID.
Minecraft: 1.20.4
Fabric: 0.15.6
FabricAPI: 0.95.0
Fabric-language-kotlin-1.10.17+kotlin.1.9.22.jar
Bluemap: 3.20
BCSS: 3032.11.1
When player join the server, the following error message appears in the terminal,and the player's skin cannot be loaded correctly. I have tried to enable debug output, but there is no more helpful information.
[22:56:49] [main/ERROR]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'bluemap_custom_skin_server'!
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.21.jar:?]
at net.minecraft.server.Main.main(Main.java:112) ~[server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~[fabric-server-mc.1.20.1-loader.0.14.21-launcher.0.11.2.jar:0.11.2]
Caused by: java.lang.NoSuchFieldError: INSTANCE
at dev.syoritohatsuki.bluemapcustomskinserver.BlueMapCustomSkinServerAddon.onInitialize(BlueMapCustomSkinServerAddon.kt:22) ~[bluemap-custom-skin-server-2023.8.1.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?]
... 8 more
`java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'bluemap_custom_skin_server'!
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.21.jar:?]
at net.minecraft.server.Main.main(Main.java:112) ~[server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.21.jar:?]
Caused by: java.lang.NoClassDefFoundError: dev/syoritohatsuki/duckyupdater/DuckyUpdater
at dev.syoritohatsuki.bluemapcustomskinserver.BlueMapCustomSkinServerAddon.onInitialize(BlueMapCustomSkinServerAddon.kt:22) ~[bluemap-custom-skin-server-2023.6.1.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?]
... 7 more
Caused by: java.lang.ClassNotFoundException: dev.syoritohatsuki.duckyupdater.DuckyUpdater
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.21.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at dev.syoritohatsuki.bluemapcustomskinserver.BlueMapCustomSkinServerAddon.onInitialize(BlueMapCustomSkinServerAddon.kt:22) ~[bluemap-custom-skin-server-2023.6.1.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?]
... 7 more`
Fabric api - 0.85.0
Kotlin - 1.10.8-1.9.0
BlueMap - 3.16
I change "customSkinserverurl" from"http://localhost/" to "https://auth.mc-user.com:233/f34896540b0211ed9cdc00163e095b49/sessionserver/session/minecraft/profile/"
player data should be https://auth.mc-user.com:233/f34896540b0211ed9cdc00163e095b49/sessionserver/session/minecraft/profile/db34ec2d6d0c3e42923e99fa9dad3cf5
(I checked the json it return is the same format as Mojang one)
I decoded that base64 value it also is same format as mojang one...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.