-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75801e3
commit 16a27e0
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Respawn | ||
|
||
This module is used to modify player respawning. | ||
|
||
## Example | ||
|
||
```json | ||
"respawn": { | ||
"rules": { | ||
"freeze": true, | ||
"blindness": true, | ||
"confirm": false | ||
} | ||
}, | ||
``` | ||
|
||
### Respawn Attributes | ||
|
||
| Attribute | Description | Value | Default | | ||
|-----------|-----------------------------------------------------------------------|----------|---------| | ||
| `rules` | The attribute which fosters the mechanics that are modified. | Parent | | | ||
|
||
|
||
### Rules Attributes | ||
|
||
| Attribute | Description | Value | Default | | ||
|-----------|-----------------------------------------------------------------------|----------|---------| | ||
| `delay` | The duration until the player is allowed to respawn. | Value | | | ||
| `freeze` | Whether or not the player may move when in the death screen. | Boolean | | | ||
| `blindness` | Whether or not the player can see when in the death screen. | Boolean | | | ||
| `confirm` | Whether or not the player must interact with the death screen to respawn. | Boolean | | |
16a27e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Respawn rules also have the
teams
field which is a list of all the team IDs that will get the rule