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

normal plugins are not working

Discussion in 'Plugin Help' started by Deven, May 14, 2017.

  1. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    Yes the folder he sent me has the yml, and it says 3.0.0-Alpha5
     
  2. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    1. Devtools must be a .phar file in order to work and for it to load any other folder plugins
    2. each plugin folder must have a plugin.yml file in it to be recognised as a plugin
    3. The api of the plugin is CaSe sensitive, so you will need 3.0.0-ALPHA5 instead of 3.0.0-Alpha5
     
    XxCodeRedxX likes this.
  3. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    Yes his plugin.yml has 3.0.0-ALPHA5 it has everything necessary, this is why were both puzzled
     
  4. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
  5. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    I have 1.1.3
     
  6. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Are you sure you have the latest build of DevTools? 1.1.3 has been the version for quite a few builds
     
  7. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    Can you post a link of the latest of them?
     
  8. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    what I need is the Folder plugin loader actaully
     
  9. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    nvm
     
  10. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    Guys I have everything I need, is it because its a beta build?
     
  11. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Can you go in your server folder and run the command "tree plugins" (Windows) or "ls -R plugins/" (Linux) on the terminal?
     
  12. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    Yes and it brings up all the plugins I have. Why?
     
  13. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    well, can you post a screenshot?
     
  14. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
  15. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    Anyone? I would like to fix this asap, its only recognizing phar files as plugns and nothing else
     
  16. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    I don't know why nobody clarified this. Phar plugins are the normal plugins. Folder plugins are in-dev abnormal plugins.
     
  17. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Can you post the contents of plugin.yml (in a code block)? Invalid name usually means... the name is invalid. Maybe when copying with a poor text editor someone added some invisible/invalid characters to the name of the plugin?
     
  18. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    There's your issue. Your files/folders should be directly in a folder, not a folder inside of a folder.
     
    EdwardHamHam likes this.
  19. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Last edited: May 16, 2017
  20. Deven

    Deven Silverfish

    Messages:
    19
    GitHub:
    angelic
    I think I fixed it due to yalls help thx,

    but now im getting this
    [18:17:37] [Server thread/INFO]: Loading DevTools v1.11.3
    [18:17:37] [Server thread/INFO]: Enabling DevTools v1.11.3
    [18:17:37] [Server thread/INFO]: Loading source plugin CodeRed v1.11.3

    Warning: Couldn't load source plugin CodeRed: main class not found in phar://C:/Users/Deven S/Desktop/PocketMine plugins/PocketMine-MP/plugins/PocketMine-DevTools (2).phar/src/FolderPluginLoader/FolderPluginLoader.php on line 70
    [18:17:37] [Server thread/CRITICAL]: Could not load plugin 'CodeRed'
    [18:17:37] [Server thread/INFO]: [DevTools] Registered folder plugin loader
    [18:17:37] [Server thread/INFO]: [CONSOLE: Reload complete.]
    makeplugin CodeRed
    [18:17:46] [Server thread/INFO]: Invalid plugin name, check the name case.


    plz help
     
  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.