Dynmap doesn't show players in nether

Discussion in 'Bukkit Help' started by tinchen, Apr 8, 2012.

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

    tinchen

    Hi,

    I' m running a Bukkit 1.2.4-R1.0 Server (Craftbukkit) with dynmap.
    In world it all works fine, but if I go to the Nether, dynmap doesn' t show any players.

    I think I know the reason for my problem but don't know how to fix it:

    When I first installed the server it created 3 world folders: world, world nether and world_the_end.
    As dynmap didn't work by copying these folders to the dynmap world path (worldstorage) I copied only the files from "world" to worldmap and created 2 new subfolders DIM1 and DIM-1 for nether and the end. DIM and DIM-1 only contains a folder called "region". In folders world_nether and "world_the_end" there are some more files:

    Code:
    $ ls -l world_nether/
    total 28
    drwxr-xr-x 3 bukkit bukkit 4096 Apr  2 17:43 DIM-1
    drwxr-xr-x 2 bukkit bukkit 4096 Apr  2 17:43 data
    -rw-r--r-- 1 bukkit bukkit  254 Apr  8 10:37 level.dat
    -rw-r--r-- 1 bukkit bukkit  254 Apr  8 10:37 level.dat_old
    drwxr-xr-x 2 bukkit bukkit 4096 Apr  2 17:43 players
    -rw-r--r-- 1 bukkit bukkit    8 Apr  2 20:38 session.lock
    -rw-r--r-- 1 bukkit bukkit  16 Apr  2 17:43 uid.dat
    
    Do I need to Copy these files too?
     
  2. Offline

    blackvoid

    One thing I can say. You should not copy any world files to the dynmap folder.
     
  3. Offline

    tinchen

    Why I copied the files to worldstoreage is because of my bukkit config:

    Code:
    #!/bin/bash
    #
    # Settings file for minecraft-init
    # ================================
    #
    # Make a copy of this file named config
    # and edit the variables to your needs.
    #
     
    # Name of vanilla server jar (no need to change if you're running craftbukkit and vice versa)
    MC_JAR="minecraft_server.jar"
     
    # Name of craftbukkit jar
    CB_JAR="craftbukkit.jar"
     
    # Define the release of CraftBukkit to use (stable or unstable)
    CB_RELEASE="stable"
     
    # Name of server.jar to use (either $MC_JAR or $CB_JAR)
    SERVICE=$CB_JAR
     
    # Name to use for the screen instance
    SCREEN="minecraft"
     
    # User that should run the server
    USERNAME="bukkit"
     
    # Path to minecraft server directory
    MCPATH="/opt/bukkit"
     
    # Number of CPUs/cores to use
    CPU_COUNT=2
     
    # Initial memory usage
    INITMEM="2048M"
     
    # Maximum amount of memory to use
    # Remember: give the ramdisk enough space, subtract from the total amount
    # of RAM available the size of your map and the RAM-consumption of your base system.
    MAXMEM="2048M"
     
    # Location for world backups
    BACKUPPATH="/opt/bukkit/mcbackup/worlds"
     
    # Format for world backup (tar or zip).
    BACKUPFORMAT="tar"
     
    # Normally backups will be put in a subfolder to $BACKUPPATH with todays date
    # and the backups themselves will have a timestamp.
     
    # But if BACKUPSCRIPTCOMPATIBLE is set the world backups will be put directly
    # in $BACKUPPATH without timestamp to be compatible with
    # [backup rotation script](https://github.com/adamfeuer/rotate-backups)
    #
    # BACKUPSCRIPTCOMPATIBLE=YES
     
    # Location for old logs
    # Used by the log-roll command
    LOGPATH="/opt/bukkit/mcbackup/logs"
     
    # Where the whole minecraft directory is copied when whole-backup is executed
    # whole-backup is a complete uncompressed backup of the whole server folder.
    WHOLEBACKUP="/opt/bukkit/mcbackup/server"
     
    # Where the worlds are located on the disk. Can not be the same as MCPATH.
    # You need to move your worlds to this directory manually, the script
    # will then handle the nessessay symlinks.
    WORLDSTORAGE="${MCPATH}/worldstorage"
     
     
    # Settings for overviewer command
    # ===============================
     
    # Where the Map is generated
    OUTPUTMAP="/opt/bukkit/mcmap"
     
    # Path to Minecraft-Overviewer
    OVPATH="/opt/bukkit/Minecraft-Overviewer"
     
    # Path for the config file of Overviewer
    OVCONFIGPATH="/opt/bukkit/Minecraft-Overviewer"
     
    # Name of Overviewer config file
    OVCONFIGNAME="config_over.py"
     
    # Path for backup worlds
    OVBACKUP="/opt/bukkit/mcbackup/overviewer"
     
    # Things to leave alone ;)
    # =====================
     
    INVOCATION="java -Xmx$MAXMEM -Xms$INITMEM -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts -jar $SERVICE nogui"
     
    # Path to the the mounted ramdisk (the default will work in most senarios).
    RAMDISK="/dev/shm"
    
    It didn't work by copying the 3 folders /world, world_nether, world_the_end) into worldstorage, so I only copied the DIM folders.

    Here some Output wich might be usable to solve the problem:

    Code:
    $ ls -l /opt/bukkit/
    total 10928
    lrwxrwxrwx 1 bukkit bukkit      30 Apr  2 18:26 DIM-1 -> /opt/bukkit/worldstorage/DIM-1
    lrwxrwxrwx 1 bukkit bukkit      29 Apr  2 18:26 DIM1 -> /opt/bukkit/worldstorage/DIM1
    -rw-r--r-- 1 bukkit bukkit        0 Apr  2 17:43 banned-ips.txt
    -rw-r--r-- 1 bukkit bukkit        0 Apr  2 17:43 banned-players.txt
    -rw-r--r-- 1 bukkit bukkit    1249 Apr  2 20:38 bukkit.yml
    -rw-r--r-- 1 bukkit bukkit    2725 Apr  2 19:28 config
    -rw-r--r-- 1 bukkit bukkit 11093197 Apr  2 17:33 craftbukkit.jar
    -rwxr-xr-x 1 bukkit bukkit      111 Apr  2 17:40 craftbukkit.sh
    lrwxrwxrwx 1 bukkit bukkit      29 Apr  2 18:26 data -> /opt/bukkit/worldstorage/data
    -rw-r--r-- 1 bukkit bukkit    2576 Apr  2 17:43 help.yml
    drwxr-xr-x 4 bukkit bukkit    4096 Apr  3 05:02 mcbackup
    -rwxr-xr-x 1 bukkit bukkit    14382 Apr  2 17:49 minecraft
    -rw-r--r-- 1 bukkit bukkit      10 Apr  2 20:38 ops.txt
    -rw-r--r-- 1 bukkit bukkit    1725 Apr  3 20:03 permissions.yml
    lrwxrwxrwx 1 bukkit bukkit      32 Apr  2 18:26 players -> /opt/bukkit/worldstorage/players
    drwxr-xr-x 3 bukkit bukkit    4096 Apr  2 20:13 plugins
    lrwxrwxrwx 1 bukkit bukkit      31 Apr  2 18:05 region -> /opt/bukkit/worldstorage/region
    -rw-r--r-- 1 bukkit bukkit    2689 Apr  9 09:00 server.log
    -rw-r--r-- 1 bukkit bukkit        0 Apr  2 20:38 server.log.lck
    -rw-r--r-- 1 bukkit bukkit      462 Apr  2 20:38 server.properties
    -rw-r--r-- 1 bukkit bukkit      10 Apr  3 19:35 white-list.txt
    drwxr-xr-x 5 bukkit bukkit    4096 Apr  9 09:10 world
    drwxr-xr-x 5 bukkit bukkit    4096 Apr  9 09:10 world_nether
    drwxr-xr-x 5 bukkit bukkit    4096 Apr  9 09:10 world_the_end
    drwxr-xr-x 7 bukkit bukkit    4096 Apr  2 18:31 worldstorage
    
    The Symlinks where created automatically by the server.

    Now my worldstorage and the original worlds:

    Worldstorage: (I created the symlinks for DIM folders by myself)

    Code:
    $ ls -l /opt/bukkit/worldstorage/
    total 36
    drwxr-xr-x 3 bukkit bukkit 4096 Apr  9 09:00 DIM-1
    drwxr-xr-x 3 bukkit bukkit 4096 Apr  2 18:26 DIM1
    drwxr-xr-x 2 bukkit bukkit 4096 Apr  2 18:25 data
    -rw-r--r-- 1 bukkit bukkit  258 Apr  2 18:25 level.dat
    -rw-r--r-- 1 bukkit bukkit  257 Apr  2 18:25 level.dat_old
    drwxr-xr-x 2 bukkit bukkit 4096 Apr  3 19:49 players
    drwxr-xr-x 2 bukkit bukkit 4096 Apr  2 18:25 region
    -rw-r--r-- 1 bukkit bukkit    8 Apr  2 18:25 session.lock
    -rw-r--r-- 1 bukkit bukkit  16 Apr  2 18:25 uid.dat
    
    Folder world_nether (Seems to be unused in my config):
    Code:
    $ ls -l /opt/bukkit/world_nether/
    total 28
    drwxr-xr-x 3 bukkit bukkit 4096 Apr  2 17:43 DIM-1
    drwxr-xr-x 2 bukkit bukkit 4096 Apr  2 17:43 data
    -rw-r--r-- 1 bukkit bukkit  250 Apr  9 09:16 level.dat
    -rw-r--r-- 1 bukkit bukkit  251 Apr  9 09:16 level.dat_old
    drwxr-xr-x 2 bukkit bukkit 4096 Apr  2 17:43 players
    -rw-r--r-- 1 bukkit bukkit    8 Apr  2 20:38 session.lock
    -rw-r--r-- 1 bukkit bukkit  16 Apr  2 17:43 uid.dat
    
     
Thread Status:
Not open for further replies.

Share This Page