![]() |
Thief suggestion
I'm guessing this is a good place to make a suggestion.
When someone tries to steal from you, you get a timer set that makes you invulnerable from theft for that period of time. This is to prevent a user from repeatedly thieving from another. I'm not a PHP coder, but the logic is this: It's one more table field for the timer. if (user_timer > current_time) { can_be_thefted(); user_timer = current_time + 10 minutes; // write user_timer to database user table } else { error_can't_be_thefted_yet(); } At worst, one query to check the timer. I'd make the '10 minutes" an option in admincp. |
That's a really good idea! I constantly have had problems with members attacking someone else over and over.
Where should this code go, and can I increase it to perhaps once every 12 hours. Thanks for the great mod! |
All times are GMT. The time now is 10:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|