foclassic
foclassic copied to clipboard
Migrate ban handling to server extensions/scripts
- [ ]
bool player_connect( uint ip, string& message )
handle IP bans, called just before hardcoded checks (which will be removed after migration); called much earlier thanplayer_registration
and little earlier thanplayer_login
if function returns false, client receives FOGAME.MSG/1043 first, thenmessage
content (if not empty) - [ ] provide extension/script for handling ban entries depends on #20 progress