#Banning by preset!
1 messages · Page 1 of 1 (latest)
Place this module into addons
You need to put this module as a child of the main addon module above
Should look like this
Custom location can be added here on line 28 of the main module
Line 30 lets you set a custom note to end the ban message
Only line 44 you can set custom ban types so it changes the preset of the ban message
On line 19 you will have to add in the custom arguments for each reason, so make sure you remove any from here when you remove them from the presets module table, same goes for adding, make sure it is replicated
make sure you separate it by _ since we cant use spaces in custom arguments
you wouldnt happen to know how to allow it to ban by user too? afaik banning players not in your server must be done with ids
eg ;presetban "123456" reason
it does already for me
when i was testing it, i was banning random userids which were really long
of course, user ids work fine, i meant usernames
setban 2983472983479823 Exploiting
oh users
yeah that should work too
does it not?
not for me atleast
oh
ig it doesnt translate it
it should do in theory
¯_(ツ)_/¯
give me a min to test with my friend
doesnt matter if the player isnt in the server with you
setban bestUserName Exploiting
nope, invalid
whaaaa
ok im testing rn
i will get back to you
ok i cant seem to test it in studio :/
give me a min while i summon my friend then
are you in studio when your testing?
so the command works in published version?
i suppose so