Compare commits

..

21 Commits
v0.4.5 ... main

Author SHA1 Message Date
d6a378ec45 fix: correct command logging and improve error message output 2025-04-13 15:40:33 +00:00
91e8b3d2ef feat: implement CH_ATM and DarkRP money logging functions 2025-04-10 05:05:11 +00:00
499c382066 feat: add a hook GMI:SaveBeforeCrash for trisomic server owner how crash server to auto reconnect client 2025-03-20 05:47:46 +00:00
da9b9d2392 fix: upgrade to 0.4.9 2025-03-20 03:17:06 +00:00
be3a44760d fix: some time the PlayerChangedTeam gmInteResetTimeLastTeamChange was call before saving the time of the last team change 2025-03-20 03:10:23 +00:00
3ebd9c0989 fix: potential exploit 2025-03-11 21:21:43 +00:00
06efe727e2 New version: 0.4.8 2025-01-28 08:18:59 +00:00
9e9a2dfe01 Feat: add timeLastTeamChange 2025-01-28 08:18:30 +00:00
94ebf5cba6 Fix: add player to teamChange 2025-01-28 08:11:12 +00:00
8231f4a9ac Feat: add chat.error.rate_limit 2025-01-22 21:54:17 +00:00
5aee9272cd Fix: some potential nil 2025-01-04 09:12:50 +00:00
c29a12dfd2 Fix: translation 2025-01-04 09:12:06 +00:00
e7b9953185 to 0.4.7 2024-12-10 22:27:36 +00:00
1661173526 Feat: add team role 2024-12-10 22:27:22 +00:00
4caed5845f Feat: add familly verification 2024-11-28 17:24:59 +00:00
5c78fae9a6 Fix: somevar typo 2024-11-21 22:50:52 +00:00
d7930c9194 Fix: var Intiate after use 2024-11-21 17:23:21 +00:00
2ea0bf00e2 Fix: remove a dev log 2024-11-21 17:14:48 +00:00
4ab93e1afe Feat: add ajustTime for reconnect after map change 2024-11-21 17:08:15 +00:00
0a7ae28a75 Feat: add fps counter 2024-11-21 17:07:28 +00:00
a6ab55dd4a Fix: a getTranslation bad argument 2024-11-21 17:00:46 +00:00
27 changed files with 477 additions and 100 deletions

View File

@ -1,6 +1,6 @@
if game.SinglePlayer() then return print("Gmod Integration is not supported in Singleplayer!") end if game.SinglePlayer() then return print("Gmod Integration is not supported in Singleplayer!") end
gmInte = gmInte || {} gmInte = gmInte || {}
gmInte.version = "0.4.5" gmInte.version = "0.4.9"
gmInte.config = {} gmInte.config = {}
gmInte.materials = {} gmInte.materials = {}
local function loadServerConfig() local function loadServerConfig()

View File

@ -99,11 +99,12 @@ function gmInte.openConfigMenu(data)
["reloadOnEdit"] = true, ["reloadOnEdit"] = true,
["category"] = gmInte.getTranslation("admin.main", "Main"), ["category"] = gmInte.getTranslation("admin.main", "Main"),
["values"] = { ["values"] = {
["en"] = "English",
["fr"] = "Français",
["de"] = "Deutsch", ["de"] = "Deutsch",
["en"] = "English",
["es"] = "Español", ["es"] = "Español",
["fr"] = "Français",
["it"] = "Italiano", ["it"] = "Italiano",
["pl"] = "Polski",
["ru"] = "Русский", ["ru"] = "Русский",
["tr"] = "Türkçe", ["tr"] = "Türkçe",
} }
@ -137,6 +138,15 @@ function gmInte.openConfigMenu(data)
["onEditDelay"] = 0.5, ["onEditDelay"] = 0.5,
["category"] = gmInte.getTranslation("admin.trust_safety", "Trust & Safety") ["category"] = gmInte.getTranslation("admin.trust_safety", "Trust & Safety")
}, },
{
["id"] = "verifyFamilySharing",
["label"] = gmInte.getTranslation("admin.verifyFamilySharing", "Block Family Sharing"),
["description"] = gmInte.getTranslation("admin.verifyFamilySharing_description", "Block family sharing players."),
["type"] = "checkbox",
["value"] = function(setting, value) return value end,
["onEdit"] = function(setting, value) saveConfig(setting, value) end,
["category"] = gmInte.getTranslation("admin.trust_safety", "Trust & Safety")
},
{ {
["id"] = "verifyOnJoin", ["id"] = "verifyOnJoin",
["label"] = gmInte.getTranslation("admin.verify_on_join", "Verify on Join"), ["label"] = gmInte.getTranslation("admin.verify_on_join", "Verify on Join"),
@ -162,7 +172,6 @@ function gmInte.openConfigMenu(data)
["label"] = gmInte.getTranslation("admin.client_force_branch", "Client Force Branch"), ["label"] = gmInte.getTranslation("admin.client_force_branch", "Client Force Branch"),
["description"] = gmInte.getTranslation("admin.client_force_branch_description", "The branch of the addon that the clients should use."), ["description"] = gmInte.getTranslation("admin.client_force_branch_description", "The branch of the addon that the clients should use."),
["type"] = "combo", ["type"] = "combo",
["condition"] = function(data) return data.forcePlayerLink end,
["value"] = function(setting, value) return value end, ["value"] = function(setting, value) return value end,
["onEdit"] = function(setting, value) saveConfig(setting, value) end, ["onEdit"] = function(setting, value) saveConfig(setting, value) end,
["category"] = gmInte.getTranslation("admin.trust_safety", "Trust & Safety"), ["category"] = gmInte.getTranslation("admin.trust_safety", "Trust & Safety"),

View File

@ -10,7 +10,7 @@ function gmInte.openWrongBranchPopup()
local messageLabel = vgui.Create("DLabel", frame) local messageLabel = vgui.Create("DLabel", frame)
messageLabel:Dock(FILL) messageLabel:Dock(FILL)
messageLabel:DockMargin(10, 0, 10, 0) messageLabel:DockMargin(10, 0, 10, 0)
messageLabel:SetText(gmInte.getTranslation("branch.description", "Hey,\nThis server doesn't not allow your game version '{1}' to join. Please switch to '{2}' in the beta tab of Garry's Mod properties.\n\nSteam -> Library -> Garry's Mod -> Right Click -> Properties -> Betas -> Select '{3}'" .. "\n\nAfter you've done that, exit Garry's Mod and rejoin the server.", {BRANCH, gmInte.config.clientBranch, gmInte.config.clientBranch})) messageLabel:SetText(gmInte.getTranslation("branch.description", "Hey,\nThis server doesn't not allow your game version '{1}' to join. Please switch to '{2}' in the beta tab of Garry's Mod properties.\n\nSteam -> Library -> Garry's Mod -> Right Click -> Properties -> Betas -> Select '{3}'" .. "\n\nAfter you've done that, exit Garry's Mod and rejoin the server.", BRANCH, gmInte.config.clientBranch, gmInte.config.clientBranch))
messageLabel:SetContentAlignment(5) messageLabel:SetContentAlignment(5)
messageLabel:SetFont("GmodIntegration_Roboto_16") messageLabel:SetFont("GmodIntegration_Roboto_16")
messageLabel:SetWrap(true) messageLabel:SetWrap(true)

View File

@ -87,3 +87,19 @@ hook.Add("HUDPaint", "gmInte:HUD:ShowScreenshotInfo", function()
draw.SimpleText(concatInfo, "DermaDefault", ScrW() / 2, ScrH() - 15, Color(255, 255, 255, 119), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText(concatInfo, "DermaDefault", ScrW() / 2, ScrH() - 15, Color(255, 255, 255, 119), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
end) end)
local lastTime = 0
local frameTime = 0
local fps = 0
hook.Add("Think", "gmInte:HUD:CalculateFPS", function()
frameTime = RealTime() - lastTime
lastTime = RealTime()
fps = math.Round(1 / frameTime)
end)
timer.Create("gmInte:HUD:SendFPS", 5, 0, function()
LocalPlayer().gmIntFPS = fps
gmInte.SendNet("sendFPS", {
["fps"] = fps
})
end)

View File

@ -6,6 +6,7 @@ local netSend = {
["takeScreenShot"] = 4, ["takeScreenShot"] = 4,
["restartMap"] = 5, ["restartMap"] = 5,
["verifyMe"] = 6, ["verifyMe"] = 6,
["sendFPS"] = 7
} }
function gmInte.SendNet(id, args, func) function gmInte.SendNet(id, args, func)

View File

@ -203,10 +203,17 @@ local function openReportBug()
["steps"] = elements[3]:GetText(), ["steps"] = elements[3]:GetText(),
["expected"] = elements[4]:GetText(), ["expected"] = elements[4]:GetText(),
["actual"] = elements[5]:GetText(), ["actual"] = elements[5]:GetText(),
}, function() }, function(code, body)
notification.AddLegacy(gmInte.getTranslation("report_bug.success", "Bug report sent successfully"), NOTIFY_GENERIC, 5) notification.AddLegacy(gmInte.getTranslation("report_bug.success", "Bug report sent successfully"), NOTIFY_GENERIC, 5)
frame:Close() frame:Close()
end, function() notification.AddLegacy(gmInte.getTranslation("report_bug.error.failed", "Failed to send bug report retry later"), NOTIFY_ERROR, 5) end) end, function(code, body)
if code == 429 then
gmInte.chatAddText(Color(255, 255, 255), gmInte.getTranslation("chat.error.rate_limit", "This interaction is being rate limited, please try again later."))
return
end
notification.AddLegacy(gmInte.getTranslation("report_bug.error.failed", "Failed to send bug report retry later"), NOTIFY_ERROR, 5)
end)
end end
end end

