Skip to main content
Version: 0.0.54

AutoModerationPlugin

Plugin to automatically kick players when they violate rules:

  • Driving without lights during the night
  • Driving the wrong way
  • Blocking the road
note

Admins are exempt from these rules and will not see flags or get kicked.

When EnableClientMessages is enabled, wrong way / no parking / no lights signs will be shown to the player.
Included in the Flags folder are Japanese-style signs. You can replace these with custom signs.

Demo

Configuration

Enable the plugin in extra_cfg.yml

EnablePlugins:
- AutoModerationPlugin

Example configuration (add to bottom of extra_cfg.yml)

---
!AutoModerationConfiguration
# Kick players driving without lights during the night
NoLightsKick:
# Set to false to disable
Enabled: true
# Time after the player gets kicked. A warning will be sent in chat after half this time
DurationSeconds: 60
# Players driving slower than this speed will not be kicked
MinimumSpeedKph: 20
# Kick players driving the wrong way. AI has to enabled for this to work
WrongWayKick:
# Set to false to disable
Enabled: true
# Time after the player gets kicked. A warning will be sent in chat after half this time
DurationSeconds: 20
# Players driving slower than this speed will not be kicked
MinimumSpeedKph: 20
# Kick players blocking the road. AI has to be enabled for this to work
BlockingRoadKick:
# Set to false to disable
Enabled: true
# Time after the player gets kicked. A warning will be sent in chat after half this time
DurationSeconds: 30
# Players driving faster than this speed will not be kicked
MaximumSpeedKph: 5