mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Allow restricting AutoRespond matches to bot owner
Suggestion by AppleCidar in #184
This commit is contained in:
parent
881e080fd6
commit
a4cc36ce05
4 changed files with 61 additions and 24 deletions
|
|
@ -8,6 +8,7 @@
|
|||
# You can define an action if the match was in a private message
|
||||
# You can define an action if the match was not sent by a player
|
||||
# Regex matches are also supported eg $1, $2, $3.. in actions
|
||||
# Matches can optionally be restricted to bot owners only
|
||||
|
||||
# Simple example: Respond to a message containing a keyword
|
||||
|
||||
|
|
@ -16,6 +17,7 @@ match=hi
|
|||
action=send hi, $u!
|
||||
actionprivate=send /tell $u Hello!
|
||||
actionother=log detected "hi" message
|
||||
ownersonly=false
|
||||
|
||||
# You do not need to specify all the "action" fields
|
||||
# Only one of them is required for each match
|
||||
|
|
@ -40,5 +42,12 @@ action=script test
|
|||
match=server is restarting
|
||||
actionother=script restart
|
||||
|
||||
# Example of custom remote control command
|
||||
|
||||
[Match]
|
||||
match=gohome
|
||||
actionprivate=send /home
|
||||
ownersonly=true
|
||||
|
||||
# Enjoy!
|
||||
# - ORelio
|
||||
Loading…
Add table
Add a link
Reference in a new issue