Skip to content

Commit 4ee9cc9

Browse files
improve readme
1 parent d656e7b commit 4ee9cc9

File tree

1 file changed

+33
-17
lines changed

1 file changed

+33
-17
lines changed

README.md

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,50 +25,66 @@ The all-in-one airdrop manager for Unturned servers.
2525
* **/rocket reload airdropmanager** - Reload the AirdropManager configuration.
2626

2727
## Permissions
28-
All permissions are the same as the command names. Here are additional permissions:
2928
```xml
30-
<!-- Allows the player to specify spawn and speed. -->
29+
<!-- Recommended for all players -->
30+
<Permission Cooldown="0">whenairdrop</Permission>
31+
32+
<!-- For VIP players. Remember to set cooldowns -->
33+
<Permission Cooldown="3600">airdrop</Permission>
34+
<Permission Cooldown="3600">airdrophere</Permission>
35+
<Permission Cooldown="3600">massairdrop</Permission>
36+
37+
<!-- Allows the player to specify spawn and speed -->
3138
<Permission Cooldown="0">airdrop.full</Permission>
32-
<!-- Allows the player to specify airdrop and speed. -->
39+
<!-- Allows the player to specify airdrop and speed -->
3340
<Permission Cooldown="0">airdrophere.full</Permission>
34-
<!-- Allows the player to specify speed. -->
41+
<!-- Allows the player to specify speed -->
3542
<Permission Cooldown="0">massairdrop.full</Permission>
43+
44+
<!-- For admins -->
45+
<Permission Cooldown="0">setairdropspawn</Permission>
3646
```
3747

38-
## FAQ
39-
### How to use airdrop grenades?
48+
## Airdrop Grenades
49+
You can turn any grenade into an airdrop grenade by adding the `<Grenade />` tag to the airdrop configuration. When a player throws the grenade, an airdrop will be called at position of the grenade.
50+
4051
In `Airdrops.{Map}.xml` file add `<Grenade />` tag, like so:
4152
```xml
4253
<?xml version="1.0" encoding="utf-8"?>
4354
<AirdropsConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4455
<Airdrops>
4556
<Airdrop Id="541" Name="Washington_Carepackage_America">
46-
<Grenade Id="263" Name="Green Smoke" />
57+
<Grenade Id="263" Name="Green Smoke" />
4758
<Items>
4859
<Item Id="123" Name="Ranger Magazine" Weight="150" />
4960
<Item Id="1449" Name="Scalar Magazine" Weight="100" />
5061
...
5162

5263
```
53-
### How to change the size of storage of one specific airdrop?
54-
In `Airdrops.{Map}.xml` file add `<Storage />` tag, like so:
64+
## Airdrop Storage
65+
You can change the airdrop storage size or even replace a Carepackage (1374) with another barricade.
66+
67+
To change all airdrops, edit the `DefaultAirdropStorageBarricadeId`, `DefaultAirdropStorageWidth`, and `DefaultAirdropStorageHeight` attributes in the configuration file.
68+
69+
To change one specific airdrop, in `Airdrops.{Map}.xml` file add `<Storage />` tag, like so:
5570
```xml
5671
<?xml version="1.0" encoding="utf-8"?>
5772
<AirdropsConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5873
<Airdrops>
5974
<Airdrop Id="541" Name="Washington_Carepackage_America">
60-
<Storage Width="8" Height="10" />
75+
<Storage BarricadeId="366" Name="Maple Crate" Width="4" Height="4" />
6176
<Items>
6277
<Item Id="123" Name="Ranger Magazine" Weight="150" />
6378
<Item Id="1449" Name="Scalar Magazine" Weight="100" />
6479
...
6580
```
66-
You can also change the barricade id of the storage by adding the `BarricadeId` attribute to the `<Storage />` tag.
67-
```xml
68-
<Storage BarricadeId="366" Name="Maple Crate" Width="4" Height="4" />
69-
```
70-
### How to change the effect of one specific airdrop?
71-
In `Airdrops.{Map}.xml` file add `<LandedEffectGuid />` tag, like so:
81+
82+
### Airdrop Effects
83+
You can replace the default airdrop landed effect (red smoke) with another effect.
84+
85+
To change all airdrops, edit the `DefaultLandedEffectGuid` attribute in the configuration file.
86+
87+
To change one specific airdrop, in `Airdrops.{Map}.xml` file add `<LandedEffectGuid />` tag, like so:
7288
```xml
7389
<?xml version="1.0" encoding="utf-8"?>
7490
<AirdropsConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@@ -82,7 +98,6 @@ In `Airdrops.{Map}.xml` file add `<LandedEffectGuid />` tag, like so:
8298
```
8399

84100
## Configuration
85-
### AirdropManager3.configuration.xml
86101
```xml
87102
<?xml version="1.0" encoding="utf-8"?>
88103
<AirdropManager3Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@@ -109,6 +124,7 @@ In `Airdrops.{Map}.xml` file add `<LandedEffectGuid />` tag, like so:
109124
```
110125

111126
### Airdrops.Washington.xml
127+
112128
```xml
113129
<?xml version="1.0" encoding="utf-8"?>
114130
<AirdropsConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

0 commit comments

Comments
 (0)