Cookies


Vsroplus only uses the cookies it needs to keep you signed in and remember your language. No ads, no tracking.

Got it

Need to learn more? Privacy policy

Our guides are in English for now.

Disconnect IP Address

You will need to obtain the IP address that you want to disconnect. You can use the following query to get the IP address from the database.

SELECT IPAddress FROM _OnlinePlayers WHERE CharName16 = 'character_name'

Stored Procedure: _Command_DisconnectIP

Parameters:

  • @IPAddress VARCHAR(32) - Target IP address

Let us first test whether the command works by using the following code, which will disconnect all accounts related to this IP address.

USE [vPlus]
GO
DECLARE @IPAddress VARCHAR(32) = (SELECT IPAddress FROM _OnlinePlayers WHERE CharName16 = 'character_name')
EXEC _Command_DisconnectIP @IPAddress;

For real usage, use @IPAddress directly from your calling procedure.

EXEC _Command_DisconnectIP @IPAddress;

Last updated: 13 December, 2023

An error has occurred. This application may no longer respond until reloaded. Reload 🗙