Skip to content

Commit a2c6d5e

Browse files
addendum
1 parent b4e4ee9 commit a2c6d5e

File tree

3,056 files changed

+38519
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,056 files changed

+38519
-0
lines changed

functions/ACL/aclCreate.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclCreate
2+
server:
3+
name: aclCreate
4+
description: This function creates an ACL entry in the Access Control List system
5+
with the specified name.
6+
parameters: []
7+
examples:
8+
- path: examples/aclCreate-1.lua
9+
description: This example adds a commandsetaclrightwith which you can easily add
10+
new rights to specified access control lists.
11+
side: server
12+
incomplete: true

functions/ACL/aclCreateGroup.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclCreateGroup
2+
server:
3+
name: aclCreateGroup
4+
description: This function creates a group in the ACL. An ACL group can contain
5+
objects like players and resources. They specify who has access to the ACL's in
6+
this group.
7+
parameters: []
8+
examples:
9+
- path: examples/aclCreateGroup-1.lua
10+
description: This example adds a commandaddobjecttogroupwith which you can easily
11+
add new objects to specified access control list groups.
12+
side: server
13+
incomplete: true

functions/ACL/aclDestroy.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclDestroy
2+
server:
3+
name: aclDestroy
4+
description: This function destroys the ACL passed. The destroyed ACL will no longer
5+
be valid.
6+
parameters: []
7+
examples:
8+
- path: examples/aclDestroy-1.lua
9+
description: 'This example shows you a command to delete an ACL:'
10+
side: server
11+
incomplete: true

functions/ACL/aclDestroyGroup.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclDestroyGroup
2+
server:
3+
name: aclDestroyGroup
4+
description: This function destroys the given ACL group. The destroyed ACL group
5+
will no longer be valid.
6+
parameters: []
7+
examples:
8+
- path: examples/aclDestroyGroup-1.lua
9+
description: This example allows admins to remove an ACL group they specify.
10+
side: server
11+
incomplete: true

functions/ACL/aclGet.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclGet
2+
server:
3+
name: aclGet
4+
description: Get the ACL with the given name. If need to get most of the ACL's,
5+
you should consider using [aclList](/wiki/AclList "AclList") to get a table of
6+
them all.
7+
parameters: []
8+
examples:
9+
- path: examples/aclGet-1.lua
10+
description: This example adds a commandsetaclrightwith which you can easily add
11+
new rights to specified access control lists.
12+
side: server
13+
incomplete: true

functions/ACL/aclGetGroup.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclGetGroup
2+
server:
3+
name: aclGetGroup
4+
description: This function is used to get the ACL group with the given name. If
5+
you need most of the groups you should consider using [aclGroupList](/wiki/AclGroupList
6+
"AclGroupList") instead to get a table containing them all.
7+
parameters: []
8+
examples:
9+
- path: examples/aclGetGroup-1.lua
10+
description: Example 1:This example makes every player able to use a command named
11+
"giveAccountAdminRights" that will add a specific accountname as an ACL object
12+
to the "Admin" group.
13+
side: server
14+
- path: examples/aclGetGroup-2.lua
15+
description: 'Example 2:This example displays a list of all the online admins
16+
in the chat box (assuming your administrator''s group in your ACL is called
17+
''admin''):'
18+
side: server
19+
incomplete: true

functions/ACL/aclGetName.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclGetName
2+
server:
3+
name: aclGetName
4+
description: Get the name of given ACL.
5+
parameters: []
6+
examples:
7+
- path: examples/aclGetName-1.lua
8+
description: This example adds a commandlistaclswhich prints out a name list of
9+
all ACLs to the console.
10+
side: server
11+
incomplete: true

functions/ACL/aclGetRight.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclGetRight
2+
server:
3+
name: aclGetRight
4+
description: This function returns whether the access for the given right is set
5+
to true or false in the ACL.
6+
parameters: []
7+
examples:
8+
- path: examples/aclGetRight-1.lua
9+
description: This example lets players check if an ACL group has access to something
10+
or not.
11+
side: server
12+
pair: aclSetRight
13+
incomplete: true

functions/ACL/aclGroupAddACL.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclGroupAddACL
2+
server:
3+
name: aclGroupAddACL
4+
description: This function adds the given ACL to the given ACL group. This makes
5+
the resources and players in the given ACL group have access to what's specified
6+
in the given ACL. The rights for something in the different ACL's in a group are
7+
OR\-ed together, which means if one ACL gives access to something, this ACL group
8+
will have access to that.
9+
parameters: []
10+
examples:
11+
- path: examples/aclGroupAddACL-1.lua
12+
description: This example adds a commandaddAclGroupwith which you can easily add
13+
new access control lists to specified acl Groups.
14+
side: server
15+
incomplete: true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Scraped from: https://wiki.multitheftauto.com/wiki/AclGroupAddObject
2+
server:
3+
name: aclGroupAddObject
4+
description: 'This function adds an object to the given ACL group. An object can
5+
be a player''s account, specified as:'
6+
parameters: []
7+
examples:
8+
- path: examples/aclGroupAddObject-1.lua
9+
description: This example makes every player able to use a command named "giveAccountAdminRights"
10+
that will add a specific accountname as an ACL object to the "Admin" group.
11+
side: server
12+
incomplete: true

0 commit comments

Comments
 (0)