Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/Raquece/DSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Raquece committed Aug 10, 2022
2 parents c50dfe6 + 245aa87 commit b1ae292
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions docs/messages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Messages and their Respective Tokens

### `player.join`
A player joined the game.

Tokens:
- `$PLAYER` - The player that has joined.

---

### `player.quit`
A player left the game.

Tokens:
- `$PLAYER` - The player that has left.

---

### `player.death`
A player has died.

Tokens:
- `$MESSAGE` - The death message shown in chat.
- `$VICTIM` - The player that has died.

---

### `player.advancement`
A player has unlocked an advancement.

Tokens:
- `$PLAYER` - The player that has unlocked the advancement.
- `$ADVANCEMENT` - The title of the advancement

---

### `server.started`
Embeded message. The server or plugin has started.

Parameters:
- `title` - The title of the embed.
- `description` - The body of the embed.
- `color` - The colored highlight of the embed in integer format.

---

### `server.stopped`
Embeded message. The server or plugin has stopped.

Parameters:
- `title` - The title of the embed.
- `description` - The body of the embed.
- `color` - The colored highlight of the embed in integer format.

0 comments on commit b1ae292

Please sign in to comment.