-
Notifications
You must be signed in to change notification settings - Fork 22
Ad Manager
You can enable/disable the Smart Ad Manager in the config:
#config.yml
Ads:
SmartManager: false or true/chatex reload to reload the Config
If disabled every message will be blocked wich contains a simple url pattern.
If enabled the plugin uses a more complicated attempt to score a message. Each player has a score which gets increased/decreased per message a normal chatting player has a low and balanced score, a player who tries to advertises has a very high score.
This options only effect the SmartManager
If the players score is bigger than the threshold the message will be blocked
#config.yml
Ads:
Threshold:
Block: 0.3The players score will be reduced by the ReduceThreshold for each message:
#config.yml
Ads:
Threshold:
ReduceThreshold: 0.1Should commas (“,”) be replaced with “.” for the analyzing process? (This could help to detect bypass attempts like): join myserver,com:
#config.yml
Ads:
ReplaceCommas: falseThe message get analyzed near a “.” or “,” in range of MaxLinkLength:
#config.yml
Ads:
Threshold:
MaxLinkLength: 10The domain endings the SmartManager reacts with a multiplication of a score resulting in a higher score.
#config.yml
Ads:
SmartConfig:
DomainEndings:
- com
- net
(...)The multiplier of the score if the domain, which the SmartManager detected, contains an ending from the domain endings.
#config.yml
Ads:
SmartConfig:
Multiplier: 4The multiplier of the score if the domain, which the SmartManager detected, does NOT contains an ending from the domain endings.
#config.yml
Ads:
SmartConfig:
UnMultiplier: 1We tested both ad managers (SmartManager and SimpleManager) with 1893 real player messages and default settings.
Here are the results:
| False % | False n | |
| SmartManager | 0.5% | 9 |
| SimpleManager | 3.3% | 64 |