-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.toml
63 lines (55 loc) · 1.97 KB
/
plugin.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[plugin]
name = "Safety"
description = "Plugin to keep your gmod experience nice and safe through detouring HTTP and patching crash bugs / exploiting your client."
author = "Vurv"
version = "0.4.0"
language = "lua"
# Custom settings for your plugin.
# The user can configure these through the menu.
[settings]
AlertLevel = "ERROR"
# If you are on any of the servers here, Safety will not run.
WhitelistedIPs = []
# Paths blocked from being modified by Lua.
BlockedPaths = ["sf_filedata", "e2files", "starfall", "expression2"]
BlockedConcommands = [
"+voicerecord", "-voicerecord", "retry",
"startmovie", "endmovie", "playdemo",
"play", "exit", "developer",
"disconnect", "showscores", "mat_specular",
"cl_timeout", "sendrcon", "fov",
"screenshot", "ping", "record",
"jpeg", "kickme", "gmod_mcore_test",
"achievementRefresh", "ScreengrabRequest", "Progress"
]
BlockedNetMessages = [
"ash_ban", "pac_to_contraption", "pac_modify_movement",
"pac_projectile", "pac.AllowPlayerButtons", "pac_request_precache",
"pac_setmodel", "pac_update_playerfilter", "pac_footstep",
"pac_in_editor"
]
# URL Whitelist
PatternURLWhitelist = [
"%w+%.sndcdn%.com/.+",
"%w+%.dl%.dropboxusercontent%.com/(.+)",
"cdn[%w-_]*%.discordapp%.com/.+"
]
SimpleURLWhitelist = [
"translate.google.com", "yp.shoutcast.com", "dl.dropboxusercontent.com",
"dl.dropbox.com", "google.com", "gitlab.com",
"github.com", "raw.github.com", "raw.githubusercontent.com",
"gist.githubusercontent.com", "dropbox.com", "dl.dropbox.com",
"api.github.com"
]
[settings.FilePerms]
# Any of these perms (Default readonly)
# "readonly", "readwrite", "writeonly", "hidden"
# Optional prefix like (XYZ|...), which is default DATA if left out.
# See https://wiki.facepunch.com/gmod/File_Search_Paths
"DATA|expressive/*.txt" = "readwrite"
"DATA|expression2/*.txt" = "readonly"
"DATA|starfall/*.txt" = "readonly"
"DATA|sf_filedata/*.txt" = "readonly"
"DATA|e2files/*.txt" = "readwrite"
"DATA|advdupe2/*.txt" = "readonly"
"GAME|lua/bin/*.dll" = "hidden"