Jump to content

Buccaneers

AtlasMapViewer: Enable Commands

Recommended Posts

The AtlasMapViewer works pretty nice together with the AtlasTerritoryMap.

I saw in the config and also on the website itself an nice feature, where I could execute some commands on the server via the MapViewer (look here the config: https://github.com/GrapeshotGames/AtlasMapViewer/blob/master/Src/config.json#L7).

2019-02-06%2018_59_40-map.bukanier.org_.

 

I couldn't test it yet, but is this already working and how can I limit those commands only for certain users? I mean I didn't found any access control elements (e.g. username/password). Any information on this topic?

Share this post


Link to post
Share on other sites

We are also using that map viewer. However i did removed a lot of stuff from it. Since everyone can use the map (Link is in the Discord) as map. 
As for the commands, i can't really say. We just wanted a really nice map. Where you can see the location of claimed areas.
So i removed all the Beds/Ships/Spawning commands.  Example: http://213.32.6.56:8880/

Share this post


Link to post
Share on other sites

Anuls, 

It requires you to change some of the lines in mapviewer.js. (Not sure which ones exactly. it has been a while since i changed it)

I did add my mapviewer.js. 
So you only need to place it in the right folder. 

 

mapviewer.js

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...