Could you convert ban boolean into integer that represents seconds and make that -1 = definitive, 0 = kick and >= 1 = ban time? And also make that warn false do nothing and warn true inform the player only (don't kick/ban).
I'm trying to develop a plugin using your hook to create level.
Warn player about violation.
- Kick player.
- Ban for 10 minutes.
- Ban for 60 minutes.
- Ban for 24 hours.
- Definitive ban.