diff --git a/.github/workflows/update_docs.yml b/.github/workflows/update_docs.yml index aea3fb0..7fc1ea9 100644 --- a/.github/workflows/update_docs.yml +++ b/.github/workflows/update_docs.yml @@ -23,6 +23,6 @@ jobs: uses: Andrew-Chen-Wang/github-wiki-action@v3 env: WIKI_DIR: docs/ - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ github.token }} GH_MAIL: ${{ github.actor }}@users.noreply.github.com GH_NAME: ${{ github.repository_owner }} \ No newline at end of file diff --git a/docs/Placeholders.md b/docs/Placeholders.md index 8f92d76..ce05a7d 100644 --- a/docs/Placeholders.md +++ b/docs/Placeholders.md @@ -19,7 +19,7 @@ Placeholders can be included in the header, footer and player name format of the | `%debug_team_name%` | Internal team value, used for list sorting | `1_alpha_William2` | ### Customising server display names -You can make use of the `server_display_names` feature in `config.yml` to customise how server display name appear when using the `%server%` placeholder. In the below example, if the user was connected to a server with the name "`very-long-server-`name" and the player name format for the group that server belongs to included a `%server%` placeholder, the placeholder would be replaced with "`VSLN`" instead of the full name! +You can make use of the `server_display_names` feature in `config.yml` to customise how server display name appear when using the `%server%` placeholder. In the below example, if a user is connected to a server with the name "`very-long-server-`name" and the player name format for the group that server belongs to includes a `%server%` placeholder, the placeholder would be replaced with "`VSLN`" instead of the full server name. <details> <summary>Server display names (config.yml)</summary> @@ -33,7 +33,7 @@ server_display_names: </details> ## PlaceholderAPI support -To use PlaceholderAPI placeholders in Velocitab, install the [PAPIProxyBridge](https://modrinth.com/plugin/papiproxybridge) library plugin on your Velocity proxy and all Minecraft spigot servers on your network, and ensure the PAPI hook option is enabled in your Velocitab [[Config File]]. You can then include PAPI placeholders in your foramts as you would any of the default placeholders. +To use PlaceholderAPI placeholders in Velocitab, install the [PAPIProxyBridge](https://modrinth.com/plugin/papiproxybridge) library plugin on your Velocity proxy and all Minecraft spigot servers on your network, and ensure the PAPI hook option is enabled in your Velocitab [[Config File]]. You can then include PAPI placeholders in your formats as you would any of the default placeholders. ## MiniPlaceholders support If you are using MiniMessage [[Formatting]], you can use [MiniPlaceholders](https://github.com/MiniPlaceholders/MiniPlaceholders) with Velocitab for MiniMessage-styled component placeholders provided by other proxy plugins. Install MiniPlaceholders on your Velocity proxy, set the `formatter_type` to `MINIMESSAGE` and ensure `enable_miniplaceholders_hook` is set to `true` \ No newline at end of file