Skip to content

Commit

Permalink
Merge pull request #74 from nwesterhausen/dev
Browse files Browse the repository at this point in the history
1.4.0 bugfix and variables
  • Loading branch information
nwesterhausen authored Oct 22, 2021
2 parents 7105504 + fe2e9f8 commit 6cf2c4f
Show file tree
Hide file tree
Showing 22 changed files with 908 additions and 159 deletions.
22 changes: 22 additions & 0 deletions Metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

A full changelog for reference.

### Version 1.4.0

Features:

- 10 user defined variables that can be used an any messages (%VAR1% thru %VAR10%). These are set in their own configuration file,
`games.nwest.valheim.discordconnector-variables.cfg` which will get generated first time 1.4.0 is run.
- The position of where the player/ping/event coordinates are inserted into messages is configurable using the `%POS%` variable in
the messages config. It won't be replaced if the "send coordinates" toggle is off for that message. If you don't include a `%POS%`
variable, it will append the coordinates as happens with previous versions.

Fixes:

- Fixed an off-by-one error in the Top Players leaderboard (the default leaderboard) (Thanks @thedefside)
- Fixed configuration not referencing proper settings (Thanks @thedefside)
- Fixed event messages (now properly functioning on dedicated servers)

Breaking Changes:

- If you used `%PLAYERS%` in any of the event messages, you need to remove it. With the changes required for the event messages
functionality, it is not supportable at this time.


### Version 1.3.0

Features:
Expand Down
3 changes: 2 additions & 1 deletion Metadata/DiscordConnector-Nexus.readme
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DISCORD CONNECTOR - 1.3.0
DISCORD CONNECTOR - 1.4.0
Connect your Valheim server to a Discord Webhook. Works for both dedicated and client-hosted servers. (Visit the github repo for a how-to guide.)

:: REQUIREMENTS ::
Expand All @@ -13,6 +13,7 @@ Connect your Valheim server to a Discord Webhook. Works for both dedicated and c
- Will use an embed for coordinates if enabled
- Periodic leader board messages with death,ping,shout and join|leave leader. (optional)
- A message for the first time a player does something (join and death by default, can be entirely disabled)
- Add almost anything to your messages with 10 user defined variables

:: SUPPORTED MESSAGES ::
- Server startup (server starting, loading the world)
Expand Down
20 changes: 17 additions & 3 deletions Metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,23 @@ records.json 1.2.0+ (PlayerName changed to Key)
[{"Category":"death","Values":[{"Key":"Xithyr","Value":13} ...
```

### Version 1.3.0
### Version 1.4.0

Features:

- Additional leaderboard options. The existing leaerboard option will now default to sending top 3 players for what is enabled.
You can enable a highest and lowest leaderboard for each tracked stat now. All leaderboards get sent on the same interval.
- 10 user defined variables that can be used an any messages (%VAR1% thru %VAR10%). These are set in their own configuration file,
`games.nwest.valheim.discordconnector-variables.cfg` which will get generated first time 1.4.0 is run.
- The position of where the player/ping/event coordinates are inserted into messages is configurable using the `%POS%` variable in
the messages config. It won't be replaced if the "send coordinates" toggle is off for that message. If you don't include a `%POS%`
variable, it will append the coordinates as happens with previous versions.

Fixes:

- Fixed an off-by-one error in the Top Players leaderboard (the default leaderboard) (Thanks @thedefside)
- Fixed configuration not referencing proper settings (Thanks @thedefside)
- Fixed event messages (now properly functioning on dedicated servers)

Breaking Changes:

- If you used `%PLAYERS%` in any of the event messages, you need to remove it. With the changes required for the event messages
functionality, it is not supportable at this time.
2 changes: 1 addition & 1 deletion Metadata/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DiscordConnector",
"version_number": "1.3.0",
"version_number": "1.4.0",
"website_url": "https://github.com/nwesterhausen/valheim-discordconnector",
"description": "Connects your Valheim server to a Discord webhook. Works for both dedicated and client-hosted servers.",
"dependencies": ["denikson-BepInExPack_Valheim-5.4.1600"]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ Thanks for the helpful contributions!

- @Digitalroot
- @nwesterhausen
- @thedefside

Thanks for an excellent original plugin @aequasi!
21 changes: 21 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

A full changelog

### Version 1.4.0

Features:

- 10 user defined variables that can be used an any messages (%VAR1% thru %VAR10%). These are set in their own configuration file,
`games.nwest.valheim.discordconnector-variables.cfg` which will get generated first time 1.4.0 is run.
- The position of where the player/ping/event coordinates are inserted into messages is configurable using the `%POS%` variable in
the messages config. It won't be replaced if the "send coordinates" toggle is off for that message. If you don't include a `%POS%`
variable, it will append the coordinates as happens with previous versions.

Fixes:

- Fixed an off-by-one error in the Top Players leaderboard (the default leaderboard) (Thanks @thedefside)
- Fixed configuration not referencing proper settings (Thanks @thedefside)
- Fixed event messages (now properly functioning on dedicated servers)

Breaking Changes:

- If you used `%PLAYERS%` in any of the event messages, you need to remove it. With the changes required for the event messages
functionality, it is not supportable at this time.

### Version 1.3.0

Features:
Expand Down
Loading

0 comments on commit 6cf2c4f

Please sign in to comment.