1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Get Specific World's Name

Discussion in 'Plugin Help' started by Taewon Kim, May 6, 2020.

  1. Taewon Kim

    Taewon Kim Spider

    Messages:
    9
    GitHub:
    twk1024
    Hi

    I am making a plugin and I wonder how to get a specific world's name.

    <Example>
    I want to make able to execute a command in specific world.
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    PHP:
    $player->getLevel()->getFolderName();
     
  3. Taewon Kim

    Taewon Kim Spider

    Messages:
    9
    GitHub:
    twk1024
    Thanks
     
    HimbeersaftLP likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.