Skip to content

Commit

Permalink
Document Respawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Palmidence authored Oct 13, 2019
1 parent 75801e3 commit 16a27e0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/respawn.md
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 | |

1 comment on commit 16a27e0

@jorgeberrex
Copy link
Contributor

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

Please sign in to comment.