Add publicURL setting and '/dynmap url' command

This commit is contained in:
Mike Primm 2022-02-12 01:30:00 -06:00
parent de344869b7
commit d941aec6eb
14 changed files with 76 additions and 6 deletions

View file

@ -489,6 +489,10 @@ soft-ref-cache: true
# Set true if new enter messages should supercede pending exit messages (vs being queued in order), default false
#enterReplacesExits: true
# Published public URL for Dynmap server (allows users to use 'dynmap url' command to get public URL usable to access server
# If not set, 'dynmap url' will not return anything. URL should be fully qualified (e.g. https://mc.westeroscraft.com/)
#publicURL: http://my.greatserver.com/dynmap
# Set to true to enable verbose startup messages - can help with debugging map configuration problems
# Set to false for a much quieter startup log
verbose: false

View file

@ -42,6 +42,7 @@ commands:
/<command> add-id-for-ip <playerid> <ipaddress> - Add player ID to given IP address
/<command> del-id-for-ip <playerid> <ipaddress> - Delete player ID from given IP address
/<command> webregister - Start registration process for creating web login account
/<command> url - Returns public URL for dynmap, if published
dmarker:
description: Manipulate map markers
@ -153,6 +154,8 @@ permissions:
dynmap.ips-for-id: true
dynmap.webregister: true
dynmap.webregister.other: true
dynmap.dumpmemory: true
dynmap.url: true
dynmap.pause: true
dynmap.marker.add: true
dynmap.marker.update: true
@ -258,6 +261,12 @@ permissions:
dynmap.webregister.other:
description: Allows /dynmap webregister userid
default: op
dynmap.dumpmemory:
description: Allows /dynmap dumpmemory
default: op
dynmap.url:
description: Allows /dynmap url
default: true
dynmap.marker.add:
description: Allows /dmarker add
default: op