What is this nodebb-script magic that I must've missed.
Edit: nvm I'm dumb and didn't read enough. Haven't had my coffee yet.
Is there a plugin that works with vanilla Minecraft?
Like this one written in PHP : https://github.com/pdinklag/MinecraftStats/blob/master/README.md
@yariplus <-- this plugin parces the stats JSON files.
Solution for vanilla?
nodebb-widget-minecraft-essentials should work on vanilla.
Yeah sure, but then I only get users online and no user stats.
Minecraft vanilla can't use any plugins. Would it be possible to read the raw stats JSON files and get it working that way. I could copy the stats JSON files with cronjobs into nodebb tmp for and then you could parce the files directly.
Maybe this should be a separate plugin. All info exists in the users stat files that is plain JSON.
@yariplus maybe you can create nodebb-plugin-minecraft-vanilla that reads the stats files (crontab to move files from Minecraft root into nodebb tmp cache)
I can help with the testing
It would work with all Minecraft servers (bukit, vanilla, and more )
Oh. Yes, I see no reason why that wouldn't work.
If as a seperate plugin nodebb-plugin-minecraft-stats would be more descriptive.
@yariplus Yeah, that's a better name for it. Maybe this could be a fun todo projekt. It would be easy to fix this in PHP but nodejs is better. Problem is that It takes too long time to for me (write and understand) nodebb and nodejs.