Since we pull the chainparams out to get the funding_addr placeholder, we can also get the max_funding now!
Plugin Directory
Anything file in this directory which is executable and doesn't start and doesn't contain ASCII symbols other than '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).