View File

@ -37,7 +37,14 @@ hook.Add("PostRender", "gmInteScreenshot", function()
["screenshot"] = base64Capture, ["screenshot"] = base64Capture,
["captureData"] = captureData, ["captureData"] = captureData,
["size"] = size .. "KB" ["size"] = size .. "KB"
}, function(code, body) gmInte.chatAddText(Color(255, 130, 92), gmInte.getTranslation("chat.screenshot.sent", "Screenshot sent to Discord.")) end, function(code, body) gmInte.log("Screenshot failed to send to Discord, error code: " .. code, true) end) }, function(code, body) gmInte.chatAddText(Color(255, 130, 92), gmInte.getTranslation("chat.screenshot.sent", "Screenshot sent to Discord.")) end, function(code, body)
if code == 429 then
gmInte.chatAddText(Color(255, 255, 255), gmInte.getTranslation("chat.error.rate_limit", "This interaction is being rate limited, please try again later."))
return
end
gmInte.log("Screenshot failed to send to Discord, error code: " .. code, true)
end)
end) end)
function gmInte.takeScreenShot() function gmInte.takeScreenShot()

View File

@ -0,0 +1,49 @@
function gmInte.postCHATMTakeMoney(ply, amount, reason)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/ch-atm/take-money", {
["player"] = gmInte.getPlayerFormat(ply),
["amount"] = math.Round(amount),
["reason"] = reason
})
end
function gmInte.postCHATMReceiveMoney(ply, amount, reason)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/ch-atm/receive-money", {
["player"] = gmInte.getPlayerFormat(ply),
["amount"] = math.Round(amount),
["reason"] = reason
})
end
function gmInte.postCHATMSendMoney(ply, amount, plyReceiver)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
if !plyReceiver:IsValid() || !plyReceiver:IsPlayer(plyReceiver) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/ch-atm/send-money", {
["player"] = gmInte.getPlayerFormat(ply),
["receiver"] = gmInte.getPlayerFormat(plyReceiver),
["amount"] = math.Round(amount)
})
end
function gmInte.postCHATMWithdrawMoney(ply, amount)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/ch-atm/withdraw-money", {
["player"] = gmInte.getPlayerFormat(ply),
["amount"] = math.Round(amount)
})
end
function gmInte.postCHATMDepositMoney(ply, amount)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/ch-atm/deposit-money", {
["player"] = gmInte.getPlayerFormat(ply),
["amount"] = math.Round(amount)
})
end
hook.Add("CH_ATM_bLogs_TakeMoney", "gmInte:Player:CH:ATM:TakeMoney", function(amount, ply, reason) gmInte.postCHATMTakeMoney(ply, amount, reason) end)
hook.Add("CH_ATM_bLogs_ReceiveMoney", "gmInte:Player:CH:ATM:ReceiveMoney", function(amount, ply, reason) gmInte.postCHATMReceiveMoney(ply, amount, reason) end)
hook.Add("CH_ATM_bLogs_SendMoney", "gmInte:Player:CH:ATM:SendMoney", function(ply, amount, plyReceiver) gmInte.postCHATMSendMoney(ply, amount, plyReceiver) end)
hook.Add("CH_ATM_bLogs_WithdrawMoney", "gmInte:Player:CH:ATM:WithdrawMoney", function(ply, amount) gmInte.postCHATMWithdrawMoney(ply, amount) end)
hook.Add("CH_ATM_bLogs_DepositMoney", "gmInte:Player:CH:ATM:DepositMoney", function(ply, amount) gmInte.postCHATMDepositMoney(ply, amount) end)

View File

@ -0,0 +1,35 @@
function gmInte.postDarkRPDroppedMoney(ply, amount, entity)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/dark-rp/drop-money", {
["player"] = gmInte.getPlayerFormat(ply),
["amount"] = math.Round(amount),
["entity"] = gmInte.getEntityFormat(entity),
})
end
function gmInte.postDarkRPPickedUpMoney(ply, price, entity)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/dark-rp/picked-up-money", {
["player"] = gmInte.getPlayerFormat(ply),
["amount"] = math.Round(price),
["entity"] = gmInte.getEntityFormat(entity),
})
end
function gmInte.postDarkRPPickedUpCheque(plyWriter, plyTarget, price, sucess, entity)
if !plyWriter:IsValid() || !plyWriter:IsPlayer() then return end
if !plyTarget:IsValid() || !plyTarget:IsPlayer() then return end
if ply != plyTo then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/dark-rp/picked-up-cheque", {
["playerChequeWriter"] = gmInte.getPlayerFormat(plyWriter),
["playerChequeTarget"] = gmInte.getPlayerFormat(plyTarget),
["amount"] = math.Round(price),
["entity"] = gmInte.getEntityFormat(entity),
})
end
if DarkRP then
hook.Add("playerDroppedMoney", "gmInte:Player:DarkRPDroppedMoney", function(ply, amount, entity) gmInte.postDarkRPDroppedMoney(ply, amount, entity) end)
hook.Add("playerPickedUpMoney", "gmInte:Player:DarkRPPickedUpMoney", function(ply, price, entity) gmInte.postDarkRPPickedUpMoney(ply, price, entity) end)
hook.Add("playerDroppedCheque", "gmInte:Player:DarkRPPickedUpCheque", function(plyWriter, plyTarget, price, sucess, entity) gmInte.postDarkRPPickedUpCheque(plyWriter, plyTarget, price, sucess, entity) end)
end

View File

