• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Query to ban/kick a player

Junior Spellweaver
Joined
Nov 25, 2004
Messages
103
Reaction score
10
Hello guys!

I wanted to know if there is a db query that kicks, or even better - bans a player that is playing in the server? Not after a user quits game, but instant - when user is active.
I need a query and not a tool to do this, because I want to automate this process.

thanks in advance :wink:
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
This will ban, but won't kick. So you would have to kick then run this query.

Code:
USE Account
GO
UPDATE cabal_auth_table SET AuthType = '2' WHERE ID = 'username-here'

To unban, change the 2 to a 1.
 
Upvote 0
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
Thats the problem.

I'm new to cabal in general, but there might be some ways to "beat around it". Has anyone tried seeing if u change the value of them being logged in when they are logged in to force them out? Or just an idea here, run a query to delete the char while user is in game not sure what type of issues this one would cause and i would only try char deletion on a test server first LOL.
 
Upvote 0
Skilled Illusionist
Joined
Feb 26, 2013
Messages
346
Reaction score
57
There is trick to DC everyone from server without restarting channel and without beeing in game
 
Upvote 0
Back
Top