Skip to main content
NXV_SEND_WEBHOOK(url, body, callback)
boolean
required
Sends an encrypted webhook, which cannot be http spied.
Example usage:
NXV_SEND_WEBHOOK(
	"https://discord.com/api/webhooks/123456789012345678/abcdefghijklmnopqrstuvwxyz",
	{
		username = "NXV Logger",
		content = "Player executed the script"
	},
	function(success, msg)
		if success then
			print("Webhook sent")
		else
			warn("Webhook failed:", msg)
		end
	end
)
NXV_SANITIZE(input, regex_pattern)
string
required
Cleans a value into a safe string by removing unwanted characters using a pattern.
local clean = NXV_SANITIZE("Hello!!! @Player#1", "[^%w]")
print(clean) -- HelloPlayer1