cthegame Posted December 13, 2019 Share Posted December 13, 2019 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 More sharing options...
SylenThunder Posted December 13, 2019 Share Posted December 13, 2019 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 More sharing options...
cthegame Posted December 14, 2019 Author Share Posted December 14, 2019 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 More sharing options...
SylenThunder Posted December 14, 2019 Share Posted December 14, 2019 Most likely it would be because you have configured something incorrectly. Please provide your file. Link to comment Share on other sites More sharing options...
cthegame Posted December 14, 2019 Author Share Posted December 14, 2019 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 More sharing options...
Gamida Posted December 14, 2019 Share Posted December 14, 2019 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 More sharing options...
SylenThunder Posted December 14, 2019 Share Posted December 14, 2019 I'm also curious as to why you would give level 2000 to executeconsolecommand, and getallowedcommands. That's not a terribly smart move from a security standpoint. Link to comment Share on other sites More sharing options...
cthegame Posted December 14, 2019 Author Share Posted December 14, 2019 yea i left the top and bottom part out on purpose for this post. Ignore the actual permissions as i was just testing them. Nothing works except 0 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.