Jump to content
  • 0

ACL GETS DELETED AFTER 5 MINS -.-


xTravax

Question

2 answers to this question

Recommended Posts

  • 0

Isn't it pretty unusual the file is empty? I'm just guessing here, but MTA might try to optimize the file and having no file instead of an 'empty' file would in fact be more optimized, so... Or it might even be a security issue and it deletes that empty file so it defaults to some kind of built in ACL

What if you add this code that should have been there in in the first place:

  
<acl> 
   <group name="Everyone"> 
      <acl name="Default"/> 
      <object name="user.*"/> 
      <object name="resource.*"/> 
   </group> 
  
   <acl name="Default"> 
      <right name="general.ModifyOtherObjects" access="false"/> 
      <right name="general.http" access="false"/> 
      <right name="command.start" access="false"/> 
      <right name="command.stop" access="false"/> 
      <right name="command.stopall" access="false"/> 
      <right name="command.gamemode" access="false"/> 
      <right name="command.changemode" access="false"/> 
      <right name="command.changemap" access="false"/> 
      <right name="command.stopmode" access="false"/> 
      <right name="command.stopmap" access="false"/> 
      <right name="command.skipmap" access="false"/> 
      <right name="command.restart" access="false"/> 
      <right name="command.refresh" access="false"/> 
      <right name="command.refreshall" access="false"/> 
      <right name="command.addaccount" access="false"/> 
      <right name="command.delaccount" access="false"/> 
      <right name="command.debugscript" access="false"/> 
      <right name="command.chgpass" access="false"/> 
      <right name="command.loadmodule" access="false"/> 
      <right name="command.upgrade" access="false"/> 
      <right name="command.mute" access="false"/> 
      <right name="command.crun" access="false"/> 
      <right name="command.srun" access="false"/> 
      <right name="command.run" access="false"/> 
      <right name="command.unmute" access="false"/> 
      <right name="command.kick" access="false"/> 
      <right name="command.ban" access="false"/> 
      <right name="command.banip" access="false"/> 
      <right name="command.unbanip" access="false"/> 
      <right name="command.shutdown" access="false"/> 
      <right name="command.install" access="false"/> 
      <right name="command.aexec" access="false"/> 
      <right name="command.whois" access="false"/> 
      <right name="command.whowas" access="false"/> 
      <right name="function.executeCommandHandler" access="false"/> 
      <right name="function.setPlayerMuted" access="false"/> 
      <right name="function.addAccount" access="false"/> 
      <right name="function.addBan" access="false"/> 
      <right name="function.removeBan" access="false"/> 
      <right name="function.removeAccount" access="false"/> 
      <right name="function.setAccountPassword" access="false"/> 
      <right name="function.kickPlayer" access="false"/> 
      <right name="function.banIP" access="false"/> 
      <right name="function.banPlayer" access="false"/> 
      <right name="function.banSerial" access="false"/> 
      <right name="function.getBansXML" access="false"/> 
      <right name="function.unbanIP" access="false"/> 
      <right name="function.unbanSerial" access="false"/> 
      <right name="function.getClientIP" access="false"/> 
      <right name="function.setServerPassword" access="false"/> 
      <right name="function.getServerPassword" access="false"/> 
      <right name="function.callRemote" access="false"/> 
      <right name="function.startResource" access="false"/> 
      <right name="function.stopResource" access="false"/> 
      <right name="function.restartResource" access="false"/> 
      <right name="function.createResource" access="false"/> 
      <right name="function.copyResource" access="false"/> 
      <right name="function.addResourceMap" access="false"/> 
      <right name="function.addResourceConfig" access="false"/> 
      <right name="function.removeResourceFile" access="false"/> 
      <right name="function.setResourceDefaultSetting" access="false"/> 
      <right name="function.removeResourceDefaultSetting" access="false"/> 
      <right name="function.redirectPlayer" access="false"/> 
      <right name="function.aclReload" access="false"/> 
      <right name="function.aclSave" access="false"/> 
      <right name="function.aclCreate" access="false"/> 
      <right name="function.aclDestroy" access="false"/> 
      <right name="function.aclSetRight" access="false"/> 
      <right name="function.aclRemoveRight" access="false"/> 
      <right name="function.aclCreateGroup" access="false"/> 
      <right name="function.aclDestroyGroup" access="false"/> 
      <right name="function.aclGroupAddACL" access="false"/> 
      <right name="function.aclGroupRemoveACL" access="false"/> 
      <right name="function.aclGroupAddObject" access="false"/> 
      <right name="function.aclGroupRemoveObject" access="false"/> 
      <right name="function.refreshResources" access="false"/> 
      <right name="function.setServerConfigSetting" access="false" /> 
      <right name="function.updateResourceACLRequest" access="false" /> 
      <right name="command.aclrequest" access="false" /> 
   </acl> 
</acl> 
  

If this fixes your problem, you should probably dig up the default file and use that, because now some of your scripts may not work anymore (search for ACL.xml or download a vanilla server and copy that one)

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...