#Banning by preset!

1 messages · Page 1 of 1 (latest)

cobalt acorn
#

Idk, this is my first custom command so hopefully it is good 🤣

#

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

severe minnow
#

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

cobalt acorn
#

when i was testing it, i was banning random userids which were really long

severe minnow
#

of course, user ids work fine, i meant usernames

cobalt acorn
#

setban 2983472983479823 Exploiting

#

oh users

#

yeah that should work too

#

does it not?

severe minnow
#

not for me atleast

cobalt acorn
#

oh

severe minnow
#

ig it doesnt translate it

cobalt acorn
#

it should do in theory

severe minnow
#

¯_(ツ)_/¯

cobalt acorn
#

give me a min to test with my friend

severe minnow
cobalt acorn
#

ohhhhhhhhhhhh

#

you cant use the "

severe minnow
#

doesnt matter if the player isnt in the server with you

cobalt acorn
#

setban bestUserName Exploiting

severe minnow
#

nope, invalid

cobalt acorn
#

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

cobalt acorn
severe minnow
#

in a game

#

players in the server are seen just fine

cobalt acorn
#

so the command works in published version?

severe minnow
#

i suppose so