SHOW:
|
|
- or go back to the newest paste.
| 1 | - | http://shop.static-interface.com's Jobs Plugin example config |
| 1 | + | http://shop.static-interface.com's Advanced ItemRestrictions example config |
| 2 | <?xml version="1.0" encoding="utf-8"?> | |
| 3 | - | <JobsRPConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| 3 | + | <RestrictionConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| 4 | - | <Jobs> |
| 4 | + | <Restrictions> |
| 5 | - | <Job> |
| 5 | + | <Restriction> |
| 6 | - | <Name>Police</Name> |
| 6 | + | <Items> |
| 7 | - | <PermissionGroup>police</PermissionGroup> |
| 7 | + | <unsignedShort>519</unsignedShort> |
| 8 | - | <MaxPlayers>10</MaxPlayers> |
| 8 | + | <unsignedShort>520</unsignedShort> |
| 9 | - | <PermissionToJoin>job.police</PermissionToJoin> |
| 9 | + | <unsignedShort>1300</unsignedShort> |
| 10 | - | </Job> |
| 10 | + | <unsignedShort>1301</unsignedShort> |
| 11 | - | <Job> |
| 11 | + | <unsignedShort>1302</unsignedShort> |
| 12 | - | <Name>Taxi</Name> |
| 12 | + | </Items> |
| 13 | - | <PermissionGroup>taxi</PermissionGroup> |
| 13 | + | <IgnorePermission>restrict.allowlauncher</IgnorePermission> |
| 14 | - | <MaxPlayers>0</MaxPlayers> |
| 14 | + | </Restriction> |
| 15 | - | <PermissionToJoin>job.taxi</PermissionToJoin> |
| 15 | + | <Restriction> |
| 16 | - | </Job> |
| 16 | + | <Items> |
| 17 | - | </Jobs> |
| 17 | + | <unsignedShort>1015</unsignedShort> |
| 18 | - | <AnnounceJobJoin>true</AnnounceJobJoin> |
| 18 | + | <unsignedShort>1016</unsignedShort> |
| 19 | - | <MinSecondsForLeave>500</MinSecondsForLeave> |
| 19 | + | <unsignedShort>1017</unsignedShort> |
| 20 | - | </JobsRPConfiguration> |
| 20 | + | </Items> |
| 21 | <IgnorePermission>restrict.allowbiohazard</IgnorePermission> | |
| 22 | </Restriction> | |
| 23 | </Restrictions> | |
| 24 | </RestrictionConfig> |