Skip to content

Commit 0c70a25

Browse files
committed
Add new aclrequest info to README
1 parent db1f453 commit 0c70a25

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -121,23 +121,21 @@ Extract the \"mods\" folder into your MTA \"server\" directory.
121121

122122
Save and close mtaserver.conf.
123123

124-
- Give *amx* the necessary permissions. Open
125-
server/mods/deathmatch/acl.xml and add the following within the root
126-
`<acl>` node:
124+
- After starting the MTA server you should see the following output:
127125

128-
```xml
129-
<group name="AMX">
130-
<acl name="AMX"/>
131-
<object name="resource.amx"/>
132-
</group>
133-
<acl name="AMX">
134-
<right name="general.ModifyOtherObjects" access="true"/>
135-
<right name="function.startResource" access="true"/>
136-
<right name="function.stopResource" access="true"/>
137-
</acl>
138-
```
126+
> Resource 'amx' requests some acl rights. Use the command 'aclrequest list amx'
127+
128+
Run `aclrequest list amx` to see what ACL rights are needed, and
129+
if you are happy with the request, type `aclrequest allow amx all`.
130+
131+
The following rights are used for the following purposes:
139132

140-
Save and close acl.xml.
133+
- `general.ModifyOtherObjects`: to access files of `amx-*` resources
134+
- `function.startResource` \
135+
`function.stopResource` \
136+
`function.restartResource`:
137+
- to automatically (re)start filterscripts when `amx` starts
138+
- for rcon
141139

142140
### Migrating gamemodes, filterscripts, plugins from an SA-MP server
143141

0 commit comments

Comments
 (0)