cpburnz / minecraft-prometheus-exporter

Prometheus exporter for Minecraft.
MIT License
44 stars 8 forks source link

support for Better Minecraft Forge modpack 1.16.5? #8

Closed rohankmr414 closed 1 year ago

rohankmr414 commented 1 year ago

is it possible to use this modpack with Better Minecraft 1.16.5 forge server -> https://www.curseforge.com/minecraft/modpacks/better-mc-modpack

cpburnz commented 1 year ago

Yes, Minecraft 1.16.5 is supported. This should work with any modpack provided it uses Forge which Better Minecraft does. In fact I'm using this with an older Better Minecraft server (v29).

rohankmr414 commented 1 year ago

@cpburnz I'm trying to use it with the latest version of bettermc but it doesn't seem to work.

cpburnz commented 1 year ago

@rohankmr414 Can you expand upon what specifically is not working? Does Minecraft crash on starting the world? Can you access the exporter locally from the Minecraft server at http://127.0.0.1:19565? Can you not access the exporter from a separate computer on the network (e.g., your computer 192.168.0.111 cannot access the server at http://192.168.0.222:19565)? Can you not access the exporter from a hosted Minecraft server (e.g., http://minecraft.example.com:19565)? Are you accidentally using "https:" instead of "http:"?

In logs/latest.txt after start up, shortly after the line:

Do you see a line similar to:

[12:26:42] [Server thread/INFO]: Listening on 0.0.0.0:19565

cpburnz commented 1 year ago

@rohankmr414 I just tested this on the latest version of Better Minecraft, Better MC [FORGE] 1.16.5 v59.5, and it worked for me. I had to try starting Better MC twice because it froze during the first start (unrelated to the Prometheus mod). Once it came up, I shut it down, copied the Prometheus Exporter mod into mods/, started the server, waited a couple minutes for it to start up, and then I could access the metrics at "http://127.0.0.1:19565".

cpburnz commented 1 year ago

I'm closing this is non-reproducible. If you can provide some feedback about why it isn't working for you, I'll look into it.