Added a configuration (and command), closes #3

This commit is contained in:
SBDeveloper 2022-07-29 15:37:30 +02:00
parent 15148becab
commit b7041f5b2d
12 changed files with 373 additions and 24 deletions

View file

@ -0,0 +1,7 @@
# Is it allowed to use vanilla maps?
# Less efficient, but gives more available map IDs.
allowVanilla: true
# Should the plugin cache images? If so, it will check if the images is already used.
# Less efficient for the first image, but more efficient for the next ones.
imageCache: true

View file

@ -5,4 +5,11 @@ api-version: 1.13
authors: [ inventivetalent, SBDeveloper ]
description: This API helps developer with viewing images on maps.
website: https://sbdevelopment.tech
softdepend: [ BKCommonLib, ProtocolLib ]
softdepend: [ BKCommonLib, ProtocolLib ]
commands:
mapmanager:
description: The main command of MapManager.
permissions:
mapmanager.reload:
description: Access to /mapmanager reload
default: op