@ -1,6 +1,7 @@
local conFuncs = { local conFuncs = {
["version"] = function() gmInte.log("Version: " .. gmInte.version) end, ["version"] = function() print("Version: " .. gmInte.version) end,
["setting"] = function(args) gmInte.saveSetting(args[2], args[3]) end, ["set-setting"] = function(args) gmInte.saveSetting(args[2], args[3]) end,
["show-settings"] = function() PrintTable(gmInte.config) end,
["try"] = function() gmInte.tryConfig() end, ["try"] = function() gmInte.tryConfig() end,
["refresh"] = function() gmInte.refreshSettings() end, ["refresh"] = function() gmInte.refreshSettings() end,
["get-server-id"] = function() print(gmInte.config.id || "none") end, ["get-server-id"] = function() print(gmInte.config.id || "none") end,
@ -12,7 +13,14 @@ local function cmdExecuted(ply, cmd, args)
if conFuncs[args[1]] then if conFuncs[args[1]] then
conFuncs[args[1]](args) conFuncs[args[1]](args)
else else
gmInte.log("Unknown Command Argument") print("Unknown Command, available commands are:")
print("version")
print("set-setting <setting> <value>")
print("show-settings")
print("try")
print("refresh")
print("get-server-id")
print("export-warns")
end end
end end

View File

@ -34,8 +34,6 @@ local function checkPlayerFilter(code, body, data)
end end
local function checkPlayerIsLink(code, body, data) local function checkPlayerIsLink(code, body, data)
print(body)
PrintTable(body)
if !body then return end if !body then return end
if !body.discordID then game.KickID(data.networkid, filterMessage(gmInte.getTranslation("filter.link", "You need to link your discord account before joining, verify your account on {1}", "https://gmod-integration.com/account"))) end if !body.discordID then game.KickID(data.networkid, filterMessage(gmInte.getTranslation("filter.link", "You need to link your discord account before joining, verify your account on {1}", "https://gmod-integration.com/account"))) end
end end

View File

@ -25,6 +25,7 @@ end
local netReceive = { local netReceive = {
[0] = function(ply, data) [0] = function(ply, data)
if ply.gmIntIsReady then return end
ply.branch = data.branch ply.branch = data.branch
hook.Run("gmInte:PlayerReady", ply) hook.Run("gmInte:PlayerReady", ply)
end, end,

View File

@ -21,6 +21,15 @@ function gmInte.playerDisconnected(ply)
}) })
end end
function gmInte.playerChangedTeam(ply, oldTeam, newTeam)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.post("/servers/:serverID/players/" .. ply:SteamID64() .. "/team", {
["player"] = gmInte.getPlayerFormat(ply),
["oldTeam"] = gmInte.getTeamFormat(oldTeam),
["newTeam"] = gmInte.getTeamFormat(newTeam)
})
end
function gmInte.playerSpawn(ply) function gmInte.playerSpawn(ply)
if !ply:IsValid() || !ply:IsPlayer(ply) then return end if !ply:IsValid() || !ply:IsPlayer(ply) then return end
gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/spawn", { gmInte.http.postLog("/servers/:serverID/players/" .. ply:SteamID64() .. "/spawn", {
@ -88,14 +97,16 @@ function gmInte.postLogPlayerGive(ply, class, swep)
}) })
end end
hook.Add("gmInte:PlayerReady", "gmInte:Player:Ready", function(ply) gmInte.playerReady(ply) end) local function savePlyDisconnect()
hook.Add("ShutDown", "gmInte:Server:Shutdown:SavePlayers", function()
for _, ply in ipairs(player.GetAll()) do for _, ply in ipairs(player.GetAll()) do
gmInte.playerDisconnected(ply) gmInte.playerDisconnected(ply)
end end
end) end
gameevent.Listen("player_connect") gameevent.Listen("player_connect")
hook.Add("ShutDown", "gmInte:Server:Shutdown:SavePlayers", savePlyDisconnect)
hook.Add("GMI:SaveBeforeCrash", "gmInte:Server:BeforeCrash:SavePlayers", savePlyDisconnect)
hook.Add("gmInte:PlayerReady", "gmInte:Player:Ready", function(ply) gmInte.playerReady(ply) end)
hook.Add("player_connect", "gmInte:Player:Connect", function(data) gmInte.playerConnect(data) end) hook.Add("player_connect", "gmInte:Player:Connect", function(data) gmInte.playerConnect(data) end)
hook.Add("PlayerDisconnected", "gmInte:Player:Disconnect", function(ply) gmInte.playerDisconnected(ply) end) hook.Add("PlayerDisconnected", "gmInte:Player:Disconnect", function(ply) gmInte.playerDisconnected(ply) end)
hook.Add("PlayerSpawn", "gmInte:Player:Spawn", function(ply) gmInte.playerSpawn(ply) end) hook.Add("PlayerSpawn", "gmInte:Player:Spawn", function(ply) gmInte.playerSpawn(ply) end)
@ -110,3 +121,7 @@ hook.Add("PlayerSpawnedVehicle", "gmInte:Player:SpawnedVehicle", function(ply, e
hook.Add("PlayerSpawnedEffect", "gmInte:Player:SpawnedEffect", function(ply, model, ent) gmInte.postLogPlayerSpawnedSomething("effect", ply, ent, model) end) hook.Add("PlayerSpawnedEffect", "gmInte:Player:SpawnedEffect", function(ply, model, ent) gmInte.postLogPlayerSpawnedSomething("effect", ply, ent, model) end)
hook.Add("PlayerSpawnedRagdoll", "gmInte:Player:SpawnedRagdoll", function(ply, model, ent) gmInte.postLogPlayerSpawnedSomething("ragdoll", ply, ent, model) end) hook.Add("PlayerSpawnedRagdoll", "gmInte:Player:SpawnedRagdoll", function(ply, model, ent) gmInte.postLogPlayerSpawnedSomething("ragdoll", ply, ent, model) end)
hook.Add("PlayerSpawnedSWEP", "gmInte:Player:SpawnedSWEP", function(ply, ent) gmInte.postLogPlayerSpawnedSomething("swep", ply, ent) end) hook.Add("PlayerSpawnedSWEP", "gmInte:Player:SpawnedSWEP", function(ply, ent) gmInte.postLogPlayerSpawnedSomething("swep", ply, ent) end)
hook.Add("PlayerChangedTeam", "gmInte:Player:ChangedTeam", function(ply, oldTeam, newTeam)
gmInte.playerChangedTeam(ply, oldTeam, newTeam)
ply:gmInteResetTimeLastTeamChange()
end)

View File

@ -50,10 +50,18 @@ function gmInte.verifyPlayerBranch(ply)
gmInte.plyInVerifBranchQueue[ply:SteamID64()] = ply gmInte.plyInVerifBranchQueue[ply:SteamID64()] = ply
end end
function gmInte.blockFamilySharing(ply)
if !gmInte.config.verifyFamilySharing then return end
if !ply:IsValid() || !ply:IsPlayer(ply) || ply:IsBot() || !ply:IsFullyAuthenticated() then return end
if ply:OwnerSteamID64() == ply:SteamID64() then return end
ply:Kick(gmInte.getTranslation("verification.family_sharing", "This server does not allow family sharing"))
end
hook.Add("gmInte:PlayerReady", "gmInte:Verif:PlayerReady", function(ply) hook.Add("gmInte:PlayerReady", "gmInte:Verif:PlayerReady", function(ply)
ply.gmIntIsReady = true ply.gmIntIsReady = true
gmInte.verifyPlayer(ply) gmInte.verifyPlayer(ply)
gmInte.verifyPlayerBranch(ply) gmInte.verifyPlayerBranch(ply)
gmInte.blockFamilySharing(ply)
end) end)
// Routine to check the verification of players and kick them if they don't verify // Routine to check the verification of players and kick them if they don't verify

View File

@ -1,90 +1,90 @@
return { return {
["verification.title"] = "Verificatie Vereist", ["verification.title"] = "Verifizierung Erforderlich",
["verification.open_page"] = "Open Verificatie Pagina", ["verification.open_page"] = "Verifizierungsseite Öffnen",
["verification.description"] = "Hey,\nHet lijkt erop dat je je Steam-account nog niet hebt gekoppeld aan Discord. Dit is vereist om op deze server te spelen. Klik op de onderstaande knop om je account te koppelen.\n\nNadat je dat hebt gedaan, klik je op de vernieuwingsknop.", ["verification.description"] = "Hey,\nEs scheint, dass du dein Steam-Konto noch nicht mit Discord verknüpft hast. Dies ist erforderlich, um auf diesem Server zu spielen. Klicke auf die Schaltfläche unten, um dein Konto zu verknüpfen.\n\nNachdem du das getan hast, klicke auf die Aktualisierungsschaltfläche.",
["verification.refresh"] = "Vernieuw Verificatie", ["verification.refresh"] = "Verifizierung Aktualisieren",
["verification.success"] = "Je bent geverifieerd", ["verification.success"] = "Du bist verifiziert",
["verification.fail"] = "Verificatie mislukt", ["verification.fail"] = "Verifizierung fehlgeschlagen",
["verification.link_require"] = "Deze server vereist dat je je Discord-account koppelt om te spelen", ["verification.link_require"] = "Dieser Server erfordert, dass du dein Discord-Konto verknüpfst, um zu spielen",
["admin.restart_required"] = "Herstart Vereist", ["admin.restart_required"] = "Neustart Erforderlich",
["admin.restart_required_description"] = "Sommige wijzigingen vereisen een herstart om toegepast te worden.\nNu herstarten?", ["admin.restart_required_description"] = "Einige Änderungen erfordern einen Neustart, um angewendet zu werden.\nJetzt neu starten?",
["admin.restart"] = "Herstart", ["admin.restart"] = "Neustart",
["admin.maybe_later"] = "Misschien Later", ["admin.maybe_later"] = "Vielleicht Später",
["admin.authentication"] = "Authenticatie", ["admin.authentication"] = "Authentifizierung",
["admin.main"] = "Hoofd", ["admin.main"] = "Haupt",
["admin.trust_safety"] = "Vertrouwen & Veiligheid", ["admin.trust_safety"] = "Vertrauen & Sicherheit",
["admin.advanced"] = "Geavanceerd", ["admin.advanced"] = "Erweitert",
["admin.server_id"] = "Server ID", ["admin.server_id"] = "Server ID",
["admin.server_id_description"] = "Server ID gevonden op het webpaneel.", ["admin.server_id_description"] = "Server ID im Webpanel gefunden.",
["admin.link.open_webpanel"] = "Open Webpaneel", ["admin.link.open_webpanel"] = "Webpanel Öffnen",
["admin.link.test_connection"] = "Test Verbinding", ["admin.link.test_connection"] = "Verbindung Testen",
["admin.link.buy_premium"] = "Koop Premium", ["admin.link.buy_premium"] = "Premium Kaufen",
["admin.link.install_websocket"] = "Installeer Websocket", ["admin.link.install_websocket"] = "Websocket Installieren",
["admin.websocket_required"] = "\n\nDeze functie vereist een websocket-verbinding om correct te werken.", ["admin.websocket_required"] = "\n\nDiese Funktion erfordert eine Websocket-Verbindung, um korrekt zu funktionieren.",
["admin.feature_soon"] = "\n\nDeze functie zal binnenkort beschikbaar zijn.", ["admin.feature_soon"] = "\n\nDiese Funktion wird bald verfügbar sein.",
["admin.enabled"] = "Ingeschakeld", ["admin.enabled"] = "Aktiviert",
["admin.disabled"] = "Uitgeschakeld", ["admin.disabled"] = "Deaktiviert",
["admin.click_to_show"] = "*** Klik om te tonen ***", ["admin.click_to_show"] = "*** Klicken zum Anzeigen ***",
["admin.server_id_description2"] = "Hier kun je je serverinstellingen configureren.\nServer ID en Token zijn beschikbaar op het webpaneel in de serverinstellingen.\nDe documentatie is beschikbaar op {1}\nAls je hulp nodig hebt, neem dan contact met ons op via onze discord-server.", ["admin.server_id_description2"] = "Hier kannst du deine Servereinstellungen konfigurieren.\nServer ID und Token sind im Webpanel in den Servereinstellungen verfügbar.\nDie Dokumentation ist verfügbar unter {1}\nWenn du Hilfe benötigst, kontaktiere uns bitte über unseren Discord-Server.",
["admin.server_config"] = "Server Configuratie", ["admin.server_config"] = "Server Konfiguration",
["admin.server_token"] = "Server Token", ["admin.server_token"] = "Server Token",
["admin.server_token_description"] = "Server Token gevonden op het webpaneel.", ["admin.server_token_description"] = "Server Token im Webpanel gefunden.",
["admin.filter_on_ban"] = "Blokkeer Discord Verbannen Speler", ["admin.filter_on_ban"] = "Discord Gebannte Spieler Blockieren",
["admin.filter_on_ban_description"] = "Blokkeer spelers die verbannen zijn op de Discord-server.", ["admin.filter_on_ban_description"] = "Blockiere Spieler, die auf dem Discord-Server gebannt sind.",
["admin.force_player_link"] = "Forceer Speler Verificatie", ["admin.force_player_link"] = "Spielerverifizierung Erzwingen",
["admin.force_player_link_description"] = "Forceer speler verificatie.", ["admin.force_player_link_description"] = "Spielerverifizierung erzwingen.",
["admin.language"] = "Taal", ["admin.language"] = "Sprache",
["admin.language_description"] = "Taal die wordt gebruikt in de interface.", ["admin.language_description"] = "Sprache, die in der Benutzeroberfläche verwendet wird.",
["admin.maintenance"] = "Onderhoud", ["admin.maintenance"] = "Wartung",
["admin.maintenance_description"] = "Activeer of deactiveer de onderhoudsmodus.", ["admin.maintenance_description"] = "Aktiviere oder deaktiviere den Wartungsmodus.",
["admin.api_fqdn"] = "API FQDN", ["admin.api_fqdn"] = "API FQDN",
["admin.api_fqdn_description"] = "API FQDN die zal worden gebruikt voor de API-verbinding.", ["admin.api_fqdn_description"] = "API FQDN, der für die API-Verbindung verwendet wird.",
["admin.websocket_fqdn"] = "Websocket FQDN", ["admin.websocket_fqdn"] = "Websocket FQDN",
["admin.websocket_fqdn_description"] = "Websocket FQDN die zal worden gebruikt voor de Websocket-verbinding.", ["admin.websocket_fqdn_description"] = "Websocket FQDN, der für die Websocket-Verbindung verwendet wird.",
["admin.debug"] = "Debug", ["admin.debug"] = "Debug",
["admin.debug_description"] = "Activeer of deactiveer de debugmodus.", ["admin.debug_description"] = "Aktiviere oder deaktiviere den Debugmodus.",
["context_menu.screen_capture"] = "Sluit het contextmenu om de screenshot te maken die naar Discord wordt verzonden.", ["context_menu.screen_capture"] = "Schließe das Kontextmenü, um den Screenshot zu machen, der an Discord gesendet wird.",
["report_bug.title"] = "Rapporteer een bug", ["report_bug.title"] = "Einen Fehler Melden",
["report_bug.description"] = "Rapporteer een bug aan de ontwikkelaars van dit spel.", ["report_bug.description"] = "Melde einen Fehler an die Entwickler dieses Spiels.",
["report_bug.submit"] = "Verzend Bug Rapport", ["report_bug.submit"] = "Fehlerbericht Senden",
["report_bug.cancel"] = "Annuleren", ["report_bug.cancel"] = "Abbrechen",
["report_bug.screenshot"] = "Screenshot", ["report_bug.screenshot"] = "Screenshot",
["report_bug.description"] = "Beschrijving", ["report_bug.description"] = "Beschreibung",
["report_bug.importance_level"] = "Belangrijkheidsniveau", ["report_bug.importance_level"] = "Wichtigkeitsgrad",
["report_bug.importance_level.dsc"] = "Hoe belangrijk is deze bug?", ["report_bug.importance_level.dsc"] = "Wie wichtig ist dieser Fehler?",
["report_bug.importance_level.critical"] = "Kritiek - Crash of maakt het spel onspeelbaar.", ["report_bug.importance_level.critical"] = "Kritisch - Absturz oder macht das Spiel unspielbar.",
["report_bug.importance_level.high"] = "Hoog - Kritieke functionaliteit is onbruikbaar.", ["report_bug.importance_level.high"] = "Hoch - Kritische Funktionalität ist unbrauchbar.",
["report_bug.importance_level.medium"] = "Gemiddeld - Belangrijke functionaliteit is onbruikbaar.", ["report_bug.importance_level.medium"] = "Mittel - Wichtige Funktionalität ist unbrauchbar.",
["report_bug.importance_level.low"] = "Laag - Cosmetisch probleem.", ["report_bug.importance_level.low"] = "Niedrig - Kosmetisches Problem.",
["report_bug.importance_level.trivial"] = "Triviaal - Zeer klein probleem.", ["report_bug.importance_level.trivial"] = "Trivial - Sehr kleines Problem.",
["report_bug.steps_to_reproduce"] = "Stappen om te reproduceren", ["report_bug.steps_to_reproduce"] = "Schritte zur Reproduktion",
["report_bug.expected_result"] = "Verwacht resultaat", ["report_bug.expected_result"] = "Erwartetes Ergebnis",
["report_bug.actual_result"] = "Werkelijk resultaat", ["report_bug.actual_result"] = "Tatsächliches Ergebnis",
["report_bug.actual_result.dsc"] = "Wat is er werkelijk gebeurd?", ["report_bug.actual_result.dsc"] = "Was ist tatsächlich passiert?",
["report_bug.expected_result.dsc"] = "Wat verwachtte je dat er zou gebeuren?", ["report_bug.expected_result.dsc"] = "Was hast du erwartet, dass passieren würde?",
["report_bug.steps_to_reproduce.dsc"] = "Geef alsjeblieft een stapsgewijze handleiding over hoe je de bug kunt reproduceren.", ["report_bug.steps_to_reproduce.dsc"] = "Bitte gib eine Schritt-für-Schritt-Anleitung, wie der Fehler reproduziert werden kann.",
["report_bug.description.dsc"] = "Geef alsjeblieft zoveel mogelijk informatie om ons te helpen het probleem op te lossen.", ["report_bug.description.dsc"] = "Bitte gib so viele Informationen wie möglich, um uns zu helfen, das Problem zu lösen.",
["report_bug.error.missing_fields"] = "Vul alle verplichte velden in voordat je het bugrapport indient.", ["report_bug.error.missing_fields"] = "Bitte fülle alle erforderlichen Felder aus, bevor du den Fehlerbericht sendest.",
["report_bug.success"] = "Bugrapport succesvol verzonden", ["report_bug.success"] = "Fehlerbericht erfolgreich gesendet",
["report_bug.error.failed"] = "Het verzenden van het bugrapport is mislukt, probeer het later opnieuw.", ["report_bug.error.failed"] = "Fehlerbericht senden fehlgeschlagen, bitte versuche es später erneut.",
["chat.missing_permissions"] = "Je hebt geen toestemming om deze actie uit te voeren.", ["chat.missing_permissions"] = "Du hast keine Berechtigung, diese Aktion auszuführen.",
["chat.authentication_success"] = "Succesvol geauthenticeerd", ["chat.authentication_success"] = "Erfolgreich authentifiziert",
["chat.authentication_failed"] = "Authenticatie mislukt", ["chat.authentication_failed"] = "Authentifizierung fehlgeschlagen",
["chat.server_link"] = ", server gekoppeld als {1}.", ["chat.server_link"] = ", Server verknüpft als {1}.",
["chat.server_fail"] = ", controleer je ID en Token.", ["chat.server_fail"] = ", überprüfe deine ID und Token.",
["chat.error.screenshot_failed"] = "Het maken van een screenshot is mislukt, je systeem ondersteunt deze functie mogelijk niet.", ["chat.error.screenshot_failed"] = "Screenshot erstellen fehlgeschlagen, dein System unterstützt diese Funktion möglicherweise nicht.",
["chat.screenshot.sent"] = "Screenshot verzonden naar Discord.", ["chat.screenshot.sent"] = "Screenshot an Discord gesendet.",
["report_bug.description.full"] = "Hey, je staat op het punt een bug te rapporteren aan de eigenaren van deze server.\nGeef alsjeblieft zoveel mogelijk informatie om ons te helpen het probleem op te lossen.\nBedankt dat je ons helpt de server te verbeteren.\n\nAls je een probleem hebt met Gmod Integration, gebruik dan onze discord-server.", ["report_bug.description.full"] = "Hey, du bist dabei, einen Fehler an die Besitzer dieses Servers zu melden.\nBitte gib so viele Informationen wie möglich, um uns zu helfen, das Problem zu lösen.\nDanke, dass du uns hilfst, den Server zu verbessern.\n\nWenn du ein Problem mit Gmod Integration hast, benutze bitte unseren Discord-Server.",
["report_bug.context_menu.screen_capture"] = "Sluit het contextmenu om de screenshot te maken die je wilt gebruiken in het bugrapport.", ["report_bug.context_menu.screen_capture"] = "Schließe das Kontextmenü, um den Screenshot zu machen, den du im Fehlerbericht verwenden möchtest.",
["filter.ds.1"] = "Je kunt niet op deze server komen", ["filter.ds.1"] = "Du kannst nicht auf diesen Server kommen",
["filter.ds.2"] = "Reden: {1}", ["filter.ds.2"] = "Grund: {1}",
["filter.none"] = "geen", ["filter.none"] = "keine",
["filter.ds.3"] = "Help URL: {1}", ["filter.ds.3"] = "Hilfe-URL: {1}",
["filter.ds.4"] = "Een fijne dag verder", ["filter.ds.4"] = "Einen schönen Tag noch",
["filter.ds.5"] = "Service geleverd door Gmod Integration", ["filter.ds.5"] = "Service bereitgestellt von Gmod Integration",
["filter.maintenance"] = "De server is momenteel in onderhoud en je staat niet op de whitelist.", ["filter.maintenance"] = "Der Server befindet sich derzeit in Wartung und du stehst nicht auf der Whitelist.",
["filter.ban"] = "Je bent verbannen van deze server.", ["filter.ban"] = "Du bist von diesem Server gebannt.",
["filter.discord_ban"] = "Je bent verbannen van onze Discord-server.", ["filter.discord_ban"] = "Du bist von unserem Discord-Server gebannt.",
["branch.title"] = "Falscher Branch", ["branch.title"] = "Falscher Branch",
["branch.description"] = "Hey,\nDieser Server erlaubt deine Spielversion '{1}' nicht. Bitte wechsle zu '{2}' im Beta-Tab der Garry's Mod-Eigenschaften.\n\nSteam -> Bibliothek -> Garry's Mod -> Rechtsklick -> Eigenschaften -> Betas -> Wähle '{3}'" .. "\n\nNachdem du das getan hast, beende Garry's Mod und trete dem Server erneut bei.", ["branch.description"] = "Hey,\nDieser Server erlaubt deine Spielversion '{1}' nicht. Bitte wechsle zu '{2}' im Beta-Tab der Garry's Mod-Eigenschaften.\n\nSteam -> Bibliothek -> Garry's Mod -> Rechtsklick -> Eigenschaften -> Betas -> Wähle '{3}'" .. "\n\nNachdem du das getan hast, beende Garry's Mod und trete dem Server erneut bei.",
["branch.watchTutorial"] = "Tutorial ansehen", ["branch.watchTutorial"] = "Tutorial ansehen",
@ -99,4 +99,7 @@ return {
["verification.kick"] = "Du wurdest gekickt, weil du dich nicht verifiziert hast. Verifiziere dein Konto auf {1}", ["verification.kick"] = "Du wurdest gekickt, weil du dich nicht verifiziert hast. Verifiziere dein Konto auf {1}",
["verification.kick_in_branch"] = "Wenn du deinen Branch nicht innerhalb von {1} Sekunden änderst, wirst du gekickt", ["verification.kick_in_branch"] = "Wenn du deinen Branch nicht innerhalb von {1} Sekunden änderst, wirst du gekickt",
["verification.kick_branch"] = "Du wurdest gekickt, weil du deinen Branch nicht auf {1} geändert hast", ["verification.kick_branch"] = "Du wurdest gekickt, weil du deinen Branch nicht auf {1} geändert hast",
["verification.family_sharing"] = "Dieser Server erlaubt kein Family Sharing",
["verification.verifyFamilySharing"] = "Family Sharing blockieren",
["verification.verifyFamilySharing_description"] = "Blockiere Spieler, die Family Sharing verwenden."
} }

View File

@ -1,4 +1,5 @@
return { return {
["chat.error.rate_limit"] = "This interaction is being rate limited, please try again later.",
["verification.title"] = "Verification Required", ["verification.title"] = "Verification Required",
["verification.open_page"] = "Open Verification Page", ["verification.open_page"] = "Open Verification Page",
["verification.description"] = "Hey,\nIt looks like you haven't linked your Steam account to Discord yet. This is required to play on this server. Please click the button below to link your account.\n\nAfter you've done that, click the refresh button.", ["verification.description"] = "Hey,\nIt looks like you haven't linked your Steam account to Discord yet. This is required to play on this server. Please click the button below to link your account.\n\nAfter you've done that, click the refresh button.",
@ -99,4 +100,7 @@ return {
["verification.kick"] = "You have been kicked for not verifying, verify your account on {1}", ["verification.kick"] = "You have been kicked for not verifying, verify your account on {1}",
["verification.kick_in_branch"] = "If you don't change your branch in {1} seconds you will be kicked", ["verification.kick_in_branch"] = "If you don't change your branch in {1} seconds you will be kicked",
["verification.kick_branch"] = "You have been kicked for not changing your branch to {1}", ["verification.kick_branch"] = "You have been kicked for not changing your branch to {1}",
["verification.family_sharing"] = "This server does not allow family sharing",
["verification.verifyFamilySharing"] = "Block Family Sharing",
["verification.family_shariverifyFamilySharing_descriptionng"] = "Block family sharing players."
} }

View File

@ -99,4 +99,7 @@ return {
["verification.kick"] = "Has sido expulsado por no verificar, verifica tu cuenta en {1}", ["verification.kick"] = "Has sido expulsado por no verificar, verifica tu cuenta en {1}",
["verification.kick_in_branch"] = "Si no cambias tu rama en {1} segundos serás expulsado", ["verification.kick_in_branch"] = "Si no cambias tu rama en {1} segundos serás expulsado",
["verification.kick_branch"] = "Has sido expulsado por no cambiar tu rama a {1}", ["verification.kick_branch"] = "Has sido expulsado por no cambiar tu rama a {1}",
["verification.family_sharing"] = "Este servidor no permite el uso compartido familiar",
["verification.verifyFamilySharing"] = "Bloquear Uso Compartido Familiar",
["verification.family_sharing_description"] = "Bloquear jugadores que usan el uso compartido familiar."
} }

View File

@ -99,4 +99,7 @@ return {
["verification.kick"] = "Vous avez été expulsé pour ne pas avoir vérifié, vérifiez votre compte sur {1}", ["verification.kick"] = "Vous avez été expulsé pour ne pas avoir vérifié, vérifiez votre compte sur {1}",
["verification.kick_in_branch"] = "Si vous ne changez pas de branche dans {1} secondes, vous serez expulsé", ["verification.kick_in_branch"] = "Si vous ne changez pas de branche dans {1} secondes, vous serez expulsé",
["verification.kick_branch"] = "Vous avez été expulsé pour ne pas avoir changé votre branche en {1}", ["verification.kick_branch"] = "Vous avez été expulsé pour ne pas avoir changé votre branche en {1}",
["verification.family_sharing"] = "Ce serveur n'autorise pas le partage familial",
["verification.verifyFamilySharing"] = "Bloquer le partage familial",
["verification.verifyFamilySharing_description"] = "Bloquer les joueurs utilisant le partage familial."
} }

View File

@ -99,4 +99,7 @@ return {
["verification.kick"] = "Sei stato espulso per non aver verificato, verifica il tuo account su {1}", ["verification.kick"] = "Sei stato espulso per non aver verificato, verifica il tuo account su {1}",
["verification.kick_in_branch"] = "Se non cambi il tuo branch entro {1} secondi sarai espulso", ["verification.kick_in_branch"] = "Se non cambi il tuo branch entro {1} secondi sarai espulso",
["verification.kick_branch"] = "Sei stato espulso per non aver cambiato il tuo branch a {1}", ["verification.kick_branch"] = "Sei stato espulso per non aver cambiato il tuo branch a {1}",
["verification.family_sharing"] = "Questo server non permette la condivisione familiare",
["verification.verifyFamilySharing"] = "Blocca Condivisione Familiare",
["verification.verifyFamilySharing_description"] = "Blocca i giocatori che utilizzano la condivisione familiare."
} }

View File

@ -0,0 +1,105 @@
return {
["verification.title"] = "Verificatie Vereist",
["verification.open_page"] = "Open Verificatie Pagina",
["verification.description"] = "Hey,\nHet lijkt erop dat je je Steam-account nog niet hebt gekoppeld aan Discord. Dit is vereist om op deze server te spelen. Klik op de onderstaande knop om je account te koppelen.\n\nNadat je dat hebt gedaan, klik je op de vernieuwingsknop.",
["verification.refresh"] = "Vernieuw Verificatie",
["verification.success"] = "Je bent geverifieerd",
["verification.fail"] = "Verificatie mislukt",
["verification.link_require"] = "Deze server vereist dat je je Discord-account koppelt om te spelen",
["admin.restart_required"] = "Herstart Vereist",
["admin.restart_required_description"] = "Sommige wijzigingen vereisen een herstart om toegepast te worden.\nNu herstarten?",
["admin.restart"] = "Herstart",
["admin.maybe_later"] = "Misschien Later",
["admin.authentication"] = "Authenticatie",
["admin.main"] = "Hoofd",
["admin.trust_safety"] = "Vertrouwen & Veiligheid",
["admin.advanced"] = "Geavanceerd",
["admin.server_id"] = "Server ID",
["admin.server_id_description"] = "Server ID gevonden op het webpaneel.",
["admin.link.open_webpanel"] = "Open Webpaneel",
["admin.link.test_connection"] = "Test Verbinding",
["admin.link.buy_premium"] = "Koop Premium",
["admin.link.install_websocket"] = "Installeer Websocket",
["admin.websocket_required"] = "\n\nDeze functie vereist een websocket-verbinding om correct te werken.",
["admin.feature_soon"] = "\n\nDeze functie zal binnenkort beschikbaar zijn.",
["admin.enabled"] = "Ingeschakeld",
["admin.disabled"] = "Uitgeschakeld",
["admin.click_to_show"] = "*** Klik om te tonen ***",
["admin.server_id_description2"] = "Hier kun je je serverinstellingen configureren.\nServer ID en Token zijn beschikbaar op het webpaneel in de serverinstellingen.\nDe documentatie is beschikbaar op {1}\nAls je hulp nodig hebt, neem dan contact met ons op via onze discord-server.",
["admin.server_config"] = "Server Configuratie",
["admin.server_token"] = "Server Token",
["admin.server_token_description"] = "Server Token gevonden op het webpaneel.",
["admin.filter_on_ban"] = "Blokkeer Discord Verbannen Speler",
["admin.filter_on_ban_description"] = "Blokkeer spelers die verbannen zijn op de Discord-server.",
["admin.force_player_link"] = "Forceer Speler Verificatie",
["admin.force_player_link_description"] = "Forceer speler verificatie.",
["admin.language"] = "Taal",
["admin.language_description"] = "Taal die wordt gebruikt in de interface.",
["admin.maintenance"] = "Onderhoud",
["admin.maintenance_description"] = "Activeer of deactiveer de onderhoudsmodus.",
["admin.api_fqdn"] = "API FQDN",
["admin.api_fqdn_description"] = "API FQDN die zal worden gebruikt voor de API-verbinding.",
["admin.websocket_fqdn"] = "Websocket FQDN",
["admin.websocket_fqdn_description"] = "Websocket FQDN die zal worden gebruikt voor de Websocket-verbinding.",
["admin.debug"] = "Debug",
["admin.debug_description"] = "Activeer of deactiveer de debugmodus.",
["context_menu.screen_capture"] = "Sluit het contextmenu om de screenshot te maken die naar Discord wordt verzonden.",
["report_bug.title"] = "Rapporteer een bug",
["report_bug.description"] = "Rapporteer een bug aan de ontwikkelaars van dit spel.",
["report_bug.submit"] = "Verzend Bug Rapport",
["report_bug.cancel"] = "Annuleren",
["report_bug.screenshot"] = "Screenshot",
["report_bug.description"] = "Beschrijving",
["report_bug.importance_level"] = "Belangrijkheidsniveau",
["report_bug.importance_level.dsc"] = "Hoe belangrijk is deze bug?",
["report_bug.importance_level.critical"] = "Kritiek - Crash of maakt het spel onspeelbaar.",
["report_bug.importance_level.high"] = "Hoog - Kritieke functionaliteit is onbruikbaar.",
["report_bug.importance_level.medium"] = "Gemiddeld - Belangrijke functionaliteit is onbruikbaar.",
["report_bug.importance_level.low"] = "Laag - Cosmetisch probleem.",
["report_bug.importance_level.trivial"] = "Triviaal - Zeer klein probleem.",
["report_bug.steps_to_reproduce"] = "Stappen om te reproduceren",
["report_bug.expected_result"] = "Verwacht resultaat",
["report_bug.actual_result"] = "Werkelijk resultaat",
["report_bug.actual_result.dsc"] = "Wat is er werkelijk gebeurd?",
["report_bug.expected_result.dsc"] = "Wat verwachtte je dat er zou gebeuren?",
["report_bug.steps_to_reproduce.dsc"] = "Geef alsjeblieft een stapsgewijze handleiding over hoe je de bug kunt reproduceren.",
["report_bug.description.dsc"] = "Geef alsjeblieft zoveel mogelijk informatie om ons te helpen het probleem op te lossen.",
["report_bug.error.missing_fields"] = "Vul alle verplichte velden in voordat je het bugrapport indient.",
["report_bug.success"] = "Bugrapport succesvol verzonden",
["report_bug.error.failed"] = "Het verzenden van het bugrapport is mislukt, probeer het later opnieuw.",
["chat.missing_permissions"] = "Je hebt geen toestemming om deze actie uit te voeren.",
["chat.authentication_success"] = "Succesvol geauthenticeerd",
["chat.authentication_failed"] = "Authenticatie mislukt",
["chat.server_link"] = ", server gekoppeld als {1}.",
["chat.server_fail"] = ", controleer je ID en Token.",
["chat.error.screenshot_failed"] = "Het maken van een screenshot is mislukt, je systeem ondersteunt deze functie mogelijk niet.",
["chat.screenshot.sent"] = "Screenshot verzonden naar Discord.",
["report_bug.description.full"] = "Hey, je staat op het punt een bug te rapporteren aan de eigenaren van deze server.\nGeef alsjeblieft zoveel mogelijk informatie om ons te helpen het probleem op te lossen.\nBedankt dat je ons helpt de server te verbeteren.\n\nAls je een probleem hebt met Gmod Integration, gebruik dan onze discord-server.",
["report_bug.context_menu.screen_capture"] = "Sluit het contextmenu om de screenshot te maken die je wilt gebruiken in het bugrapport.",
["filter.ds.1"] = "Je kunt niet op deze server komen",
["filter.ds.2"] = "Reden: {1}",
["filter.none"] = "geen",
["filter.ds.3"] = "Help URL: {1}",
["filter.ds.4"] = "Een fijne dag verder",
["filter.ds.5"] = "Service geleverd door Gmod Integration",
["filter.maintenance"] = "De server is momenteel in onderhoud en je staat niet op de whitelist.",
["filter.ban"] = "Je bent verbannen van deze server.",
["filter.discord_ban"] = "Je bent verbannen van onze Discord-server.",
["branch.title"] = "Falscher Branch",
["branch.description"] = "Hey,\nDieser Server erlaubt deine Spielversion '{1}' nicht. Bitte wechsle zu '{2}' im Beta-Tab der Garry's Mod-Eigenschaften.\n\nSteam -> Bibliothek -> Garry's Mod -> Rechtsklick -> Eigenschaften -> Betas -> Wähle '{3}'" .. "\n\nNachdem du das getan hast, beende Garry's Mod und trete dem Server erneut bei.",
["branch.watchTutorial"] = "Tutorial ansehen",
["admin.verify_on_join"] = "Beim Beitritt verifizieren",
["admin.verify_on_join_description"] = "Verifiziere den Spieler, wenn er dem Server beitritt oder wenn der Spieler bereit ist.",
["admin.verify_on_ready_kick_time"] = "Kick-Zeit, wenn nicht verifiziert",
["admin.verify_on_ready_kick_time_description"] = "Zeit in Sekunden, bevor ein nicht verifizierter Spieler gekickt wird.",
["admin.client_force_branch"] = "Client-Zweig erzwingen",
["admin.client_force_branch_description"] = "Der Zweig des Addons, den die Clients verwenden sollen.",
["filter.link"] = "Du musst dein Discord-Konto verknüpfen, bevor du beitreten kannst. Verifiziere dein Konto auf {1}",
["verification.kick_in"] = "Wenn du dich nicht innerhalb von {1} Sekunden verifizierst, wirst du gekickt",
["verification.kick"] = "Du wurdest gekickt, weil du dich nicht verifiziert hast. Verifiziere dein Konto auf {1}",
["verification.kick_in_branch"] = "Wenn du deinen Branch nicht innerhalb von {1} Sekunden änderst, wirst du gekickt",
["verification.kick_branch"] = "Du wurdest gekickt, weil du deinen Branch nicht auf {1} geändert hast",
["verification.family_sharing"] = "Dieser Server erlaubt kein Family Sharing",
["verification.verifyFamilySharing"] = "Family Sharing blockieren",
["verification.verifyFamilySharing_description"] = "Blockiere Spieler, die Family Sharing verwenden."
}

View File

@ -99,4 +99,7 @@ return {
["verification.kick"] = "Zostałeś wyrzucony za brak weryfikacji, zweryfikuj swoje konto na {1}", ["verification.kick"] = "Zostałeś wyrzucony za brak weryfikacji, zweryfikuj swoje konto na {1}",
["verification.kick_in_branch"] = "Jeśli nie zmienisz swojej gałęzi w ciągu {1} sekund, zostaniesz wyrzucony", ["verification.kick_in_branch"] = "Jeśli nie zmienisz swojej gałęzi w ciągu {1} sekund, zostaniesz wyrzucony",
["verification.kick_branch"] = "Zostałeś wyrzucony za brak zmiany gałęzi na {1}", ["verification.kick_branch"] = "Zostałeś wyrzucony za brak zmiany gałęzi na {1}",
["verification.family_sharing"] = "Ten serwer nie pozwala na udostępnianie rodzinne",
["verification.verisfyFamilySharing"] = "Blokuj Udostępnianie Rodzinne",
["verification.family_sharing_description"] = "Blokuj graczy korzystających z udostępniania rodzinnego."
} }

View File

@ -99,4 +99,7 @@ return {
["verification.kick"] = "Вы были кикнуты за отсутствие верификации, верифицируйте свою учетную запись на {1}", ["verification.kick"] = "Вы были кикнуты за отсутствие верификации, верифицируйте свою учетную запись на {1}",
["verification.kick_in_branch"] = "Если вы не смените ветку в течение {1} секунд, вас кикнут", ["verification.kick_in_branch"] = "Если вы не смените ветку в течение {1} секунд, вас кикнут",
["verification.kick_branch"] = "Вы были кикнуты за несмену ветки на {1}", ["verification.kick_branch"] = "Вы были кикнуты за несмену ветки на {1}",
["verification.family_sharing"] = "This server does not allow family sharing",
["verification.verifyFamilySharing"] = "Блокировать семейный доступ",
["verification.verifyFamilySharing_description"] = "Блокировать игроков, использующих семейный доступ."
} }

View File

@ -99,4 +99,7 @@ return {
["verification.kick"] = "Doğrulamadığınız için atıldınız, hesabınızı {1} üzerinde doğrulayın", ["verification.kick"] = "Doğrulamadığınız için atıldınız, hesabınızı {1} üzerinde doğrulayın",
["verification.kick_in_branch"] = "{1} saniye içinde dalınızı değiştirmezseniz atılacaksınız", ["verification.kick_in_branch"] = "{1} saniye içinde dalınızı değiştirmezseniz atılacaksınız",
["verification.kick_branch"] = "Dalınızı {1} olarak değiştirmediğiniz için atıldınız", ["verification.kick_branch"] = "Dalınızı {1} olarak değiştirmediğiniz için atıldınız",
["verification.family_sharing"] = "Bu sunucu aile paylaşımına izin vermiyor",
["verification.verifyFamilySharing"] = "Aile Paylaşımını Engelle",
["verification.family_sharing_description"] = "Aile paylaşımı yapan oyuncuları engelle."
} }

