Jump to content

Webmap permissions


cthegame

Recommended Posts

No matter what permissions i set the webmap to, only admin with permission 0 can access the webmap.

 

This

<permission module="web.map" permission_level="500" />

 

or any other webmap permission will not work for anyone who doesnt have full admin permission. Someone who has permission level 500 cant access the map unless I give them the max level 0. Not sure why. Can anyone let me know what i might be doing wrong?

Link to comment
Share on other sites

Default player permission is level 1000. This means they've played on your server.

For anyone at all, you would use 2000.

 

Sample...

    <permissions>        
       <permission module="web.map" permission_level="1000" />


       <permission module="webapi.getlog" permission_level="0" />
       <permission module="webapi.executeconsolecommand" permission_level="0" />


       <permission module="webapi.getstats" permission_level="1000" />
       <permission module="webapi.getplayersonline" permission_level="1000" />


       <permission module="webapi.getplayerslocation" permission_level="1000" />
       <permission module="webapi.viewallplayers" permission_level="1" />


       <permission module="webapi.getlandclaims" permission_level="1000" />
       <permission module="webapi.viewallclaims" permission_level="1" />


       <permission module="webapi.getplayerinventory" permission_level="1" />


       <permission module="webapi.gethostilelocation" permission_level="1" />
       <permission module="webapi.getanimalslocation" permission_level="1" />
   </permissions>

Link to comment
Share on other sites

Default player permission is level 1000. This means they've played on your server.

For anyone at all, you would use 2000.

 

Sample...

    <permissions>        
       <permission module="web.map" permission_level="1000" />


       <permission module="webapi.getlog" permission_level="0" />
       <permission module="webapi.executeconsolecommand" permission_level="0" />


       <permission module="webapi.getstats" permission_level="1000" />
       <permission module="webapi.getplayersonline" permission_level="1000" />


       <permission module="webapi.getplayerslocation" permission_level="1000" />
       <permission module="webapi.viewallplayers" permission_level="1" />


       <permission module="webapi.getlandclaims" permission_level="1000" />
       <permission module="webapi.viewallclaims" permission_level="1" />


       <permission module="webapi.getplayerinventory" permission_level="1" />


       <permission module="webapi.gethostilelocation" permission_level="1" />
       <permission module="webapi.getanimalslocation" permission_level="1" />
   </permissions>

 

Thanks, but thats not the issue, what Im saying is that any permissions other that full admin wont work for some reason. No matter what i set it to, 1, 500, 1000, or 2000, none but permission level 0 has any affect and im not sure why.

Link to comment
Share on other sites

Here you go:

 

<admintokens>
	<!-- <token name="adminuser1" token="supersecrettoken" permission_level="0" /> -->
</admintokens>

<permissions>
	<permission module="webapi.getstats" permission_level="2000" />
	<permission module="webapi.executeconsolecommand" permission_level="2000" />
	<permission module="webapi.getwebuiupdates" permission_level="2000" />
	<permission module="webapi.getallowedcommands" permission_level="2000" />
	<permission module="web.map" permission_level="2000" /> 
               <permission module="webapi.getplayerslocation" permission_level="1000" />

	<!-- <permission module="webapi.getlog" permission_level="0" /> -->
	<!-- <permission module="webapi.executeconsolecommand" permission_level="0" /> -->

	<!-- <permission module="webapi.getstats" permission_level="1000" /> -->
	<!-- <permission module="webapi.getplayersonline" permission_level="1000" /> -->

	<!-- <permission module="webapi.getplayerslocation" permission_level="1000" /> -->
	<!-- <permission module="webapi.viewallplayers" permission_level="1" /> -->

	<!-- <permission module="webapi.getlandclaims" permission_level="1000" /> -->
	<!-- <permission module="webapi.viewallclaims" permission_level="1" /> -->

	<!-- <permission module="webapi.getplayerinventory" permission_level="1" /> -->

	<!-- <permission module="webapi.gethostilelocation" permission_level="1" /> -->
	<!-- <permission module="webapi.getanimalslocation" permission_level="1" /> -->
</permissions>

Link to comment
Share on other sites

Did you leave out the beginning and ending on purpose or by accident? or is it not in your file at all

 

<?xml version="1.0" encoding="UTF-8"?>

<webpermissions>

 

<admintokens>

<!-- <token name="adminuser1" token="supersecrettoken" permission_level="0" /> -->

</admintokens>

 

<permissions>

<permission module="webapi.getstats" permission_level="2000" />

<permission module="webapi.executeconsolecommand" permission_level="2000" />

<permission module="webapi.getwebuiupdates" permission_level="2000" />

<permission module="webapi.getallowedcommands" permission_level="2000" />

<permission module="web.map" permission_level="2000" />

<permission module="webapi.getplayerslocation" permission_level="1000" />

 

<!-- <permission module="webapi.getlog" permission_level="0" /> -->

<!-- <permission module="webapi.executeconsolecommand" permission_level="0" /> -->

 

<!-- <permission module="webapi.getstats" permission_level="1000" /> -->

<!-- <permission module="webapi.getplayersonline" permission_level="1000" /> -->

 

<!-- <permission module="webapi.getplayerslocation" permission_level="1000" /> -->

<!-- <permission module="webapi.viewallplayers" permission_level="1" /> -->

 

<!-- <permission module="webapi.getlandclaims" permission_level="1000" /> -->

<!-- <permission module="webapi.viewallclaims" permission_level="1" /> -->

 

<!-- <permission module="webapi.getplayerinventory" permission_level="1" /> -->

 

<!-- <permission module="webapi.gethostilelocation" permission_level="1" /> -->

<!-- <permission module="webapi.getanimalslocation" permission_level="1" /> -->

</permissions>

 

</webpermissions>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...