mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-29 13:24:26 -05:00
630 B
630 B
About
Automatically sends a warning to players who teamkill to remind them to apologise in all chat.
Installation
// Place the following line at the top of your index.js file.
import { autoTKWarn } from 'plugins';
// Place the following lines after all of the above.
await autoTKWarn(
server,
{ // options - the options included below display the defaults and can be removed for simplicity.
message: 'Please apologise for ALL TKs in ALL chat!' // warning to send
}
);