bytemage Posted June 19, 2023 Share Posted June 19, 2023 The WebDashboard works and I created a user. It's at "Permission level: 1000", and I get "Authentication error" a lot. How do I make things happen? I'm stumped. Especially the map render mod, how do I activate it? Where do I get/set the URL to the map? Link to comment Share on other sites More sharing options...
jamie7399 Posted June 19, 2023 Share Posted June 19, 2023 if the user is you try "Permission level :0" Link to comment Share on other sites More sharing options...
jamie7399 Posted June 19, 2023 Share Posted June 19, 2023 im getting Unknown HTTP error when i try to go to the console Link to comment Share on other sites More sharing options...
bytemage Posted June 20, 2023 Author Share Posted June 20, 2023 (edited) I don't see a way to change the PL or anything else. Edited June 20, 2023 by bytemage (see edit history) Link to comment Share on other sites More sharing options...
bytemage Posted June 20, 2023 Author Share Posted June 20, 2023 fixed the PL, my bad >< but still no idea how to get the map renderer mod to work Link to comment Share on other sites More sharing options...
ZamiZ Posted June 20, 2023 Share Posted June 20, 2023 (edited) So you need to set it up the serverconfig.xml and serveradmin.xml files. In serverconfig.xml I have: <!-- Admin interfaces --> <property name="WebDashboardEnabled" value="true"/> <!-- Enable/disable the web dashboard --> <property name="WebDashboardPort" value="8080"/> <!-- Port of the web dashboard --> <property name="WebDashboardUrl" value=""/> <!-- External URL to the web dashboard if not just using the public IP of the server, e.g. if the web dashboard is behind a reverse proxy. Needs to be the full URL, like "https://domainOfReverseProxy.tld:1234/". Can be left empty if directly using the public IP and dashboard port --> <property name="EnableMapRendering" value="true"/> <!-- Enable/disable rendering of the map to tile images while exploring it. This is used e.g. by the web dashboard to display a view of the map. --> I do not have the WebDashboardUrl filled out as it says you don't need it if you are just going to access it with the IP:port. If you are hosting with a domain name, you'll need to put the full url path to the server there. https://yourdomainhere.whatever/ probably. Also make sure you have the dashboard port and +2 port forwarded. For me, this is 8080 and 8082. In serveradmin.xml I have: <webmodules> <module name="web.map" permission_level="2000" /> <module name="webapi.Command" permission_level="0"> <method name="GET" permission_level="inherit" /> <method name="POST" permission_level="inherit" /> <method name="PUT" permission_level="inherit" /> <method name="DELETE" permission_level="inherit" /> </module> </webmodules> You will have to add this to your serveradmin file. It defaults to just <webmodules />. This here will allow the public to view the map. Set the permission to 1000 to require people have logged in. All of this I got from this post. Edited June 20, 2023 by ZamiZ (see edit history) Link to comment Share on other sites More sharing options...
bytemage Posted June 20, 2023 Author Share Posted June 20, 2023 (edited) Thank you ZamiZ. I got the Dashboard working, but didn't know about the modules config. I'll try that. And extra thanks for the original post. I did search for "Dashboard" before making this post. I swear. Edited June 20, 2023 by bytemage (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now