Dynmap configuration

Discussion in 'Bukkit Help' started by ChypRiotE, Jul 22, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ChypRiotE

    Hey, I'm setting up my own server, and I'm having trouble with the dynmap plugin.

    I'd like to have different versions of the map: the default flat one, then the "surface" one, but with a higher zoom and more inclined angle, and then the same with different texture packs. I've read a lot of thing from the wiki, but I can't seem to make it work: I was able to create the maps, but when I try to change the texture, the plugin seems to shut down, and I can't reload it unless I delete everything and reinstall it.

    Here are my config files:

    worlds.txt:
    Code:
    worlds:
    - name: world
    title: EpiTales
    enabled: true
    protected: false
    sendposition: true
    sendhealth: true
    bigworld: false
    extrazoomout: 2
    visibilitylimits:
    ]
    hiddenlimits:
    ]
    hidestyle: stone
    maps:
    - class: org.dynmap.hdmap.HDMap
    name: flat
    title: Flat
    prefix: flat
    perspective: iso_S_90_vlowres
    shader: stdtexture
    lighting: shadows
    image-format: default
    mapzoomin: 2
    boostzoom: 0
    append_to_world: ''
    protected: false
     
    - class: org.dynmap.hdmap.HDMap
    name: surface
    title: Surface
    prefix: t
    perspective: iso_SE_30_medres
    shader: stdtexture
    lighting: shadows
    image-format: default
    mapzoomin: 3
    boostzoom: 0
    append_to_world: ''
    protected: false
     
    - class: org.dynmap.hdmap.HDMap
    name: cave
    title: Cave
    prefix: ct
    perspective: iso_SE_60_vlowres
    shader: cave
    lighting: default
    image-format: default
    mapzoomin: 2
    boostzoom: 0
    append_to_world: ''
    protected: false
     
    - class: org.dynmap.hdmap.HDMap
    name: sphax
    title: Sphax
    prefix: st
    perspective: iso_SE_30_medres
    shader: purebdcraft
    lighting: shadows
    image-format: default
    mapzoomin: 3
    boostzoom: 0
    append_to_world: ''
    protected: false
     
    - name: world_nether
    title: world_nether
    enabled: true
    extrazoomout: 2
    maps:
    - class: org.dynmap.hdmap.HDMap
    name: flat
    title: Flat
    prefix: flat
    perspective: iso_S_90_vlowres
    shader: stdtexture
    lighting: nethershadows
    background: '#300806'
    mapzoomin: 2
    - class: org.dynmap.hdmap.HDMap
    name: nether
    title: Surface
    prefix: nt
    perspective: iso_SE_60_vlowres
    shader: stdtexture
    lighting: nethershadows
    background: '#300806'
    mapzoomin: 2
    - name: world_the_end
    title: world_the_end
    enabled: true
    extrazoomout: 2
    maps:
    - class: org.dynmap.hdmap.HDMap
    name: flat
    title: Flat
    prefix: flat
    perspective: iso_S_90_vlowres
    shader: stdtexture
    lighting: brightnight
    mapzoomin: 2
    - class: org.dynmap.hdmap.HDMap
    name: the_end
    title: Surface
    prefix: st
    perspective: iso_SE_60_vlowres
    shader: stdtexture
    lighting: brightnight
    mapzoomin: 2
    custom-shaders.txt (I added the .zip in the dynmap/texturepacks folder)
    Code:
    The user is free to add new and custom shaders here, including replacements for standard ones
    # Dynmap's install will not overwrite it
    shaders:
    - class: org.dynmap.hdmap.TexturePackHDShader
    name: purebdcraft
    texturepack: PureBDcraft32x.zip
    biomeshaded: true
    better-grass: false
    grid-scale: 0
    - class: org.dynmap.hdmap.TexturePackHDShader
    name: johnsmith
    texturepack: JohnSmithLegacy.zip
    biomeshaded: true
    better-grass: false
    grid-scale: 0
    Any help would be appreciated, I've spent two days uninstallign/reinstalling it and I'd really like to get it to work.
     
  2. Offline

    AGC-Intra

    When you start server what does Dynmap report on startup in console?
     
  3. Offline

    ChypRiotE

    Hmm I am deleting everything in order to do a clean install. I don't recall any error in the console on server startup, but I'll make sure to check after I reinstall the plugin.
    From the config files, maybe you can see something I did wrong on the 3rd and 4th map ?

    Alright, here's my startup console log:
    Code:
    23.07 08:02:25 [Server] INFO No new version available
    23.07 08:02:25 [Server] INFO Checking for Updates:
    23.07 08:02:24 [Server] Startup Done (4.123s)! For help, type "help" or "?"
    23.07 08:02:23 [Server] INFO 0.2.2-b303 enabled.
    23.07 08:02:23 [Server] INFO Loaded config defaults.
    23.07 08:02:23 [Server] INFO Found economy provider Essentials Economy
    23.07 08:02:23 [Server] INFO Found permission provider YAPP
    23.07 08:02:23 [Server] INFO Did not find plugin: MobArena
    23.07 08:02:23 [Server] INFO Did not find plugin: Regios
    23.07 08:02:23 [Server] INFO Did not find plugin: mcMMO
    23.07 08:02:23 [Server] INFO Did not find plugin: Factions
    23.07 08:02:23 [Server] INFO Did not find plugin: Towny
    23.07 08:02:23 [Multicraft] Skipped 28 lines due to rate limit (50/s)
    23.07 08:02:23 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [CraftBukkit-1.7.2-Rec.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    23.07 08:02:23 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [CraftBukkit-1.7.2-Rec.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    23.07 08:02:23 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [CraftBukkit-1.7.2-Rec.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    23.07 08:02:23 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [CraftBukkit-1.7.2-Rec.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    23.07 08:02:23 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[CraftBukkit-1.7.2-Rec.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
    23.07 08:02:23 [Server] INFO at org.dynmap.bukkit.DynmapPlugin.onEnable(DynmapPlugin.java:853) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.bukkit.DynmapPlugin.doEnable(DynmapPlugin.java:881) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.DynmapCore.enableCore(DynmapCore.java:508) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.ConfigurationNode.load(ConfigurationNode.java:86) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.Yaml.load(Yaml.java:423) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.Yaml.loadFromReader(Yaml.java:480) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.composer.Composer.composeDocument(Composer.java:123) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) ~[?:?]
    23.07 08:02:23 [Server] INFO at org.dynmap.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) ~[?:?]
    23.07 08:02:23 [Server] INFO org.dynmap.snakeyaml.parser.ParserException: while parsing a block mapping; expected <block end>, but found BlockEntry
    23.07 08:02:23 [Server] ERROR Error occurred while enabling dynmap v2.0.0-SNAPSHOT-1025 (Is it up to date?)
    23.07 08:02:23 [Server] ERROR Error parsing plugins/dynmap/worlds.txt. Use http://yamllint.com to debug the YAML syntax.
    23.07 08:02:23 [Server] INFO Mod Support processing completed
    23.07 08:02:23 [Server] INFO Web interface permissions only available for online users
    23.07 08:02:23 [Server] INFO Using Bukkit Permissions (superperms) for access control
    23.07 08:02:23 [Server] INFO Added 38 custom biome mappings
    23.07 08:02:23 [Server] INFO Enabling dynmap v2.0.0-SNAPSHOT-1025
    23.07 08:02:23 [Server] INFO Permissions listed in as player-commands will be given to all users.
    23.07 08:02:23 [Server] INFO Essentials: Using config file enhanced permissions.
    23.07 08:02:23 [Server] INFO [Vault][Economy] Essentials Economy hooked.
    23.07 08:02:22 [Server] INFO Enabling Essentials v2.13.1
    23.07 08:02:22 [Server] INFO 0 regions loaded for 'world_the_end'
    23.07 08:02:22 [Server] INFO 0 regions loaded for 'world_nether'
    23.07 08:02:22 [Server] INFO 1 regions loaded for 'world'
    23.07 08:02:22 [Server] INFO Loaded configuration for world 'world_the_end'
    23.07 08:02:22 [Server] INFO (world_the_end) Fire spread is UNRESTRICTED.
    23.07 08:02:22 [Server] INFO (world_the_end) Lava fire is blocked.
    23.07 08:02:22 [Server] INFO (world_the_end) Lighters are PERMITTED.
    23.07 08:02:22 [Server] INFO (world_the_end) TNT ignition is PERMITTED.
    23.07 08:02:22 [Server] INFO Loaded configuration for world 'world_nether'
    23.07 08:02:22 [Server] INFO (world_nether) Fire spread is UNRESTRICTED.
    23.07 08:02:22 [Server] INFO (world_nether) Lava fire is blocked.
    23.07 08:02:22 [Server] INFO (world_nether) Lighters are PERMITTED.
    23.07 08:02:22 [Server] INFO (world_nether) TNT ignition is PERMITTED.
    23.07 08:02:22 [Server] INFO Loaded configuration for world 'world'
    23.07 08:02:22 [Server] INFO (world) Fire spread is UNRESTRICTED.
    23.07 08:02:22 [Server] INFO (world) Lava fire is blocked.
    23.07 08:02:22 [Server] INFO (world) Lighters are PERMITTED.
    23.07 08:02:22 [Server] INFO (world) TNT ignition is PERMITTED.
    23.07 08:02:22 [Server] INFO Enabling WorldGuard v5.9
    23.07 08:02:21 [Server] INFO Enabling PlayerHeads v3.8-jenkins-PlayerHeads-1-48-ged24b6b
    23.07 08:02:21 [Server] INFO Enabling HealthBar v1.8.2
    23.07 08:02:21 [Server] INFO WEPIF: Using the Bukkit Permissions API.
    23.07 08:02:21 [Server] INFO Enabling WorldEdit v5.6.2
    23.07 08:02:21 [Server] INFO Enabling Shopkeepers v1.21
    23.07 08:02:21 [Server] INFO version [1.1] is enabled.
    23.07 08:02:21 [Server] INFO Enabling TabHealth v1.1
    23.07 08:02:21 [Server] INFO Preparing start region for level 2 (Seed: -1220547551718575627)
    23.07 08:02:21 [Server] INFO Preparing start region for level 1 (Seed: -1220547551718575627)
    23.07 08:02:20 [Server] INFO Preparing start region for level 0 (Seed: -1220547551718575627)
    23.07 08:02:20 [Server] INFO Attaching giant tree populator to world "world"
    23.07 08:02:20 [Server] INFO Preparing level "world"
    23.07 08:02:20 [Server] INFO Enabled Version 1.4.1-b436
    23.07 08:02:20 [Server] INFO [Permission] SuperPermissions loaded as backup permission system.
    23.07 08:02:20 [Server] INFO [Economy] Essentials Economy found: Waiting
    23.07 08:02:20 [Server] INFO Enabling Vault v1.4.1-b436
    23.07 08:02:20 [Server] INFO Enabling GiantTrees v1.0-R01
    23.07 08:02:20 [Server] INFO Loading ecoCreature v0.2.2-b303
    23.07 08:02:20 [Server] INFO Loading EssentialsAntiBuild v2.13.1
    23.07 08:02:20 [Server] INFO Loading EssentialsChat v2.13.1
    23.07 08:02:20 [Server] INFO Loading LimitedCreative v2.3-SNAPSHOT-06e08c630e
    23.07 08:02:20 [Server] INFO Loading Dynmap-Essentials v0.80
    23.07 08:02:20 [Server] INFO Loading VillagerShop v0.4d
    23.07 08:02:20 [Server] INFO Loading EssentialsSpawn v2.13.1
    23.07 08:02:20 [Server] INFO Loading YAPP v1.4
    23.07 08:02:20 [Server] INFO Loading EssentialsProtect v2.13.1
    23.07 08:02:20 [Server] INFO Mod Support API available
    23.07 08:02:19 [Server] INFO Loading dynmap v2.0.0-SNAPSHOT-1025
    23.07 08:02:19 [Server] INFO Loading Essentials v2.13.1
    23.07 08:02:19 [Server] INFO Loading WorldGuard v5.9
    23.07 08:02:19 [Server] INFO Loading PlayerHeads v3.8-jenkins-PlayerHeads-1-48-ged24b6b
    23.07 08:02:19 [Server] INFO Loading HealthBar v1.8.2
    23.07 08:02:19 [Server] INFO Loading Vault v1.4.1-b436
    23.07 08:02:19 [Server] INFO Loading GiantTrees v1.0-R01
    23.07 08:02:19 [Server] INFO Loading WorldEdit v5.6.2
    23.07 08:02:19 [Server] INFO Loading Shopkeepers v1.21
    23.07 08:02:19 [Server] INFO Loading TabHealth v1.1
    23.07 08:02:19 [Server] INFO ----- ------------------- -----
    23.07 08:02:19 [Server] INFO If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    23.07 08:02:19 [Server] INFO With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    23.07 08:02:19 [Server] INFO If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
    23.07 08:02:19 [Server] INFO It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    23.07 08:02:19 [Server] INFO ----- Bukkit Auto Updater -----
    23.07 08:02:19 [Server] INFO This server is running CraftBukkit version git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.4-SNAPSHOT)
    23.07 08:02:19 [Server] INFO Starting Minecraft server on 95.141.42.22:25565
    23.07 08:02:19 [Server] INFO Generating keypair
    23.07 08:02:19 [Server] INFO Default game type: SURVIVAL
    23.07 08:02:19 [Server] INFO Loading properties
    23.07 08:02:19 [Server] INFO Starting minecraft server version 1.7.2
    23.07 08:02:15 [Server] INFO Loading libraries, please wait...
    23.07 08:02:15 [Multicraft] Loaded config for "CraftBukkit-1.7.2-Rec"
    23.07 08:02:15 [Multicraft] Starting server!
    23.07 08:02:15 [Multicraft] Loading server properties
    23.07 08:02:15 [Multicraft] Received start command
    So it seems that my worlds.txt file can't be parsed. I ran it through yamllint.com, but it doesn't seem to be of any use: only half of the file is parsed, or it returns me errors with no sense (like a unnecessary ' on line 4).
    I removed two lines that seemed to have problems:
    Code:
    visibilitylimits:
    ]
    hiddenlimits:
    ]
    But I still get the same error message.

    Can someone help me debug my worlds.txt please ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  4. Offline

    JaguarJo

    ChypRiotE I'm not sure if this one is correct or not, but I checked the dynmap documentation pages for how the worlds.txt file is supposed to look and tried to get it as close as I could. It does make it through the YAML parser, so I think that's a good sign.
    Code:
    worlds:
      - name: world
        title: "EpiTales"
        enabled: true
        protected: false
        sendposition: true
        sendhealth: true
        bigworld: false
        extrazoomout: 2
        visibilitylimits: []
        hiddenlimits: []
        hidestyle: stone
        maps:
          - class: org.dynmap.hdmap.HDMap
            name: flat
            title: "Flat"
            prefix: flat
            perspective: iso_S_90_vlowres
            shader: stdtexture
            lighting: shadows
            image-format: default
            mapzoomin: 2
            boostzoom: 0
            append_to_world: ''
            protected: false
          - class: org.dynmap.hdmap.HDMap
            name: surface
            title: "Surface"
            prefix: t
            perspective: iso_SE_30_medres
            shader: stdtexture
            lighting: shadows
            image-format: default
            mapzoomin: 3
            boostzoom: 0
            append_to_world: ''
            protected: false
          - class: org.dynmap.hdmap.HDMap
            name: cave
            title: "Cave"
            prefix: ct
            perspective: iso_SE_60_vlowres
            shader: cave
            lighting: default
            image-format: default
            mapzoomin: 2
            boostzoom: 0
            append_to_world: ''
            protected: false
          - class: org.dynmap.hdmap.HDMap
            name: sphax
            title: "Sphax"
            prefix: st
            perspective: iso_SE_30_medres
            shader: purebdcraft
            lighting: shadows
            image-format: default
            mapzoomin: 3
            boostzoom: 0
            append_to_world: ''
            protected: false
      - name: world_nether
        title: "world_nether"
        enabled: true
        extrazoomout: 2
        maps:
          - class: org.dynmap.hdmap.HDMap
            name: flat
            title: "Flat"
            prefix: flat
            perspective: iso_S_90_vlowres
            shader: stdtexture
            lighting: nethershadows
            background: '#300806'
            mapzoomin: 2
          - class: org.dynmap.hdmap.HDMap
            name: nether
            title: "Surface"
            prefix: nt
            perspective: iso_SE_60_vlowres
            shader: stdtexture
            lighting: nethershadows
            background: '#300806'
            mapzoomin: 2
      - name: world_the_end
        title: "world_the_end"
        enabled: true
        extrazoomout: 2
        maps:
          - class: org.dynmap.hdmap.HDMap
            name: flat
            title: "Flat"
            prefix: flat
            perspective: iso_S_90_vlowres
            shader: stdtexture
            lighting: brightnight
            mapzoomin: 2
          - class: org.dynmap.hdmap.HDMap
            name: the_end
            title: "Surface"
            prefix: st
            perspective: iso_SE_60_vlowres
            shader: stdtexture
            lighting: brightnight
            mapzoomin: 2
     
  5. Offline

    ChypRiotE

    Your file is working. It looks like I forgot the quotes in the titles. However I now get the same error (can't parse) for the custom-shaders.txt
    I tried with and without extracting the pack's .zip, but it didn't solve the problem. Maybe you can find where I did wrong ?

    Bump, I copy pasted the lines of my custom-shaders.txt file from a post on the purebdcraft forum. I don't understand what can be wrong.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
Thread Status:
Not open for further replies.

Share This Page