Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-22-2010, 12:36 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Banning via script

I know this can be a security concern, but on Era we spend half an hour or so daily banning and unjailing players (virtually all are new Graal# players who are trying out hacking tools) who are caught by automatic hack detection. There is no reason to waste so much time when literally all we do is copy and paste the reason into the ban window and click "Apply". This can all be done by script very easily.

The commands I'm requesting are:
  • banAccount(str account, str banType)
  • isAccountBanned(str account) - returns bool - if the player is banned

The isAccountBanned function is so that I can place a friendly message in the server news (where servers often show description etc) saying "Your account is banned. If you have questions, see here" with instructions on contesting a ban.

To add some necessary security, banType is a predefined ban length and reason. Server options like such are declared:
PHP Code:
# days, reason
ban_freezehack=3,"Caught freeze hacking"
ban_wallhack=3,"Caught disabling wall check" 
(or however is most convenient for Stefan)

In addition, the banAccount command should not be able to ban accounts in staff= (server options) or with an adminlevel of 1 or above.
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.