Webhook loging system made straightforward !

  • Creating logs is simple !
  • Infinite quantity of webhooks

Logs

Config = {}
    Config.Logs = {
        ['default'] = '',
        ['inventory'] = '',
    }


Config.Colours = {
    ["default"] = 16711680,
    ["blue"] = 25087,
    ["green"] = 762640,
    ["white"] = 16777215,
    ["black"] = 0,
    ["orange"] = 16743168,
    ["lightgreen"] = 65309,
    ["yellow"] = 15335168,
    ["turqois"] = 62207,
    ["pink"] = 16711900,
    ["red"] = 16711680,
}

Instance
es_extended/server/important.lua 290

if targetXPlayer.canCarryItem(itemName, itemCount) then
	sourceXPlayer.removeInventoryItem(itemName, itemCount)
	targetXPlayer.addInventoryItem   (itemName, itemCount)

	sourceXPlayer.showNotification(_U('gave_item', itemCount, sourceItem.label, targetXPlayer.identify))
	targetXPlayer.showNotification(_U('received_item', itemCount, sourceItem.label, sourceXPlayer.identify))

				native knowledge = {
					['Player'] = sourceXPlayer.supply, 
					['Target'] = targetXPlayer.supply, 
					['Log'] = 'inventorius', 
					['Title'] = 'Dave itema is inventoriaus', -- Title
					['Message'] = '**Koki itema dave: **``' .. sourceItem.label .. '``n**Kiekis: ** ``' .. itemCount .. '``', 
					['Color'] = 'blue', 
				}

				TriggerEvent('Increase-Logs:SendLog', knowledge)

	else
		sourceXPlayer.showNotification(_U('ex_inv_lim', targetXPlayer.identify))
finish

Extra examples will be discovered on the github web page
Get it here !

Earlier launch
[Standalone] Simple numpad



Looking for paid scripts? Click here