How to use existing MC:PE worlds (android) on Nukkit ?

Discussion in 'General discussion' started by Rafi, Jun 18, 2017.

Tags:
  1. Rafi

    Rafi New Member

    Jun 18, 2017
    1
    0
    1
    Male
    I've been trying to use my existing MC:pE (android) world as a world for m nukkit server, but everytime i load the server it just loads a random world and not mine. And in the server properties I already changed the level name to my MC:pE world name but nukkit just won't load my map and just keep loading a randomly generated map. I never had this problem on a bukkit server or vanilla server, I tried pocketmine but it doesn't support 1.1 and I don't even know if in the previous versions of pocketmine if it would take MC:pE world files.

    So please someone help me
     
  2. Petteri

    Petteri Member

    Mar 5, 2017
    137
    8
    18
    Male
    Finland
    In server.properties is you world name example My World or world folder name example FU8AAOt6AAA=?
     
  3. Enrique

    Enrique New Member

    Jul 12, 2017
    11
    0
    1
    Male
    I need help with that too
     
  4. Petteri

    Petteri Member

    Mar 5, 2017
    137
    8
    18
    Male
    Finland
    If storage location was external when world created:

    - Connect your device to pc, open explorer and go to /storage/emulated/0/games/com.mojang/minecraftWorlds.
    - Copy folder with random name to Nukkit worlds folder. (If there is many folders check levelname.txt)
    - Rename copied folder to world.
     
  5. Enrique

    Enrique New Member

    Jul 12, 2017
    11
    0
    1
    Male
    file:///storage/emulated/0/Download/Turbo/2017-7-12%2011.16.42.log
    This is my issue
     
  6. Enrique

    Enrique New Member

    Jul 12, 2017
    11
    0
    1
    Male
    2017-7-12 11:15:45 [INFO] Loading nukkit.yml...
    2017-7-12 11:15:45 [INFO] Loading server properties...
    2017-7-12 11:15:45 [INFO] Selected English (eng) as the base language
    2017-7-12 11:15:45 [INFO] Starting Minecraft: PE server version v1.1.3
    2017-7-12 11:15:45 [INFO] Opening server on 0.0.0.0:19132
    2017-7-12 11:15:45 [INFO] This server is running Nukkit version 1.0dev "蘋果(Apple)派(Pie)" (API 1.0.0)
    2017-7-12 11:15:45 [INFO] Nukkit is distributed under the LGPL License
    2017-7-12 11:15:46 [INFO] Successfully loaded 0 resource packs
    2017-7-12 11:15:46 [INFO] Loading Factions v1.6.9.5
    2017-7-12 11:15:46 [INFO] Loading DbLib v0.2.1
    2017-7-12 11:15:46 [INFO] [DbLib] Connecting to: jdbc:mysql://localhost:3306/coins?useSSL=false (user: root)
    2017-7-12 11:15:47 [INFO] [DbLib] DbLib 0.2.1 created by fromgate for nukkit.ru
    2017-7-12 11:15:47 [INFO] Loading Core v1
    2017-7-12 11:15:47 [INFO] Loading FDevTools v1.0.2
    2017-7-12 11:15:47 [INFO] Loading FastAsyncWorldEdit v17.07.10-f20a100-746-13.7.2
    2017-7-12 11:15:47 [INFO] Enabling Core v1
    2017-7-12 11:15:47 [INFO] Enabling FDevTools v1.0.2
    2017-7-12 11:15:47 [ERROR] Could not load level "world": Caused by java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at cn.nukkit.level.Level.<init>(Level.java:259)
    at cn.nukkit.Server.loadLevel(Server.java:1586)
    at cn.nukkit.Server.<init>(Server.java:435)
    at cn.nukkit.Nukkit.main(Nukkit.java:68)
    Caused by: cn.nukkit.utils.LevelException: Invalid level.dat
    at cn.nukkit.level.format.leveldb.LevelDB.<init>(LevelDB.java:62)
    ... 8 more

    2017-7-12 11:15:47 [ALERT] cn.nukkit.utils.LevelException: Caused by java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at cn.nukkit.level.Level.<init>(Level.java:259)
    at cn.nukkit.Server.loadLevel(Server.java:1586)
    at cn.nukkit.Server.<init>(Server.java:435)
    at cn.nukkit.Nukkit.main(Nukkit.java:68)
    Caused by: cn.nukkit.utils.LevelException: Invalid level.dat
    at cn.nukkit.level.format.leveldb.LevelDB.<init>(LevelDB.java:62)
    ... 8 more

    at cn.nukkit.level.Level.<init>(Level.java:264)
    at cn.nukkit.Server.loadLevel(Server.java:1586)
    at cn.nukkit.Server.<init>(Server.java:435)
    at cn.nukkit.Nukkit.main(Nukkit.java:68)

    2017-7-12 11:15:47 [INFO] Preparing level "world"
    2017-7-12 11:15:47 [INFO] Enabling Factions v1.6.9.5
    2017-7-12 11:15:47 [INFO] [Factions] [Factions v1.6.9.5] === ENABLE START ===
    2017-7-12 11:15:47 [INFO] [Factions] [Factions v1.6.9.5] Loading board from disk
    2017-7-12 11:15:47 [INFO] [Factions] [Factions v1.6.9.5] === ENABLE DONE (Took 192ms) ===
    2017-7-12 11:15:47 [INFO] Enabling DbLib v0.2.1
    2017-7-12 11:15:47 [INFO] Enabling FastAsyncWorldEdit v17.07.10-f20a100-746-13.7.2
    2017-7-12 11:15:49 [INFO] Starting GS4 status listener
    2017-7-12 11:15:49 [INFO] Setting query port to 19132
    2017-7-12 11:15:49 [INFO] Query is running on 0.0.0.0:19132
    2017-7-12 11:15:49 [INFO] Default game type: Survival Mode
    2017-7-12 11:15:49 [INFO] Done (4.679s)! For help, type "help" or "?"
    2017-7-12 11:16:42 [INFO] [CONSOLE: Stopping the server]
    2017-7-12 11:16:42 [INFO] Disabling FastAsyncWorldEdit v17.07.10-f20a100-746-13.7.2
    2017-7-12 11:16:42 [INFO] Disabling FDevTools v1.0.2
    2017-7-12 11:16:42 [INFO] Disabling Core v1
    2017-7-12 11:16:42 [INFO] Disabling DbLib v0.2.1
    2017-7-12 11:16:42 [INFO] Disabling Factions v1.6.9.5
    2017-7-12 11:16:42 [INFO] [Factions] [Factions v1.6.9.5] Disabled
    2017-7-12 11:16:42 [INFO] Unloading level "world"
    2017-7-12 11:16:42 [INFO] Stopping other threads