Global options & placeholders
Admin notifications
Admin notificationsGlobal "on-detect" Placeholders
Placeholders for "on-detect"How to configure "on-detect"?
# 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
Executing the command as the player
Last updated