Ability to name lock in a server?

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
DBRider251
Posts: 1960
Joined: Fri Jun 21, 2013 5:38 pm
Team: Elevated Motorsports

Ability to name lock in a server?

Post 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?
TeamHavocRacing wrote:it's all the liberals fault
jlv
Site Admin
Posts: 15011
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Ability to name lock in a server?

Post 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)
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
DBRider251
Posts: 1960
Joined: Fri Jun 21, 2013 5:38 pm
Team: Elevated Motorsports

Re: Ability to name lock in a server?

Post by DBRider251 »

This is outstanding, thanks
TeamHavocRacing wrote:it's all the liberals fault
Vojda
Posts: 52
Joined: Sun Aug 26, 2018 4:37 pm
Team: MxGR

Re: Ability to name lock in a server?

Post by Vojda »

That's pretty cool.
And how did you remove the nickname lock (or mute) ? You just ban him for like 1 min ?
Jakob Hubbard
Posts: 1180
Joined: Fri Nov 24, 2017 3:16 am
Team: Phil's
Location: Cold
Contact:

Re: Ability to name lock in a server?

Post 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.
Image
Vojda
Posts: 52
Joined: Sun Aug 26, 2018 4:37 pm
Team: MxGR

Re: Ability to name lock in a server?

Post 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
jlv
Site Admin
Posts: 15011
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Ability to name lock in a server?

Post 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.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Jakob Hubbard
Posts: 1180
Joined: Fri Nov 24, 2017 3:16 am
Team: Phil's
Location: Cold
Contact:

Re: Ability to name lock in a server?

Post 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
Image
Vojda
Posts: 52
Joined: Sun Aug 26, 2018 4:37 pm
Team: MxGR

Re: Ability to name lock in a server?

Post by Vojda »

What about numbers ?
Is it like server,ban 577 0 (number=999) ??
jlv
Site Admin
Posts: 15011
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Ability to name lock in a server?

Post 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).
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Post Reply