Skip to content

Commit

Permalink
Changes for v1.28.0 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
J-295 authored Aug 3, 2024
1 parent 15e1d06 commit 51b814e
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 21 deletions.
1 change: 0 additions & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
| `linked` | `<Name/UUID/DiscordID/DiscordTag>` | [`discordsrv.linked.others`](/permissions) | Shows if your Minecraft account is linked with a discord account. |
| `link` | `<Name/UUID> <DiscordID/DiscordTag>` | [`discordsrv.link.others`](/permissions) | Sends you instructions to link your Minecraft account with your Discord account. |
| `unlink` <br /> `clearlinked` | `<Name/UUID/DiscordID/DiscordTag>` | [`discordsrv.unlink.others`](/permissions) | Unlink your Discord account from your Minecraft account. |
| `debug` | | [`discordsrv.debug`](/permissions) | Sends information used for debugging to [Scarsz' encrypted bin](https://bin.scarsz.me) and returns a debug link. <br /> <br /> If you need help with DiscordSRV, visit [our Discord server](https://discordsrv.com/discord) and send us the link in the `#create-a-ticket` channel with a description of your problem. |
| `resync` | | [`discordsrv.resync`](/permissions) | Triggers group synchronization (requires [synchronization.yml](../synchronization)) |
| `reload` | | [`discordsrv.reload`](/permissions) | Reloads the plugin. (Some changes require a server restart.) |
| `language` <br /> `lang` | `<Language> [-confirm]` | [`discordsrv.language`](/permissions) | Changes the language of the plugin. |
Expand Down
25 changes: 13 additions & 12 deletions docs/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ This is for the plugin to handle config updates. This is not something you shoul
### [`BotToken`](https://config.discordsrv.com/config/BotToken)[^1] {#BotToken}
This is the token that your bot will use to connect to DiscordSRV. You can find it at the developer page for your bot. https://discord.com/developers/applications/me

### Proxy...
This allows the ability to set up a proxy for the underlying Discord Library to use.
#### [`...Host`](https://config.discordsrv.com/config/ProxyHost) {#ProxyHost}
The url of the proxy
#### [`...Port`](https://config.discordsrv.com/config/ProxyPort) {#ProxyPort}
The port where the proxy is hosted
#### [`...User`](https://config.discordsrv.com/config/ProxyUser) {#ProxyUser}
The username for the proxy
#### [`...Password`](https://config.discordsrv.com/config/ProxyPassword) {#ProxyPassword}
The password for the proxy

### [`Channels`](https://config.discordsrv.com/config/Channels) {#Channels}
This is a list of Minecraft text channels and their discord equivalent. The first channel in the list is used as the main channel. All additional messages like start/stop/join/quit/death/etc go to it.

Expand Down Expand Up @@ -81,13 +92,6 @@ Invitation link shown:
| `CALLSTACKS` | Displays the stack trace for DiscordSRV debug calls |
:::

### [`DebugLevel`](https://config.discordsrv.com/config/DebugLevel) {#DebugLevel}
- `0` - Disables debug messages
- `1` - Enables debug messages
- `2` - Enables debug messages w/ Stack Trace

Note: DebugLevel is now deprecated

### Experiment_Jdbc...
This allows the ability to connect to SQL databases.
#### [`...AccountLinkBackend`](https://config.discordsrv.com/config/Experiment_JdbcAccountLinkBackend) {#Experiment_JdbcAccountLinkBackend}
Expand Down Expand Up @@ -154,7 +158,7 @@ Set of regex replacements to filter webhook usernames. Format is `{"regexFilter"
[PlaceholderAPI](https://github.com/PlaceholderAPI/PlaceholderAPI) placeholders are also supported
:::

The link to pull the player's skin from.
The link to pull the player's skin from. Leave blank to use a default value.

### Experiment_MCDiscordReserializer_...
Converts formatting between Discord and Minecraft (bold, italics, strikethrough, underline)
Expand All @@ -175,10 +179,7 @@ This option disables running a console command through discord if logging is uns

### [`ForcedLanguage`](https://config.discordsrv.com/config/ForcedLanguage)[^1] {#ForcedLanguage}
This option forcefully changes the language to the specified type.
Currently Supported Languages: `[EN,FR,DE,JA,KO,NL,ES,RU,ET,ZH]`

### [`PrintGuildsAndChannels`](https://config.discordsrv.com/config/PrintGuildsAndChannels) {#PrintGuildsAndChannels}
Prints Guilds and Channels in the console on startup
Currently Supported Languages: `[DA,DE,EN,ES,ET,FR,JA,KO,NL,PL,RU,UK,ZH]`

### [`ForceTLSv12`](https://config.discordsrv.com/config/ForceTLSv12) {#ForceTLSv12}
Force SSL to TLSv1.2
Expand Down
4 changes: 0 additions & 4 deletions docs/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,3 @@ To disable these messages configure the following in config.yml: [`ServerWatchDo
### Why can't I message the bot? {#why-cant-i-message-the-bot}

Make sure that you have direct messages enabled on the server that you share with the bot. This should allow you to send it a private message. If that doesn't work, [check this article](https://support.discord.com/hc/en-gb/articles/360060145013).

### How do I show the avatars of cracked players? {#show-cracked-avatars}

If you run an offline mode server you can switch from using `{uuid-nodashes}` to `{username}` in the `AvatarURL` option.
2 changes: 1 addition & 1 deletion docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ _**We only give support for the latest release/dev builds; please update before
- Knowing who's who (with /discord linked, verification)
- Administrative purposes
- Supports many languages
- English, Spanish, French, German, Russian, Japanese, Korean, Chinese, Dutch, Polish and Estonian
- Chinese, Danish, Dutch, English, Estonian, French, German, Japanese, Korean, Polish, Russian, Spanish, and Ukrainian
- Support for popular chat plugins (listed below)
- Highly customizable

Expand Down
4 changes: 2 additions & 2 deletions docs/installation/sync-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ groups:
...
```
You can see what groups DiscordSRV can see in the `discordsrv-info.txt` file of debug reports, which can be accessed through the link generated from `/discordsrv debug`
You can see what groups DiscordSRV can see in the `discordsrv-info.txt` file of debug reports, which can be accessed through the link generated from `/discordsrv debugger upload`

```yaml
# discordsrv-info.txt from debug report
Expand All @@ -32,7 +32,7 @@ vault groups: [default, MinecraftGroup1, MinecraftGroup2]

If you have `Developer Mode` enabled (see [Initial Setup](initial-setup.mdx)), you can get the IDs from `Server Settings > Roles` by right-clicking the role(s)

Role IDs are also in the `discordsrv-info.txt` file of debug reports, which can be accessed through the link generated from `/discordsrv debug`
Role IDs are also in the `discordsrv-info.txt` file of debug reports, which can be accessed through the link generated from `/discordsrv debugger upload`

```C++
//discordsrv-info.txt from debug report
Expand Down
5 changes: 5 additions & 0 deletions docs/papi-placeholders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ Please note that to use these placeholders you need to have the Presence Intent
%discordsrv_user_online_status%
%discordsrv_user_game_name%
%discordsrv_user_game_url%
%discordsrv_user_boost_status%
%discordsrv_user_top_role_id%
%discordsrv_user_top_role_name%
%discordsrv_user_top_role_color_hex%
%discordsrv_user_top_role_color_code%
%discordsrv_user_top_selected_role_id%
%discordsrv_user_top_selected_role_name%
%discordsrv_user_top_selected_role_color_hex%
%discordsrv_user_top_selected_role_color_code%
```
2 changes: 1 addition & 1 deletion docs/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ These are individual permissions that can be given or taken away to fine tune wh
| `discordsrv.bcast` | OP | whether or not the player is able to run DiscordSRV's broadcast command |
| `discordsrv.reload` | OP | whether or not the player is able to reload DiscordSRV's configuration |
| `discordsrv.resync` | OP | whether or not the player is able to manually resynchronize all groups & roles |
| `discordsrv.debug` | OP | whether or not the player is able to run a debug report |
| `discordsrv.debug` | OP | whether or not the player is able to run `/discordsrv debugger` and subcommands |
| `discordsrv.link` | true | whether or not the player is able to link their Minecraft account to their Discord account |
| `discordsrv.link.others` | OP | whether or not the player is able to link other people's Minecraft accounts to Discord accounts |
| `discordsrv.unlink` | OP | whether or not the player is able to unlink their Minecraft account from their Discord account |
Expand Down

0 comments on commit 51b814e

Please sign in to comment.