Library for Asterion servers
Для корректной работы нужно перенести все файлы в папке !!!bin в папку GarrysMod/garrysmod/lua/bin, после чего создать файл __config.lua внутри аддона в папке lua/asterionlib.
return {
username = "Asterion Webhook Logs",
avatar = "https://cdn.discordapp.com/icons/744899300277878796/ced1d1fb9f48cc2c4f93fac839a008ed.png",
steamkey = "STEAM_KEY",
ignore = {
["STEAM_0:1:127526733"] = "Selenter",
["STEAM_0:1:45558340"] = "Nitorogi"
},
http = {
["version"] = 9,
["api"] = "https://discord.com/api",
["cdn"] = "https://cdn.discordapp.com",
["invite"] = "https://discord.gg",
["template"] = "https://discord.new",
["webhook"] = "https://discord.com/api/webhooks"
},
webhooks = {
["net"] = "##################/####################################################################",
["netstream"] = "##################/####################################################################",
["serverguard"] = "##################/####################################################################",
["clerror"] = "##################/####################################################################",
["sverror"] = "##################/####################################################################",
["ac"] = "##################/####################################################################",
["sg"] = "##################/####################################################################",
["guard"] = "##################/####################################################################",
["ip"] = "##################/####################################################################"
}
}