Auto-kick when username is taken

Post here your suggestions for new possible features in SmartFoxServer.

Moderators: Lapo, Bax

User avatar
mistermind
Posts: 131
Joined: 15 Sep 2007, 01:33
Contact:

Auto-kick when username is taken

Postby mistermind » 13 Mar 2008, 04:05

sfs.login(zone, myName, myPass, true);
variable usage: true to kick any one logged with that username.

Reason: Even with custom login and a nice implementation of ghost-killers, we still eventually end up with ghost connections due to client's errors.
A lot of games and messengers out there have this feature enabled, including MSN Messenger and World of Warcraft. I think it would be a great addition and would avoid us to deal with mod logins or extensions just to to kick it.
User avatar
tobypb
Posts: 48
Joined: 15 Jun 2007, 20:50

Postby tobypb » 13 Mar 2008, 17:46

I second this request 8) . I currently have a custom login which disconnects a user by executing the following code in java:

Code: Select all

ExtensionHelper.instance().disconnectUser(currentZone.getUserByName(username));


I didn't realise there was a chance this will leave ghost connections though :?:

Return to “Features Wish List”

Who is online

Users browsing this forum: No registered users and 1 guest