You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A plugin that allows the top players (by points) to have a custom trail.
6
+
A plugin that allows the top players (by points) to have a custom trail. Supports <ahref="https://github.com/Kandru/cs2-update-manager">automatic updates</a> (optional).
6
7
</div>
7
8
<br>
8
9
9
10
> [!IMPORTANT]
10
-
> Credits for the base plugin go to [exkludera](https://github.com/exkludera)! All I did was integrate it with SharpTimer & fix the teleport issue.
11
+
> Credits for the base plugin go to [exkludera](https://github.com/exkludera)! All I did was integrate it with SharpTimer, fixed the teleport issue, and added some new config options.
11
12
>
12
13
<br>
13
14
@@ -32,7 +33,8 @@ A plugin that allows the top players (by points) to have a custom trail.
32
33
33
34
### Particle Trail Usage
34
35
If you want to know which particles you can use for trails, download [Source 2 Viewer](https://github.com/ValveResourceFormat/ValveResourceFormat).
35
-
This will allow you view the contents of `pak01_dir.vpk` which has all of the particle files. Not all of them will work, and some are extrememly resource heavy.
36
+
This will allow you view the contents of `pak01_dir.vpk` which has all of the particle files. Not all of them will work, and they are extrememly resource heavy, negiatively effecting client fps. Personally I would advise against using particles trails at this time. Hopefully I can improve this funcitonality in the future.
@@ -45,9 +47,13 @@ This will allow you view the contents of `pak01_dir.vpk` which has all of the pa
45
47
```json
46
48
{
47
49
"TopCount": 5, // The top 5 players with the most points will get a trail.
48
-
"Permission": "@css/root", // Any player with this perm will get the trail set in Trail 0.
49
-
If you don't want this, just leave it blank.
50
50
"TicksForUpdate": 1, // How often the trail is updated. The higher the number the less smooth the trail will look.
51
+
"TrailPermission": "@css/vip", // Any player with this perm will get the trail set in Trail 0.
52
+
If you don't want this, just leave it blank.
53
+
"ReloadConfigCommand": "reloadtrailscfg", The command in game to reload your config, useful for testing
54
+
"UpdateConfigCommand": "updatetrailscfg", The command in game to update your config
55
+
56
+
"CommandPermission": "@css/root", // Any player with this permission will be able to use the reload/update commands.
51
57
"TeleportThreshold": 100, // If a user is teleported beyond this many units in a tick the trail won't show.
52
58
This makes it so that there isn't a long straight line between teleports/respawns.
53
59
"DatabaseRefreshInterval": 300, // How often the plugin fetches the list of top players from the database.
@@ -101,7 +107,8 @@ This will allow you view the contents of `pak01_dir.vpk` which has all of the pa
101
107
},
102
108
"EnableDebug": false, // Set this to true if you find you're having issues with the trail being created when teleporting.
103
109
It will give you insight into how you might want to adjust your TeleportThreshold value, as it shows teleport distances.
104
-
"ConfigVersion": 1
110
+
"AutoUpdateConfig": false, // If True, this will automatically update your config when you have installed a version of the plugin (if config values have changed)
111
+
"ConfigVersion": 2
105
112
}
106
113
```
107
114
<p align="right">(<a href="#readme-top">back to top</a>)</p>
0 commit comments