Here you can choose where you want to store the images/adverts. The supported storage types are MySQL and SQLite. Simply adjust the section of the storage type you want to use and change the 'type' field.
images
This section contains general settings for images. You can specify the maximum size and add/remove websites from the whitelist. See footnote 1 for examples on how the whitelist wildcards work.
The maximum size is measured in bytes (the default equates to exactly 5 MB). 1 KB = 1024 bytes and 1 MB = 1024 KB.
You can also enable / disable the color cache feature. The color cache will reduce the time that image converting takes by a lot, but it will also take up ~16 MB of memory in return. Use this if you have enough memory.
Important security note: Only add trusted sites to the whitelist because players will try to exploit this functionality.
The color cache has been removed. A more efficient memory cache is now used instead.
ads
This controls general settings for advertisements.
min-ad-minutes specifies the minimum amount of minutes for an advertisement.
max-ad-minutes specifies the maximum amount of minutes for an advertisement.
step specifies the minute increments when purchasing an ad.
price-per-minute specifies the price for each minute. The total price will be calculated like this: selected_minutes * price_per_minute
This is what the default settings (min = 10, max = 120, step = 5) look like ingame
enable-advanced-optimization-algorithm
Enables (or disables) the Advanced Content Change Algorithm. This algorithm is an optimization method that (in theory) reduces bandwidth and CPU usage by essentially doubling the memory usage.
This algorithm has been removed in maps v2. A better algorithm is now used.
disable-default-command
Disables the /mapads command which shows the current version, author and website of the plugin.
only-show-groups
If enabled this will only show screen groups in the screen selector when creating an ad.
deduct-each-screen-in-group
Will deduct one minute from the adverts lifetime for each screen in the rented screen group.
Example: Group 'abc' has three screens. I rent the 'abc' group for a 15 minute advertisement. If this option is enabled each time my ad is shown on each of the screens one minute is deducted from the remaining minutes. If this option is disabled only the first screen in the group will deduct one minute from the remaining minutes.
record-transitions
If set to true the plugin will record transitions. This has the potential to save lots of processing power because the plugin only needs to compute the transition once for each image pair and can then play back the recordings.
The transition recording feature is experimental and disabled by default. Please report bugs on the Discord server.
override-economy
This allows you to force Map-Ads to use a specific economy plugin. Please see the "Economy plugins" page for a list of supported economy plugins.
default-images
Will be interpreted and changed by the plugin. Do not change anything here if you don't know what you're doing.
despawn-range
This is the view distance for ad-screens.
Footnote 1
Lets say your whitelist contains "imgur.com" and "*.imgur.com". The following urls would be accepted: