Skip to content

Commit

Permalink
Add scoreboard-filter to Blitz and Scoring page
Browse files Browse the repository at this point in the history
Signed-off-by: Pear <[email protected]>
  • Loading branch information
TheRealPear committed Aug 27, 2024
1 parent 5ef794c commit ba5a53e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/modules/objectives/blitz.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Blitz maps should include `<respawn auto="true"/>` to prevent players from "hidi
| `<filter>` | Filters when a player loses a life. | [Filter](/docs/modules/mechanics/filters) | `always` |
| `<join-filter>` | Filters when a player can join the match after it has started. | [Filter](/docs/modules/mechanics/filters) | `never` |

##### Blitz Attributes

| Attribute | Description | Value |
|---|---|---|
| `scoreboard-filter` | Determines when the objective should be displayed on the scoreboard.<br />**Note:** This filter is team-scoped, it can filter whether each team should show or not independently. | [Dynamic Filter](/docs/modules/mechanics/filters#dynamic-filters) |

### Examples

```xml
Expand Down
6 changes: 6 additions & 0 deletions docs/modules/objectives/scoring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ It can also be used to create score boxes that give a player or team a certain a
| `<deaths>` | Points to **deduct** from a team for the **accidental** death of a team member. | <span className="badge badge--primary">Number</span> | 0 |
| `<box>` | A single score box. | [Score Box](#score-boxes) |

##### Score Attributes

| Attribute | Description | Value |
|---|---|---|
| `scoreboard-filter` | Determines when the objective should be displayed on the scoreboard.<br />**Note:** This filter is team-scoped, it can filter whether each team should show or not independently. | [Dynamic Filter](/docs/modules/mechanics/filters#dynamic-filters) |

### Examples

```xml
Expand Down

0 comments on commit ba5a53e

Please sign in to comment.