diff options
| -rw-r--r-- | README.md | 24 | ||||
| -rw-r--r-- | oldREADME.md | 23 |
2 files changed, 26 insertions, 21 deletions
| @@ -1,23 +1,5 @@ | |||
| 1 | # No #TF2 | 1 | # OBSOLESCENCE NOTICE |
| 2 | 2 | ||
| 3 | Kick players with "#___TF2" in their name | 3 | ## This plugin is obsolete |
| 4 | 4 | ||
| 5 | ## Requirements | 5 | Use [sm_nameblocker](https://git.dabikers.online/sm_nameblocker) instead. It is far more flexible in what names to kick and how to deal with players |
| 6 | |||
| 7 | - Sourcemod and Metamod | ||
| 8 | |||
| 9 | ## Installation | ||
| 10 | |||
| 11 | 1. Download the file `notf2.smx` and place it in your `serverfiles/tf/addons/sourcemod/plugins` folder | ||
| 12 | 2. Restart the server or type `sm plugins load notf2` in the console to load the plugin. | ||
| 13 | |||
| 14 | ## Usage | ||
| 15 | |||
| 16 | NoTF2 works automatically and will kick players if they have a TF2 related hashtag in their name. The regex pattern used to detect inappropriate names is: `#.*tf2` using [PCRE](https://pcre.org/), and is case insensitive. Some example hashtags that will be kicked include: `#SaveTF2`, `#savetf2`, `#KillTF2`, `#dpuashduawhd TF2` | ||
| 17 | |||
| 18 | ## ConVars | ||
| 19 | |||
| 20 | ```raw | ||
| 21 | ntf_enabled <0/1> (Default: 1) - Kick players with inappropriate names | ||
| 22 | ntf_admins <0/1> (Default: 0) - Kick admins with inappropriate names | ||
| 23 | ``` | ||
diff --git a/oldREADME.md b/oldREADME.md new file mode 100644 index 0000000..67b6aa9 --- /dev/null +++ b/oldREADME.md | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # No #TF2 | ||
| 2 | |||
| 3 | Kick players with "#___TF2" in their name | ||
| 4 | |||
| 5 | ## Requirements | ||
| 6 | |||
| 7 | - Sourcemod and Metamod | ||
| 8 | |||
| 9 | ## Installation | ||
| 10 | |||
| 11 | 1. Download the file `notf2.smx` and place it in your `serverfiles/tf/addons/sourcemod/plugins` folder | ||
| 12 | 2. Restart the server or type `sm plugins load notf2` in the console to load the plugin. | ||
| 13 | |||
| 14 | ## Usage | ||
| 15 | |||
| 16 | NoTF2 works automatically and will kick players if they have a TF2 related hashtag in their name. The regex pattern used to detect inappropriate names is: `#.*tf2` using [PCRE](https://pcre.org/), and is case insensitive. Some example hashtags that will be kicked include: `#SaveTF2`, `#savetf2`, `#KillTF2`, `#dpuashduawhd TF2` | ||
| 17 | |||
| 18 | ## ConVars | ||
| 19 | |||
| 20 | ```raw | ||
| 21 | ntf_enabled <0/1> (Default: 1) - Kick players with inappropriate names | ||
| 22 | ntf_admins <0/1> (Default: 0) - Kick admins with inappropriate names | ||
| 23 | ``` | ||
