Update to new ban method.

Reference https://essentials3.atlassian.net/browse/ESS-2690 request.