mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-04 13:57:44 +00:00
some reworks
- rework configYaml - rework router mechanism test - move plugin and module files
This commit is contained in:
parent
71d87b080f
commit
a42676010e
19 changed files with 317 additions and 121 deletions
|
|
@ -12,44 +12,29 @@ server:
|
|||
name: BW3 Server # name of the BW3 Server instance
|
||||
useBroadcast: no # serve server ip on broadcast request
|
||||
|
||||
|
||||
## here you can enable needed plugins
|
||||
## 0 is disabled
|
||||
## all greater than 0 enable the plugin
|
||||
## the higher the number the earlier the plugin is called on alarm
|
||||
## we call ist Plugin Prioority
|
||||
plugins:
|
||||
template: 1
|
||||
|
||||
filter:
|
||||
doubleFilter:
|
||||
maxEntry: 30
|
||||
ignoreTime: 10
|
||||
checkMsg: no
|
||||
|
||||
|
||||
alarmRouter:
|
||||
- Router 1
|
||||
- Router 2
|
||||
|
||||
router:
|
||||
|
||||
- name: Router 1
|
||||
route:
|
||||
- type: module
|
||||
name: doubleFilter
|
||||
name: template_module
|
||||
config:
|
||||
maxEntry: 30
|
||||
ignoreTime: 10
|
||||
checkMsg: no
|
||||
- type: router
|
||||
name: Router 2
|
||||
- type: plugin
|
||||
name: mysql
|
||||
name: template_plugin
|
||||
config:
|
||||
user: test
|
||||
pass: test
|
||||
db: test
|
||||
- type: router
|
||||
name: Router 2
|
||||
|
||||
- name: Router 2
|
||||
route:
|
||||
- type: module
|
||||
name: template_module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue