TotalFreedom / TotalFreedomMod

A server modification for the TotalFreedom server
http://totalfreedom.me/
Other
43 stars 224 forks source link

Logviewer's config isn't updating #2107

Open robingall2910 opened 7 years ago

robingall2910 commented 7 years ago

Logviewer's configuration doesn't update once someone ingame has done /logs. It basically just stays the same that it still requires a password.

untuned commented 7 years ago

Note, this is only for the old logviewer. (http://madgeekonline.com/apps/logviewer/)

LiamTownsley commented 7 years ago

Due to it being IPv4 you may have an IPv6 IP

LiamTownsley commented 7 years ago

So go on the admin server type /logs and it registers to the new logs

ghost commented 7 years ago

The new logviewer should have IPv6 functionality, the fact is I have this problem as well. The new logviewer does not work at all for me.

ghost commented 7 years ago

And the code here has been updated for the new logviewer btw.

JeromSar commented 7 years ago

Minecraft does not support IPv6 if I'm correct, so I assume the problem then lies with the the web browser connecting as an IPv6 address. Perhaps @StevenLawson could look into this and force IPv4 browsing.

StevenLawson commented 7 years ago

The latest version of the logviewer & TFM's logviewer registration script (on devel) shouldn't be affected by IPv6/IPv4 issues. Instead of relying on the IP as seen by the MC server, the new registration script prompts the user to click on a link with a special, one-use key. The web server validates this key and saves whatever connecting IP that it sees.

JeromSar commented 7 years ago

Great work! @robingall2910 could you confirm the issue is fixed with the latest TFM on the devel branch?