kaoru wrote:I may want to link @notInMap to a config key in config.txt, like playerRecorder_notInMap. Is there a simple way to do it?
Code: Select all
use Utils;
...
if (existsInList($config{playerRecorder_notInMap}, $field->name)) {
return;
}
That's already possible by removing or disabling the plugin, isn't it?Also, I made another config key to turn the plugin on/off: playerRecorder [boolean]
Is there a better option other then "return;" to turn the plugin off?