local versioner = exports['bcc-anticheat'].versioner()
local repo = 'https://github.com/VORPCORE/vorp_inventory-lua
versioner.checkRelease(GetCurrentResourceName(), repo)
<1.3>
- More awesome updates
<1.1>
- Some awesome updates
<1.0>
- My first Update
Aşağıdaki içerikleri lua sunucunuza ekleyin
Kod:
local versioner = exports['bcc-anticheat'].versioner()
local repo = 'https://github.com/VORPCORE/
versioner.checkFile(GetCurrentResourceName(), repo)
Küfür Filtresi
Kod:
local mystring = 'What the crap is this mouse'
local filter = '*****'
local profanity = exports['bcc-anticheat'].profanity()
local cleaned = profanity.filter(mystring, filter)
print(cleaned)
-- prints out: "What the ****"
Komut dosyası başına Küfür Filtresine ekle
Kod:
local mystring = 'What the crap is this mouse'
local filter = '*****'
local profanity = exports['bcc-anticheat'].profanity()
profanity.addToList({
'sad',
'cat',
'mouse'
})
local cleaned = profanity.filter(mystring, filter)
print(cleaned)
-- prints out: "What the **** is this ****"
Discord Webhook'ları
Bu API, Discord webhooks mesajlarını scriptlerinize kolayca eklemenizi sağlar
Mesaj gönder
Kod:
local discord = exports['bcc-anticheat'].discord()
discord.sendMessage('webhookurl', 'My Script', 'https://cdn2.iconfinder.com/data/icons/frosted-glass/256/Danger.png', 'user123', 'this user is awesome')
local discord = exports['bcc-anticheat'].discord()
discord.sendMessage('webhookurl', 'My Script', 'https://cdn2.iconfinder.com/data/icons/frosted-glass/256/Danger.png', 'user123', 'this user is awesome'{
{
{
color = 11342935,
title = 'some times',
description = 'awesomesauce'
},
{
color = 11342935,
title = 'some other time',
description = 'awesomesauce'
},
}
})
XSS Dizesi Kontrolü
Kod:
local mystring = '<iframe src="badactor"></iframe>'
local stringy = exports['bcc-anticheat'].strings()
local isxss = stringy.xss(mystring)
print(isxss)
-- prints out: true
Yapılacaklar:
Yaygın olarak kullanılan diğer anahtar spam'lerini ekleyin