Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

LoadWorld help me

Comments in 'Plugin Development' started by mrfoxvolt, Oct 3, 2014.

  1. mrfoxvolt
    Offline

    mrfoxvolt Active Member Plugin Developer

    Joined:
    Jan 26, 2014
    Posts:
    52
    Plugins:
    1
    Minecraft User:
    rirititi
    consol say:
    [CRITICAL] Unhandled exception executing command 'tpw demo' in tpw: Undefined variable: player
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    getSpawnLocation() doesn't accept any variables.
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Learn PHP.
    xFlare and PixelGuy75 like this.
  4. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    This is very bad... @mrfoxvolt Please learn PHP, there are a billion(+) tutorials on the web
    xFlare and EvolSoft like this.
  5. Sakkz
    Offline

    Sakkz New Member

    Joined:
    Nov 20, 2013
    Posts:
    47
    Minecraft User:
    Sakkz
    Why not edit he servers pocketmine.yml
    At the end you'll see

    worlds:
    #These settings will override the generator set in server.properties and allows loading multiple levels
    #Example:
    #world:
    # seed: 404
    # generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45)

    Just add your worlds at the end like this

    worlds:
    #These settings will override the generator set in server.properties and allows loading multiple levels
    #Example:
    #world:
    # seed: 404
    # generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45)
    world:
    survival:
    Etc...
    PEMapModder likes this.
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Although it doesn't let you teleport players (use SignPortal)
  7. Sakkz
    Offline

    Sakkz New Member

    Joined:
    Nov 20, 2013
    Posts:
    47
    Minecraft User:
    Sakkz
    Yea thats true, that's how I managed since I cant code plugins

Share This Page

Advertisement