how to ban/kick people
Posted: 15 Aug 2010, 23:20
I was wondering... Is there a way to ban people if they dont get banned by the auto ban? Or if they broke one of your rules How could i ban them?
SmartFoxServer support forums
https://www.smartfoxserver.com/forums/
https://www.smartfoxserver.com/forums/viewtopic.php?f=1&t=8231
BigFIsh wrote:With user being a 'moderator', you can manually ban a user by doing something like this:
var dataObj = {}
dataObj.id = userId.toString()
dataObj.msg = "Your msg"
smartFox.sendXtMessage("$dmn", "ban", dataObj) //ban a user
smartFox.sendXtMessage("$dmn", "kick", dataObj) //kick a user
skybucks100 wrote:BigFIsh wrote:With user being a 'moderator', you can manually ban a user by doing something like this:
var dataObj = {}
dataObj.id = userId.toString()
dataObj.msg = "Your msg"
smartFox.sendXtMessage("$dmn", "ban", dataObj) //ban a user
smartFox.sendXtMessage("$dmn", "kick", dataObj) //kick a user
Is there a way i could make a website like... http://www.mybanningwebsiteexample.com/bannauser.(what ever it would be)