View File

@ -10,8 +10,11 @@ function gmInte.getPlayerFormat(ply)
["kills"] = ply:Frags(), ["kills"] = ply:Frags(),
["deaths"] = ply:Deaths(), ["deaths"] = ply:Deaths(),
["customValues"] = ply:gmIntGetCustomValues(), ["customValues"] = ply:gmIntGetCustomValues(),
["connectTime"] = math.Round(RealTime() - ply:gmIntGetConnectTime()), ["connectTime"] = math.Round(math.Round(RealTime() - ply:gmIntGetConnectTime())),
["timeLastTeamChange"] = math.Round(RealTime() - ply:gmIntGetTimeLastTeamChange()),
["adjustedTime"] = math.Round(ply:getAdjustedTime()),
["ping"] = ply:Ping(), ["ping"] = ply:Ping(),
["fps"] = ply:gmIntGetFPS(),
["position"] = gmInte.getVectorFormat(ply:GetPos()), ["position"] = gmInte.getVectorFormat(ply:GetPos()),
["angle"] = gmInte.getAngleFormat(ply:EyeAngles()), ["angle"] = gmInte.getAngleFormat(ply:EyeAngles()),
["weapon"] = gmInte.getWeaponFormat(ply:GetActiveWeapon()) ["weapon"] = gmInte.getWeaponFormat(ply:GetActiveWeapon())

