Ban player in game with a command

Hello since 2days I have alot of troller who join my roleplay server, my question is, is there a script that allow us to ban thanks to a cmd in game ? Thank you

try /ban id 999999 reason

What? There’s no such command.

I’m actually working on a system for tempban/perm ban. I may or may not release it though

1 Like

We can’t ban for the moment then :confused:

1 Like

You can through rcon,

Download icecon and connect to your serverip:port and the pass you stated in citmp-server.yml.

Then use tempbanclient [ID] to ban someone, this will last next server restart

Set your DB up with groups. Currently essential mode /ban command is set to admin user group.
Set your user group to admin and you will be able to ban such as this format…

/ban id time reason

Time is. Number + h for hours , m for minutes and s for seconds so to ban someone for 24 hours it would be…
/ban 2 24h being an asshole

wheres the ban command at can u show the code?

1 Like

Essential resource folder then es_admin then sv_admin.lua scroll down you’ll find it.
I’m at work at the moment

yep I cant find it are you talking about the rcon command


if not can u send me ur sv_admin file

2 Likes

First off which essential mode you use?
No it’s a command. And yes it does work perfectly so does noclip, slap, kick, ban, I’ve tried the other commands like /car don’t work, /bring to teleport a player to you has not worked .
But I can assure you /ban is a command and works perfectly

When I get home I will post mine for you

all the other commands you said I have but I dont have the ban command tell me are u using the latest essential mode?

No. The previous version

I AM having the same problem as robot. /ban just pops up as text in game. Where is /ban code???!?!?

If you are using es_admin2 then press the Home Key. Should bring up a menu. However tho it will be a Perm Ban i think. Still haven’t found a tempban solution for in game. Like /tempban ID TIME REASON