Skip to content

Commit 9c8b7f0

Browse files
committed
docs: update portal permission, cost, cooldown usage
1 parent 5c18abe commit 9c8b7f0

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

content/docs/portals/access-control.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Create VIP portals, premium teleports, or prevent portal spam.
1313
### Set Entry Permission
1414

1515
Sets a permission requirement for using the portal.
16-
Usage: `/portal permission <portal> <permission>`
16+
Usage: `/portal permission <portal> [<permission>]`
1717

1818
**Examples:**
1919
```
@@ -28,6 +28,9 @@ Usage: `/portal permission <portal> <permission>`
2828
2929
<gray># Require donor permission</gray>
3030
/portal permission <aqua>donor-portal</aqua> <yellow>server.donor</yellow>
31+
32+
<gray># See current permission</gray>
33+
/portal permission <aqua>admin-portal</aqua>
3134
```
3235

3336
<Callout type="info">
@@ -37,7 +40,7 @@ Usage: `/portal permission <portal> <permission>`
3740
### Set Entry Cost
3841

3942
Sets an entry fee that players must pay to use the portal.
40-
Usage: `/portal cost <portal> <amount>`
43+
Usage: `/portal cost <portal> [<amount>]`
4144

4245
**Examples:**
4346
```
@@ -52,6 +55,9 @@ Usage: `/portal cost <portal> <amount>`
5255
5356
<gray># Remove cost</gray>
5457
/portal cost <aqua>free-portal</aqua> <yellow>0</yellow>
58+
59+
<gray># See current cost</gray>
60+
/portal cost <aqua>vip-portal</aqua>
5561
```
5662

5763
<Callout type="warning">
@@ -62,7 +68,7 @@ Usage: `/portal cost <portal> <amount>`
6268
### Set Cooldown
6369

6470
Sets a cooldown period between portal uses for each player.
65-
Usage: `/portal cooldown <portal> <cooldown>`
71+
Usage: `/portal cooldown <portal> [<cooldown>]`
6672

6773
**Examples:**
6874
```
@@ -77,6 +83,9 @@ Usage: `/portal cooldown <portal> <cooldown>`
7783
7884
<gray># Remove cooldown</gray>
7985
/portal cooldown <aqua>instant-portal</aqua> <yellow>0</yellow>
86+
87+
<gray># See current cooldown</gray>
88+
/portal cooldown <aqua>spawn-portal</aqua>
8089
```
8190

8291
<Callout type="info">

0 commit comments

Comments
 (0)