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

Solved Level loading

Comments in 'Plugin Development' started by TryoneLegendZzz, Oct 10, 2015.

  1. TryoneLegendZzz
    Offline

    TryoneLegendZzz Active Member

    Joined:
    May 31, 2015
    Posts:
    201
    Minecraft User:
    SavionLegendZzz
    yes i tried the search bar and google but it wont work(idk why)
    but how can i check to see if a level is already loaded and if it isnt how can i load it?(need this for my SurvivalGames plugin :))
  2. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Looking it up with a search bar isn't enough, you need to learn how to read through the source code(this may sound boring to some) also. :) Check if loaded: https://github.com/PocketMine/Pocke...213e0625ed5c5b/src/pocketmine/Server.php#L983 Load a level: https://github.com/PocketMine/Pocke...13e0625ed5c5b/src/pocketmine/Server.php#L1043
    TryoneLegendZzz likes this.

Share This Page

Advertisement