Another small update:
1. Fixed problem when loading PacketEventsAPI(
Author: retrooper) on newer versions
2. Fixed a couple of found bugs
3.
Changed the method of blocking commands (in the file
commands-limiter.yml)
Now the verification method is specified for each command separately! (Method in testing)
Example:
Code (YAML):
global:
deny-message
:
"&cThis command blocked"
use-as-whitelist
: false
group:
default
:
- /commands
[checkMode=first_arg
]
# If you set unknown check mode, mode "first_arg" will be used
- /to
# If "[checkMode={mode}" is not specified, mode "first_arg" will be used
- /ban ALis
[checkMode=all_args
]
# If command written here has words length bigger than 1, mode should be "all_args"
moder
:
- /be
[checkMode=first_arg
]
- /blocked
[checkMode=first_arg
]