Skip to content

Commit e6a5884

Browse files
committed
Integrate TMC forum with my action and update guide.
1 parent 3def7ac commit e6a5884

File tree

4 files changed

+42
-1
lines changed

4 files changed

+42
-1
lines changed

.dtua/.env

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
LINK_FINDING_STEAM_IDS="p-222-finding-steam-ids-2"
2+
LINK_FLAGS="p-222-flags-3"
3+
LINK_PASSWORDS="p-222-passwords-4"
4+
LINK_MANAGING_USER_PERMISSIONS="p-222-managing-user-permissions-5"
5+
LINK_USING_THE_ADMINS_SIMPLEINI_FILE="p-222-using-the-admins_simpleini-file-6"
6+
LINK_USING_THE_ADMINSCFG_FILE="p-222-using-the-adminscfg-file-7"
7+
LINK_RELOADING_USERS="p-222-reloading-users-8"
8+
LINK_SEE_ALSO="p-222-see-also-9"
9+
10+
LINES_SKIP=10,11

.dtua/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The [`.env`](./.env) file inside this folder is exposed intentionally :)
2+
3+
It's a part of an open source [GitHub Action](https://github.com/gamemann/discourse-topic-update-action) I made that automatically updates the guide's topic contents on the [TMC forum](https://forum.moddingcommunity.com) (Discourse) with the contents in this repository's README.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Update Topic On TMC Forum
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
update-discourse:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies for Discourse Topic Update Action.
16+
run: sudo apt update && sudo apt install -y jq gawk
17+
shell: bash
18+
19+
- uses: gamemann/discourse-topic-update-action@v1.0.0
20+
with:
21+
discourse_api_key: ${{ secrets.DISCOURSE_API_KEY }}
22+
discourse_api_user: ${{ secrets.DISCOURSE_API_USER }}
23+
discourse_topic_id: 193
24+
discourse_api_url: ${{ secrets.DISCOURSE_API_URL }}

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ SourceMod is a [MetaMod](https://www.metamodsource.net/about) addon that support
44

55
When running a game server with SourceMod installed, it is likely that at some point you'll want to grant yourself or others permissions such as the ability to kick and ban players (admin access).
66

7+
[**View Guide On TMC (Recommended Due To Better Formatting)**](https://forum.moddingcommunity.com/t/how-to-manage-user-permissions-in-sourcemod/193)
8+
79
## Table Of Contents
810
* [Finding Steam IDs](#finding-steam-ids)
911
* [Flags](#flags)
@@ -127,4 +129,6 @@ The cache should automatically reload when the map changes or server restarts. Y
127129
* [Adding Admins](https://wiki.alliedmods.net/Adding_Admins_(SourceMod)) - Detailed Wiki on adding admins officially by AlliedMods.
128130
* [SourceBans++](https://sbpp.github.io/) - A popular plugin that makes it easier to manage users, groups, bans, and more!
129131

130-
For any questions or feedback, please reply to the forum topic [here](https://forum.moddingcommunity.com/t/how-to-manage-user-permissions-in-sourcemod/193)!
132+
If you have any questions or feedback regarding this guide, please reply to its forum topic [here](https://forum.moddingcommunity.com/t/how-to-manage-user-permissions-in-sourcemod/193)! This guide will be worked and improved on over time.
133+
134+
Join our [Discord server](https://discord.moddingcommunity.com)!

0 commit comments

Comments
 (0)