View File

@ -108,6 +108,7 @@ local function flushLogs()
end end
hook.Add("ShutDown", "gmInte:Server:ShutDown:FlushLogs", flushLogs) hook.Add("ShutDown", "gmInte:Server:ShutDown:FlushLogs", flushLogs)
hook.Add("GMI:SaveBeforeCrash", "gmInte:Server:BeforeCrash:SavePlayers", flushLogs)
timer.Create("gmInte:http:flushLogs", 3, 0, flushLogs) timer.Create("gmInte:http:flushLogs", 3, 0, flushLogs)
function gmInte.http.postLog(endpoint, data) function gmInte.http.postLog(endpoint, data)
table.insert(nextLogPacket, { table.insert(nextLogPacket, {

View File

@ -7,6 +7,14 @@ function ply:gmIntIsVerified()
return self.gmIntVerified || false return self.gmIntVerified || false
end end
function ply:gmIntGetTimeLastTeamChange()
return self.gmIntTimeLastTeamChange || RealTime()
end
function ply:gmInteResetTimeLastTeamChange()
self.gmIntTimeLastTeamChange = RealTime()
end
function ply:gmInteGetBranch() function ply:gmInteGetBranch()
return CLIENT && BRANCH || self.branch || "unknown" return CLIENT && BRANCH || self.branch || "unknown"
end end
@ -47,6 +55,8 @@ local function getCustomCompatability(ply)
values.ps2Points = ply.PS2_Wallet.points values.ps2Points = ply.PS2_Wallet.points
values.ps2PremiumPoints = ply.PS2_Wallet.premiumPoints values.ps2PremiumPoints = ply.PS2_Wallet.premiumPoints
end end
if CH_ATM && SERVER then values.bank = CH_ATM.GetMoneyBankAccount(ply) end
return values return values
end end
@ -69,3 +79,81 @@ end
function ply:gmIntGetCustomValues() function ply:gmIntGetCustomValues()
return getCustomValues(self) return getCustomValues(self)
end end
function ply:gmIntGetFPS()
return self.gmIntFPS || 0
end
gmInte.restoreFileCache = gmInte.restoreFileCache || {}
function ply:getAdjustedTime()
if gmInte.restoreFileCache == nil || gmInte.restoreFileCache.sysTime == nil || gmInte.restoreFileCache.playersList == nil then return 0 end
if SERVER then
if table.IsEmpty(gmInte.restoreFileCache) then
if file.Exists("gm_integration/player_before_map_change.json", "DATA") then
gmInte.restoreFileCache = util.JSONToTable(file.Read("gm_integration/player_before_map_change.json", "DATA"))
else
return 0
end
end
else
if table.IsEmpty(gmInte.restoreFileCache) then
if file.Exists("gmod_integration/player_before_map_change.json", "DATA") then
gmInte.restoreFileCache = util.JSONToTable(file.Read("gmod_integration/player_before_map_change.json", "DATA"))
else
return 0
end
gmInte.restoreFileCache = gmInte.restoreFileCache[gmInte.config.id]
end
end
if !gmInte.restoreFileCache.sysTime || !gmInte.restoreFileCache.playersList then return 0 end
if (gmInte.restoreFileCache.sysTime + 60 * 5) < (os.time() - self:gmIntGetConnectTime()) then return 0 end
if !gmInte.restoreFileCache.playersList[self:SteamID()] then return 0 end
return gmInte.restoreFileCache.playersList[self:SteamID()].connectTime || 0
end
if SERVER then
gameevent.Listen("player_connect")
hook.Add("player_connect", "gmInte:Player:Connect:RemoveRestore", function(data)
if table.IsEmpty(gmInte.restoreFileCache) then
if file.Exists("gm_integration/player_before_map_change.json", "DATA") then
gmInte.restoreFileCache = util.JSONToTable(file.Read("gm_integration/player_before_map_change.json", "DATA"))
else
return
end
end
if gmInte.restoreFileCache.playersList && gmInte.restoreFileCache.playersList[data.networkid] then
gmInte.restoreFileCache.playersList[data.networkid] = nil
file.Write("gm_integration/player_before_map_change.json", util.TableToJSON(gmInte.restoreFileCache, true))
end
end)
end
local function saveTimeToLocal()
local dataToSave = {
["version"] = "1.0",
["serverID"] = gmInte.config.id,
["playersList"] = {},
["sysTime"] = os.time()
}
if SERVER then
for _, ply in ipairs(player.GetAll()) do
dataToSave.playersList[ply:SteamID()] = gmInte.getPlayerFormat(ply)
end
if !file.Exists("gm_integration", "DATA") then file.CreateDir("gm_integration") end
file.Write("gm_integration/player_before_map_change.json", util.TableToJSON(dataToSave, true))
else
dataToSave.playersList[LocalPlayer():SteamID()] = gmInte.getPlayerFormat(LocalPlayer())
local oldData = {}
if file.Exists("gmod_integration/player_before_map_change.json", "DATA") then oldData = util.JSONToTable(file.Read("gmod_integration/player_before_map_change.json", "DATA")) end
oldData[gmInte.config.id] = dataToSave
file.Write("gmod_integration/player_before_map_change.json", util.TableToJSON(oldData, true))
end
end
hook.Add("ShutDown", "gmInte:Server:ShutDown:SavePlayer", saveTimeToLocal)
hook.Add("GMI:SaveBeforeCrash", "gmInte:Server:BeforeCrash:SavePlayers", saveTimeToLocal)

View File

@ -32,6 +32,7 @@ gmInte.config.debug = false // If true, the addon will show debug informations i
gmInte.config.forcePlayerLink = false // If true, the addon will force the players to link their discord account to their steam account before playing gmInte.config.forcePlayerLink = false // If true, the addon will force the players to link their discord account to their steam account before playing
gmInte.config.verifyOnJoin = false // If true, the addon will verify the players when they join the server or on player ready gmInte.config.verifyOnJoin = false // If true, the addon will verify the players when they join the server or on player ready
gmInte.config.verifyOnReadyKickTime = 600 // The time in seconds before kicking a player that is not verified (0 to disable) gmInte.config.verifyOnReadyKickTime = 600 // The time in seconds before kicking a player that is not verified (0 to disable)
gmInte.config.verifyFamilySharing = false // If true, the addon will verify the family sharing of the players
gmInte.config.clientBranch = "any" // The branch of the addon that the clients should use (none, dev, prerelease, x86-64) gmInte.config.clientBranch = "any" // The branch of the addon that the clients should use (none, dev, prerelease, x86-64)
// Other // Other
gmInte.config.supportLink = "" // The link of your support (shown when a player do not have the requiments to join the server) gmInte.config.supportLink = "" // The link of your support (shown when a player do not have the requiments to join the server)