For some reason, I can't get the triggers and words to work when someone types in chat.
here is my config, there is not much information on this plug-in.
{
"Chat Prefix": "<size=13><color=#ff0000>Chat Bot: </color></size>",
"Show Chat Prefix": true,
"Bot Icon (SteamID)": 76561199043428256,
"Cooldown Between Auto Responses For User": "2s",
"Global Cooldown Between Auto Responses": "2s",
"Use Default Chat (0), Chat Plus (1), Better Chat (2)": 2,
"Debug": false,
"Allow Multiple Auto Responses": true,
"Minimal Time Between Message And Answer": 1.0,
"Maximal Time Between Message And Answer": 1.5,
"Welcome Message": [
"Welcome, {name}!",
"Hello, dear {name}!",
"Hello, {name}! Your IP: { ip }"
],
"Welcome Message Enabled": false,
"Joining Message": [
"Welcome, {name} ({id}, { ip })!",
"Hello, dear {name} ({id}, { ip })!",
"{name} came from {country} ({countrycode})"
],
"Leaving Message": [
"Bye, {name} ({id}, { ip })!\nReason: {reason}",
"{name} ({id}, { ip }) left the game. Reason: {reason}",
"{name} from {country} ({countrycode}) just left the game!"
],
"Joining Message Enabled": false,
"Leaving Message Enabled": false,
"Show Joining Message To Player That Joined": false,
"Show Leaving Message To Player That Left": false,
"Auto Messages": [
{
"Permission": "smartchatbot.messages",
"Message Frequency": "5m",
"Auto Messages": [
{
"Is Enabled": false,
"Message": "Do not mind, I am just a stupid bot."
}
]
}
],
"Auto Responses": [
{
"Permission": "",
"Auto Responses": [
{
"Is Enabled": false,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [
{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"",
"",
""
]
}
],
"Answers": [
"<color=#ff0000>This server was wiped on 26.04 (FULL WIPED + BP) Next is 03.05 Map only</color>",
"<size=15>If you need a admin or help, go to www",
"<size=15>If you get any lag, this is normally because we are updating our DDoS protection!"
]
},
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [
{
"Percentage Of Contained Words": 0.95,
"Regex Enabled": true,
"Words": [
"wipe ",
"admin ",
"lag "
]
}
],
"Answers": [
"<color=#ff0000>This server was wiped on 26.04 (FULL WIPED + BP) Next is 03.05 Map only</color> ",
"<size=15>If you need a admin or help, go to www",
"<size=15>If you get any lag, this is normally because we are updating our DDoS protection! "
]
}
]
}
]
}
Thanks!
here is my config, there is not much information on this plug-in.
{
"Chat Prefix": "<size=13><color=#ff0000>Chat Bot: </color></size>",
"Show Chat Prefix": true,
"Bot Icon (SteamID)": 76561199043428256,
"Cooldown Between Auto Responses For User": "2s",
"Global Cooldown Between Auto Responses": "2s",
"Use Default Chat (0), Chat Plus (1), Better Chat (2)": 2,
"Debug": false,
"Allow Multiple Auto Responses": true,
"Minimal Time Between Message And Answer": 1.0,
"Maximal Time Between Message And Answer": 1.5,
"Welcome Message": [
"Welcome, {name}!",
"Hello, dear {name}!",
"Hello, {name}! Your IP: { ip }"
],
"Welcome Message Enabled": false,
"Joining Message": [
"Welcome, {name} ({id}, { ip })!",
"Hello, dear {name} ({id}, { ip })!",
"{name} came from {country} ({countrycode})"
],
"Leaving Message": [
"Bye, {name} ({id}, { ip })!\nReason: {reason}",
"{name} ({id}, { ip }) left the game. Reason: {reason}",
"{name} from {country} ({countrycode}) just left the game!"
],
"Joining Message Enabled": false,
"Leaving Message Enabled": false,
"Show Joining Message To Player That Joined": false,
"Show Leaving Message To Player That Left": false,
"Auto Messages": [
{
"Permission": "smartchatbot.messages",
"Message Frequency": "5m",
"Auto Messages": [
{
"Is Enabled": false,
"Message": "Do not mind, I am just a stupid bot."
}
]
}
],
"Auto Responses": [
{
"Permission": "",
"Auto Responses": [
{
"Is Enabled": false,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [
{
"Percentage Of Contained Words": 0.75,
"Regex Enabled": false,
"Words": [
"",
"",
""
]
}
],
"Answers": [
"<color=#ff0000>This server was wiped on 26.04 (FULL WIPED + BP) Next is 03.05 Map only</color>",
"<size=15>If you need a admin or help, go to www",
"<size=15>If you get any lag, this is normally because we are updating our DDoS protection!"
]
},
{
"Is Enabled": true,
"Remove Message From Sender": false,
"Send Response For Everyone (true) or Only For Sender (false)": false,
"Triggers": [
{
"Percentage Of Contained Words": 0.95,
"Regex Enabled": true,
"Words": [
"wipe ",
"admin ",
"lag "
]
}
],
"Answers": [
"<color=#ff0000>This server was wiped on 26.04 (FULL WIPED + BP) Next is 03.05 Map only</color> ",
"<size=15>If you need a admin or help, go to www",
"<size=15>If you get any lag, this is normally because we are updating our DDoS protection! "
]
}
]
}
]
}
Thanks!