Page 1 of 1

Ability to name lock in a server?

Posted: Sat Aug 31, 2024 1:21 am
by DBRider251
Is it possible to name lock someone in a server, or is that restricted to you doing it in the client only JLV?

Re: Ability to name lock in a server?

Posted: Sat Aug 31, 2024 1:51 am
by jlv
To force UID 577 to "Elmer Fudd", use this ban:

server,ban 577 0 (name=Elmer Fudd)

If you also want to mute them use this:

server,ban 577 0 (mute) (name=Elmer Fudd)

Re: Ability to name lock in a server?

Posted: Sat Aug 31, 2024 2:07 am
by DBRider251
This is outstanding, thanks

Re: Ability to name lock in a server?

Posted: Sat Aug 31, 2024 4:24 am
by Vojda
That's pretty cool.
And how did you remove the nickname lock (or mute) ? You just ban him for like 1 min ?

Re: Ability to name lock in a server?

Posted: Sat Aug 31, 2024 3:39 pm
by Jakob Hubbard
Vojda wrote: Sat Aug 31, 2024 4:24 am That's pretty cool.
And how did you remove the nickname lock (or mute) ? You just ban him for like 1 min ?
You specify the unix timestamp after the uid. 0 is a permanent ban, if anything else is provided it will check the ban against the unix timestamp.

Re: Ability to name lock in a server?

Posted: Sat Aug 31, 2024 5:23 pm
by Vojda
Jakob Hubbard wrote: Sat Aug 31, 2024 3:39 pm You specify the unix timestamp after the uid. 0 is a permanent ban, if anything else is provided it will check the ban against the unix timestamp.
Ok, I see, thanks

Re: Ability to name lock in a server?

Posted: Sun Sep 01, 2024 1:12 am
by jlv
Jakob Hubbard wrote: Sat Aug 31, 2024 3:39 pm
Vojda wrote: Sat Aug 31, 2024 4:24 am That's pretty cool.
And how did you remove the nickname lock (or mute) ? You just ban him for like 1 min ?
You specify the unix timestamp after the uid. 0 is a permanent ban, if anything else is provided it will check the ban against the unix timestamp.
It's a timestamp in the ban file. For "server,ban" it's minutes from the current time. So a 1 minute ban is the best way to remove it.

Re: Ability to name lock in a server?

Posted: Sun Sep 01, 2024 6:05 pm
by Jakob Hubbard
jlv wrote: Sun Sep 01, 2024 1:12 am It's a timestamp in the ban file. For "server,ban" it's minutes from the current time. So a 1 minute ban is the best way to remove it.
I see, thanks for the correction :D

Re: Ability to name lock in a server?

Posted: Thu Sep 05, 2024 7:53 pm
by Vojda
What about numbers ?
Is it like server,ban 577 0 (number=999) ??

Re: Ability to name lock in a server?

Posted: Fri Sep 06, 2024 1:28 am
by jlv
Vojda wrote: Thu Sep 05, 2024 7:53 pm What about numbers ?
Is it like server,ban 577 0 (number=999) ??
Right now there's only (mute) and (name=x).