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

why this dont work

Comments in 'Plugin Development' started by Driesboy1, May 15, 2016.

  1. Driesboy1
    Offline

    Driesboy1 Active Member

    Joined:
    Oct 28, 2015
    Posts:
    102
    Minecraft User:
    Driesboy
    hello

    url: https://github.com/MCrafterss/MultiLanguage

    error:
    [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'Test v1': Class Mcrafters\MultiLanguage not found on MCrafterss\test

    [15:49:31] [Server thread/CRITICAL]: ClassNotFoundException: "Class Mcrafters\MultiLanguage not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144
  2. Jazzwhistle
    Offline

    Jazzwhistle Notable Member

    Joined:
    Dec 27, 2014
    Posts:
    364
    Minecraft User:
    Awzaw
    I think you've messed up your namespaces and 'use' paths in test.php... why is it in a subfolder 'testplugin' parallel to your main src?
  3. Survingo
    Offline

    Survingo Active Member

    Joined:
    Dec 6, 2015
    Posts:
    221
    The folder 'testplugin' is the plugin. MultiLanguage is the API
  4. Driesboy1
    Offline

    Driesboy1 Active Member

    Joined:
    Oct 28, 2015
    Posts:
    102
    Minecraft User:
    Driesboy
    yes

Share This Page

Advertisement