Global options & placeholders
Sentry have global options that almost every Module contains and you can configure and use.
Admin notifications
Page dedicated to the notify-admins
option.
Global "on-detect" Placeholders
Here you can check some placeholders that you can use inside the on-detect
values.
How to configure "on-detect"?
Here is an example taken from the OP Protection module:
# What to do when Sentry finds someone getting OP without permission?
on-detect:
# Here you can set any command to execute to the target player.
# You can use -p inside to make the player execute the command instead of
# the console.
# You can also use placeholders, check at the top of the page.
execute-command: "say Hello %player%!"
# Here you can set the kick message reason.
# If leave it empty, Sentry will not kick the player.
kick: "&cAsk the server admins to allow you having OP through Sentry."
# Here you can set the notify-admins value.
# By default, it is set to true
# If you remove this line, Sentry will handle it as true too.
notify-admins: true
Ignoring any option
Sentry will not kick the player if "kick
" is empty or if you remove it entirely. Sentry will also not execute any command if it is empty or if you remove it entirely.
Here is an example of Sentry only notifying admins and not kicking the player nor executing any command.
on-detect:
notify-admins: true
Executing the command as the player
You just need to set "-p
" inside the execute-command.
execute-command: "me I just got caught by Sentry! yay! -p"
Last updated