Skip to content

unmojang/Loki

Repository files navigation

Loki

Patch (nearly) any Minecraft version to use custom API servers

Minecraft Alpha 1.0.16 with Loki Minecraft 1.21.10 with Loki

Supported versions

Skins/capes: c0.0.18a and above

Authentication: a1.0.16 and above

Skin support was added to the game in c0.0.18a. Although multiplayer was reintroduced in a1.0.15, a1.0.16 implemented online mode functionality. This means that Loki effectively supports every Minecraft version.

Wait, what about classic servers?

Classic servers use the Classic Protocol, and while this may be supported in the future, as of now there is little incentive to do so due to the availability of significantly better clones like ClassiCube.

Are total conversion mods or obscure mod loaders supported?

They should be, but if not, please file an issue.

Java arguments

Loki supports Java arguments to enable or disable some behaviour.

  • Use Authlib-Injector URL instead of minecraft.api.*.host parameters

    -DLoki.url=https://drasl.unmojang.org
    
  • Enable debug mode (increased verbosity)

    -DLoki.debug=true
    
  • Re-enable snooper

    -DLoki.enable_snooper=true
    
  • Disable realms APIs

    -DLoki.enable_realms=false
    
  • Disable vanilla environment settings added in 1.16+, rely entirely on Loki

    -DLoki.enable_vanilla_env=false
    

Troubleshooting

I can't join the server/send chat messages due to profile public key-related errors

If you get "Chat disabled due to missing profile public key" when you try to send chat messages, you'll need to set enforce-secure-profile=false in server.properties. This problem affects 1.19.3-1.21.8.

If you are kicked for "Invalid signature for profile public key", follow the above step. Then, in addition to that, install the No Chat Reports mod on either the server or the client. This problem affects 1.19+, though it typically only occurs when joining from a fallback API server account (e.g. Mojang account fallback).

About

Patch (nearly) any Minecraft version to use custom API servers

Resources

License

Stars

Watchers

Forks

Packages

No packages published