Disconnect NPC from AdminTool

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

moris
Posts: 52
Joined: 17 Aug 2012, 11:11

Disconnect NPC from AdminTool

Postby moris » 30 Apr 2020, 13:19

Hello

Is possible to disconnect NPC user using Admin Tool?

The kick button is inactive for NPC users.
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Disconnect NPC from AdminTool

Postby Lapo » 30 Apr 2020, 15:23

Hi,
no it's not supported. You can remove NPCs via server side code.
For example:

Code: Select all

getApi().disconnectUser(npcUser);


Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Stevenor and 80 guests