hichay
1
Features:
- Easy to add new logs from config
- Easy to translate (config)
- Inclued Kill Log
- Inclued login and logout
Example:
AddEventHandler('esx:useItem', function(itemName)
local xPlayer = ESX.GetPlayerFromId(source)
local count = xPlayer.getInventoryItem(itemName).count
if count > 0 then
ESX.UseItem(source, itemName)
local MessageSendtoDiscord = 'Player ' .. xPlayer.name .. ' Use ' ..count..' '.. ESX.GetItemLabel(itemName) .. ' '
TriggerEvent('moon_discordlogs:sendToDiscord', 'WebhookUseItem', MessageSendtoDiscord, source, '^5')
else
xPlayer.showNotification(_U('act_imp'))
end
end)
WebhookUseItem is config name.
^5 is color (config)
Dependencies:
Price: 10$
Buy here: Moon’s Resource | Discord Logs (tebex.io)
My work:
Can you list the events this logs?
Unai02
7
This have chat log like /me and /do
There’s this which is free Tazio - Server log
hichay
9
This is self add config. you can add many as you like
hichay
10
Yeah it can work for anything. /me /do /giveitem /additem /addmoney or all the other command.
hichay
11
This one is not the one you post here. it not only inclued login. it can self make event. You cant understand it right ?
1 Like
hichay
12
Config['webhook'] = {
['Login'] = 'https://discord.com/api/webhooks/803838790065193000/ZXlbuNOq4hgJtTTgKcTt_Kgo4pTTvATXRevdhtFgmRnOxCIBymn4YuIxnWmaGUBx8dWa',
['Logout'] = 'https://discord.com/api/webhooks/803838790065193000/ZXlbuNOq4hgJtTTgKcTt_Kgo4pTTvATXRevdhtFgmRnOxCIBymn4YuIxnWmaGUBx8dWa',
['Chat'] = 'https://discordapp.com/api/webhooks/732203632476553257/2_pblgbhipYx7MYQs-zn-GZT4GebcWN1-U3htGPlqgMoN2cCWPfgC9WrUGtchz-3Vsto',
['Dead'] = 'https://discordapp.com/api/webhooks/732203359695798322/OIVNbUXI0-fuUsWkTbmTTM_BUPG9nHDf_i6OgUP1NcvW3j9wfJX3w5dE1BgMvsOwNbcG',
['GiveItem'] = 'https://discordapp.com/api/webhooks/732217236026032228/Om0RSkgpB_J-BqO6mWlVMTDNBjkZHDTPttM3YKBlqNPCc-m1LSdCOqrlaAedJemdh5Qc',
['GiveMoney'] = 'https://discordapp.com/api/webhooks/732217502960058449/6lCd07Kp5EoyotFyzGlzgtsQKYLmnVGlTbDKqMSVAQj0rqxLGKuhvphePp4aJ79a37jl',
['GiveDirtyMoney'] = 'https://discordapp.com/api/webhooks/732217694207737996/Gku0sGyMYtfwBMR7V0MIUY9xW4OrKmBH6E6zvUXIOL3ddMtzMAcHJXoAb7j1ovtKKK30',
['GiveWeapon'] = 'https://discordapp.com/api/webhooks/732217915109277696/osGlF8Fsg2IJSgq_fwfscN8bQjxWcuky79Qa4oSrqpZNNEIfjIj4P7x6bdltY7MHxubE',
['RemoveItem'] = 'https://discordapp.com/api/webhooks/732218163563069563/ZqzEtFtZzUBoVKkV8XgzK3_1rh3pRCmfpGMCmv7jYp_KlMdxXHLumcBc8SNH3QgmDan9',
['RemoveMoney'] = 'https://discordapp.com/api/webhooks/732218354361696397/jdEB3fcBx49GgHqwYPQi27HqCKx-_8ndFzPYC6dwgDu22J8oM19IMqZp9CmkJyjWHwos',
['RemoveDirtyMoney'] = 'https://discordapp.com/api/webhooks/732218576018210916/VBySpyP8n515FRixb950n7S5b1z7DLYRYjAhzFhGQmLBLX9Hz2GB5kI_lTyJ297cYqPm',
['RemoveWeapon'] = 'https://discordapp.com/api/webhooks/732218774757048423/4j42ErJ26TECc91rQbvQd61fzpnr1Ry-a7ldffTm9KkF-ngE4rczE6cggE0eeNMKTwD9',
['UseItem'] = 'https://discordapp.com/api/webhooks/732218966558376006/Oxo8Mg4x9Pz2sRlyVg8ONUiI7XcmS4V7zt1KnNM3JegrJ08bLTgxHUC3OFUUvRqT0atl',
['PickupItem'] = 'https://discordapp.com/api/webhooks/732219183441510471/RH7hgFArxsyzS7Mw2gga6AN-PEnyriLhXT4M38piS3Up2aymxftLRb3Zij2yUcJF6oJe',
['PickupMoney'] = 'https://discordapp.com/api/webhooks/732219363897114697/Zo24sUvtF-LaGEHkS6nqwUhjuhaM9MSZtZKpO76PtZ04rIjPNhbI-OIkmUliTP7dG5Ee',
['PickupDirtyMoney'] = 'https://discordapp.com/api/webhooks/732219552934395975/pAe8f6IvlKdgytfx6XUTWq0J1Ji11NpCGLJIScmUkHBKOq4tNPyYSMRAIhAlKp_wJA67'
}
This is the example log i make. and you can add more than this. it depend on your server and how many logs you want
bought this but didnt get a download link
hichay
14
Send a request in discord. this place is not for support