blue-nebula / base

Main repository of Blue Nebula, a fast-paced shooter with a unique parkour system. It is a fork of Red Eclipse and is free software.
https://blue-nebula.org
15 stars 6 forks source link

Add warn command #240

Open voidanix opened 2 years ago

voidanix commented 2 years ago

Before this commit, warnings sent by moderators were not a real thing: they were simple messages with some cool blinking yellow.

Add an actual warn command that respects the syntax of existing moderation commands, that is /command cn reason.

By default only moderators can warn players; this can be modified with the new warnlock variable.