I've been trying to do my own [efficient, meaning usable] implementation of these commands using a plugin, and i wanted to know if any of you had ideas for it. What first comes to mind is simple creating an array or similar data structure with all the temporarily banned players, and use a task to decrease remaining ban time by one every minute, but i'm not sure this would work well as i've read task should be used little and carefully.
So, the main question is: Does anyone see any problem with this, or could this create problems with the server if i had too many banned players? (too many ~= 15?)
If so, any suggestions for an alternative way of doing this would be appreciated.
PS: the mininum ban time could be raised so the task is executed less often, or to decrease remaining ban time on every map change.