From 889206413fa84822729102b30e5f0fe07414417f Mon Sep 17 00:00:00 2001 From: Chromachine Date: Sat, 21 Sep 2019 16:34:41 +0000 Subject: [PATCH] Disable hunger in museum & dynmap fix --- Multiverse-Core/worlds.yml | 8 ++-- dynmap/templates/custom-nether-vlowres.txt | 40 +++++++++++++++++++ ...-vlowres.txt => custom-normal-vlowres.txt} | 36 ++++++++--------- dynmap/templates/custom-the_end-vlowres.txt | 37 +++++++++++++++++ update.sh | 2 +- 5 files changed, 100 insertions(+), 23 deletions(-) create mode 100644 dynmap/templates/custom-nether-vlowres.txt rename dynmap/templates/{normal-vlowres.txt => custom-normal-vlowres.txt} (61%) create mode 100644 dynmap/templates/custom-the_end-vlowres.txt diff --git a/Multiverse-Core/worlds.yml b/Multiverse-Core/worlds.yml index 37988e8..fe20b0e 100644 --- a/Multiverse-Core/worlds.yml +++ b/Multiverse-Core/worlds.yml @@ -213,7 +213,7 @@ worlds: entryfee: ==: MVEntryFee amount: '0.0' - hunger: 'true' + hunger: 'false' autoHeal: 'true' adjustSpawn: 'true' portalForm: ALL @@ -237,7 +237,7 @@ worlds: v2: ==: MVWorld hidden: 'false' - alias: '' + alias: v2 color: WHITE style: NORMAL pvp: 'true' @@ -260,7 +260,7 @@ worlds: entryfee: ==: MVEntryFee amount: '0.0' - hunger: 'true' + hunger: 'false' autoHeal: 'true' adjustSpawn: 'true' portalForm: ALL @@ -307,7 +307,7 @@ worlds: entryfee: ==: MVEntryFee amount: '0.0' - hunger: 'true' + hunger: 'false' autoHeal: 'true' adjustSpawn: 'true' portalForm: ALL diff --git a/dynmap/templates/custom-nether-vlowres.txt b/dynmap/templates/custom-nether-vlowres.txt new file mode 100644 index 0000000..20026b6 --- /dev/null +++ b/dynmap/templates/custom-nether-vlowres.txt @@ -0,0 +1,40 @@ +version: 0.24 +# +# Default template for "Nether" environment worlds (deftemplatesuffix="vlowres") +# Uses the HDMap renderer with view from the SE with the "vlowres" resolution (2 pixels per block edge) +# +# This file MAY need to be replaced during an upgrade - rename file to 'custom-nether-vlowres.txt' if you wish to customize it +# +templates: + # Nether world template (HDMap vlowres) + nether-vlowres: + enabled: true + # Number of extra zoom-out levels for world (each level is twice as big as the previous one) + extrazoomout: 2 + #center: + # x: 0 + # y: 64 + # z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: nethershadows + # Map background color (day or night) + background: "#300806" + # Adjust extra zoom in levels - default is 2 + mapzoomin: 2 +# - class: org.dynmap.hdmap.HDMap +# name: nether +# title: "Surface" +# prefix: nt +# perspective: iso_SE_60_vlowres +# shader: stdtexture +# lighting: nethershadows +# # Map background color (day or night) +# background: "#300806" +# # Adjust extra zoom in levels - default is 2 +# mapzoomin: 2 diff --git a/dynmap/templates/normal-vlowres.txt b/dynmap/templates/custom-normal-vlowres.txt similarity index 61% rename from dynmap/templates/normal-vlowres.txt rename to dynmap/templates/custom-normal-vlowres.txt index 1c11ab5..2d842d6 100644 --- a/dynmap/templates/normal-vlowres.txt +++ b/dynmap/templates/custom-normal-vlowres.txt @@ -25,21 +25,21 @@ templates: lighting: shadows # Adjust extra zoom in levels - default is 2 mapzoomin: 2 - - class: org.dynmap.hdmap.HDMap - name: surface - title: "Surface" - prefix: t - perspective: iso_SE_60_vlowres - shader: stdtexture - lighting: shadows - # Adjust extra zoom in levels - default is 2 - mapzoomin: 2 - - class: org.dynmap.hdmap.HDMap - name: cave - title: "Cave" - prefix: ct - perspective: iso_SE_60_vlowres - shader: cave - lighting: default - # Adjust extra zoom in levels - default is 2 - mapzoomin: 2 +# - class: org.dynmap.hdmap.HDMap +# name: surface +# title: "Surface" +# prefix: t +# perspective: iso_SE_60_vlowres +# shader: stdtexture +# lighting: shadows +# # Adjust extra zoom in levels - default is 2 +# mapzoomin: 2 +# - class: org.dynmap.hdmap.HDMap +# name: cave +# title: "Cave" +# prefix: ct +# perspective: iso_SE_60_vlowres +# shader: cave +# lighting: default +# # Adjust extra zoom in levels - default is 2 +# mapzoomin: 2 diff --git a/dynmap/templates/custom-the_end-vlowres.txt b/dynmap/templates/custom-the_end-vlowres.txt new file mode 100644 index 0000000..161c286 --- /dev/null +++ b/dynmap/templates/custom-the_end-vlowres.txt @@ -0,0 +1,37 @@ +version: 0.24 +# +# Default template for "The End" environment worlds (deftemplatesuffix="vlowres") +# Uses the HDMap renderer with view from the SE with the "vlowres" resolution (2 pixels per block edge) +# +# This file MAY need to be replaced during an upgrade - rename file to 'custom-the_end-vlowres.txt' if you wish to customize it +# +templates: + # The End world template (HDMap vlowres) + the_end-vlowres: + enabled: true + # Number of extra zoom-out levels for world (each level is twice as big as the previous one) + extrazoomout: 2 + #center: + # x: 0 + # y: 64 + # z: 0 + maps: + - class: org.dynmap.hdmap.HDMap + name: flat + title: "Flat" + prefix: flat + perspective: iso_S_90_vlowres + shader: stdtexture + lighting: brightnight + # Adjust extra zoom in levels - default is 2 + mapzoomin: 2 +# - class: org.dynmap.hdmap.HDMap +# name: the_end +# title: "Surface" +# prefix: st +# perspective: iso_SE_60_vlowres +# shader: stdtexture +# lighting: brightnight +# # Adjust extra zoom in levels - default is 2 +# mapzoomin: 2 + diff --git a/update.sh b/update.sh index 1ed3c8f..7c46f20 100755 --- a/update.sh +++ b/update.sh @@ -8,7 +8,7 @@ do fi done find . -path './Movecraft/types/*.craft' -exec git add -f '{}' \; -git add -f 'dynmap/configuration.txt' 'dynmap/worlds.txt' 'dynmap/templates/normal-vlowres.txt' +git add -f 'dynmap/configuration.txt' 'dynmap/worlds.txt' 'dynmap/templates/custom-normal-vlowres.txt' 'dynmap/templates/custom-nether-vlowres.txt' 'dynmap/templates/custom-the_end-vlowres.txt' git add -f 'MythicMobs/*' ':!:MythicMobs/SavedData/*' git add -f ':(glob)Jobs/*.yml' ':!:Jobs/furnaceBrewingStands.yml' git add -f 'Towny/settings/townyperms.yml'