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

Official DevTools v1.10.0

Helps develop and distribute PocketMine-MP plugins

  1. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    It is src not scr!
    And upload the zip to http://pemapmodder.zapto.org/pm/ to check your plugin's classpath. It will tell you where your plugin files should be located at.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Also change your Plugin.yml to plugin.yml, or my site won't detect it.
  3. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    so it is a auto compiler?
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    It is an online compiler, but it also runs some simple inspections like validating your plugin.yml and testing your main class path.
  5. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Yes, but it will be outdated.
  7. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    damm...
    well i will have to wait then
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Wait what?

    Also I recommend you to look at the PocketMine source instead; it is more helpful reading it unless u wanna know the things like inheritance.
  9. picker118
    Offline

    picker118 New Member

    Joined:
    Nov 12, 2014
    Posts:
    10
    Minecraft User:
    picker118
    So, I have a plugin folder with all the files in it, but when I place that into the pocketmine plugins folder and than use /makeplugin <name> it says that is an invalid plugin name.
  10. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    What exactly do you have and what exactly did you type?
  11. picker118
    Offline

    picker118 New Member

    Joined:
    Nov 12, 2014
    Posts:
    10
    Minecraft User:
    picker118
    SurvivalGames_v1.0.0, I did /makeplugin SurvivalGames and /makeplugin SurvivalGames_v1.0.0
  12. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Where did you put your SurvivalGames plugin in?
  13. picker118
    Offline

    picker118 New Member

    Joined:
    Nov 12, 2014
    Posts:
    10
    Minecraft User:
    picker118
    Into the devtools plugin folder
  14. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    No. Put it in the plugins folder directly. Then you don't need to /makeplugin. The directory will be directly loaded without making a phar.
  15. beetree
    Offline

    beetree New Member

    Joined:
    Feb 19, 2015
    Posts:
    4
    Minecraft User:
    b3builder
    I believe there is a bug in DevTools where it doesn't properly load extracted plugins after /reload

    Short version of the log (note that SimpleAuth is not loaded after /reload):
    [[email protected] test]$ ./start.sh
    15:23:06 [INFO] Starting Minecraft: PE server version v0.10.5 alpha
    15:23:06 [INFO] Loading pocketmine.yml...
    15:23:06 [INFO] Loading server properties...
    15:23:06 [INFO] Starting Minecraft PE server on 0.0.0.0:19132
    15:23:06 [INFO] This server is running PocketMine-MP version 1.4.1dev-963 "絶好(Zekkou)ケーキ(Cake)" (API 1.11.0)
    15:23:06 [INFO] PocketMine-MP is distributed under the LGPL License
    15:23:06 [INFO] Loading DevTools v1.10.0
    15:23:07 [INFO] Enabling DevTools v1.10.0
    15:23:07 [INFO] Loading source plugin SimpleAuth v1.6.0
    15:23:07 [INFO] [DevTools] Registered folder plugin loader
    15:23:07 [INFO] Enabling SimpleAuth v1.6.0
    15:23:07 [INFO] [SimpleAuth] Everything loaded!
    15:23:07 [INFO] Preparing level "world"
    15:23:07 [INFO] Starting GS4 status listener
    15:23:07 [INFO] Setting query port to 19132
    15:23:07 [INFO] Query running on 0.0.0.0:19132
    15:23:07 [INFO] Default game type: SURVIVAL
    15:23:07 [INFO] Done (0.676s)! For help, type "help" or "?"
    reload
    15:23:10 [INFO] CONSOLE: Reloading server...
    15:23:10 [INFO] Saving levels...
    15:23:10 [INFO] Disabling DevTools v1.10.0
    15:23:10 [INFO] Disabling SimpleAuth v1.6.0
    15:23:10 [INFO] Reloading properties...
    15:23:10 [INFO] Loading DevTools v1.10.0
    15:23:10 [INFO] Enabling DevTools v1.10.0
    15:23:10 [INFO] CONSOLE: Reload complete.


    Long version of the log (fresh install of most recent development version):
    [[email protected] test]$ wget -q -O - http://get.pocketmine.net/ | bash -s - -v development
    [*] Found PocketMine-MP Final_1.4.1dev (build 963) using API 1.11.0
    [*] This development build was released on Tue Feb 17 20:12:26 UTC 2015
    [*] Installing/updating PocketMine-MP on directory ./
    [1/3] Cleaning...
    [2/3] Downloading PocketMine-MP Final_1.4.1dev-963 phar... done!
    [3/3] Obtaining PHP: detecting if build is available...
    [3/3] Linux 64-bit PHP build available, downloading PHP_5.6.4_x86-64_Linux.tar.gz... checking... regenerating php.ini... done
    [*] Everything done! Run ./start.sh to start PocketMine-MP
    [[email protected] test]$ ./start.sh
    [*] PocketMine-MP set-up wizard
    [*] Please select a language:
    English => en
    Español => es
    中文 => zh
    Pyccĸий => ru
    日本語 => ja
    Deutsch => de
    한국어 => ko
    Nederlands => nl
    Français => fr
    Italiano => it
    Melayu => ms
    Norsk => no
    Svenska => sv
    Suomi => fi
    Türkçe => tr
    [?] Language (en):
    [*] English has been correctly selected.
    Welcome to PocketMine-MP!
    Before starting setting up your new server you have to accept the license.
    PocketMine-MP is licensed under the LGPL License,
    that you can read opening the LICENSE file on this folder.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    [?] Do you accept the License? (y/N): y
    [?] Do you want to skip the set-up wizard? (y/N): y
    15:21:53 [INFO] Starting Minecraft: PE server version v0.10.5 alpha
    15:21:53 [INFO] Loading pocketmine.yml...
    15:21:53 [INFO] Loading server properties...
    15:21:53 [INFO] Starting Minecraft PE server on 0.0.0.0:19132
    15:21:53 [INFO] This server is running PocketMine-MP version 1.4.1dev-963 "絶好(Zekkou)ケーキ(Cake)" (API 1.11.0)
    15:21:53 [INFO] PocketMine-MP is distributed under the LGPL License
    15:21:54 [NOTICE] Level "world" not found
    15:21:54 [INFO] Preparing level "world"
    15:21:54 [NOTICE] Spawn terrain for level "world" is being generated in the background
    15:21:54 [INFO] Starting GS4 status listener
    15:21:54 [INFO] Setting query port to 19132
    15:21:54 [INFO] Query running on 0.0.0.0:19132
    15:21:54 [INFO] Default game type: SURVIVAL
    15:21:54 [INFO] Done (6.626s)! For help, type "help" or "?"
    stop
    15:21:58 [INFO] CONSOLE: Stopping the server...
    15:21:58 [INFO] Unloading level "world"
    15:21:58 [INFO] Stopping other threads
    Segmentation fault
    [[email protected] test]$ cd plugins/
    [[email protected] plugins]$ wget https://forums.pocketmine.net/plugins/devtools.515/download?version=1757 -O devtools.phar
    --2015-02-19 15:22:26-- https://forums.pocketmine.net/plugins/devtools.515/download?version=1757
    Resolving forums.pocketmine.net (forums.pocketmine.net)... 104.28.8.73, 104.28.9.73
    Connecting to forums.pocketmine.net (forums.pocketmine.net)|104.28.8.73|:443... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://forums.pocketmine.net/attachments/devtools_v1-10-0-phar.5029/?version=1757 [following]
    --2015-02-19 15:22:26-- https://forums.pocketmine.net/attachments/devtools_v1-10-0-phar.5029/?version=1757
    Reusing existing connection to forums.pocketmine.net:443.
    HTTP request sent, awaiting response... 200 OK
    Length: 33193 (32K) [application/octet-stream]
    Saving to: ‘devtools.phar’

    devtools.phar 100%[==========================================================================================================================================>] 32.42K --.-KB/s in 0.05s

    2015-02-19 15:22:28 (671 KB/s) - ‘devtools.phar’ saved [33193/33193]

    [[email protected] plugins]$ wget https://forums.pocketmine.net/plugins/simpleauth.4/download?version=1582 -O simpleauth.phar
    --2015-02-19 15:22:39-- https://forums.pocketmine.net/plugins/simpleauth.4/download?version=1582
    Resolving forums.pocketmine.net (forums.pocketmine.net)... 104.28.9.73, 104.28.8.73
    Connecting to forums.pocketmine.net (forums.pocketmine.net)|104.28.9.73|:443... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://forums.pocketmine.net/attachments/simpleauth_v1-6-0-phar.4623/?version=1582 [following]
    --2015-02-19 15:22:39-- https://forums.pocketmine.net/attachments/simpleauth_v1-6-0-phar.4623/?version=1582
    Reusing existing connection to forums.pocketmine.net:443.
    HTTP request sent, awaiting response... 200 OK
    Length: 55071 (54K) [application/octet-stream]
    Saving to: ‘simpleauth.phar’

    simpleauth.phar 100%[==========================================================================================================================================>] 53.78K --.-KB/s in 0.01s

    2015-02-19 15:22:39 (4.90 MB/s) - ‘simpleauth.phar’ saved [55071/55071]

    [[email protected] plugins]$ cd ..
    [[email protected] test]$ ./start.sh
    15:22:43 [INFO] Starting Minecraft: PE server version v0.10.5 alpha
    15:22:43 [INFO] Loading pocketmine.yml...
    15:22:43 [INFO] Loading server properties...
    15:22:43 [INFO] Starting Minecraft PE server on 0.0.0.0:19132
    15:22:43 [INFO] This server is running PocketMine-MP version 1.4.1dev-963 "絶好(Zekkou)ケーキ(Cake)" (API 1.11.0)
    15:22:43 [INFO] PocketMine-MP is distributed under the LGPL License
    15:22:43 [INFO] Loading SimpleAuth v1.6.0
    15:22:43 [INFO] Loading DevTools v1.10.0
    15:22:43 [INFO] Enabling SimpleAuth v1.6.0
    15:22:44 [INFO] [SimpleAuth] Everything loaded!
    15:22:44 [INFO] Enabling DevTools v1.10.0
    15:22:44 [INFO] [DevTools] Registered folder plugin loader
    15:22:44 [INFO] Preparing level "world"
    15:22:44 [INFO] Starting GS4 status listener
    15:22:44 [INFO] Setting query port to 19132
    15:22:44 [INFO] Query running on 0.0.0.0:19132
    15:22:44 [INFO] Default game type: SURVIVAL
    15:22:44 [INFO] Done (1.122s)! For help, type "help" or "?"
    extractplugin SimpleAuth
    15:22:49 [INFO] Source plugin SimpleAuth v1.6.0 has been created on /home/mcserver/control/test/plugins/DevTools//SimpleAuth_v1.6.0/
    stop
    15:22:52 [INFO] CONSOLE: Stopping the server...
    15:22:52 [INFO] Disabling SimpleAuth v1.6.0
    15:22:52 [INFO] Disabling DevTools v1.10.0
    15:22:52 [INFO] Unloading level "world"
    15:22:52 [INFO] Stopping other threads
    zend_mm_heap corrupted
    [[email protected] test]$ cd plugins/
    [[email protected] plugins]$ rm simpleauth.phar
    [[email protected] plugins]$ mv DevTools/SimpleAuth_v1.6.0/ .
    [[email protected] plugins]$ cd ..
    [[email protected] test]$ ./start.sh
    15:23:06 [INFO] Starting Minecraft: PE server version v0.10.5 alpha
    15:23:06 [INFO] Loading pocketmine.yml...
    15:23:06 [INFO] Loading server properties...
    15:23:06 [INFO] Starting Minecraft PE server on 0.0.0.0:19132
    15:23:06 [INFO] This server is running PocketMine-MP version 1.4.
    15:23:06 [INFO] PocketMine-MP is distributed under the LGPL Licen
    15:23:06 [INFO] Loading DevTools v1.10.0
    15:23:07 [INFO] Enabling DevTools v1.10.0
    15:23:07 [INFO] Loading source plugin SimpleAuth v1.6.0
    15:23:07 [INFO] [DevTools] Registered folder plugin loader
    15:23:07 [INFO] Enabling SimpleAuth v1.6.0
    15:23:07 [INFO] [SimpleAuth] Everything loaded!
    15:23:07 [INFO] Preparing level "world"
    15:23:07 [INFO] Starting GS4 status listener
    15:23:07 [INFO] Setting query port to 19132
    15:23:07 [INFO] Query running on 0.0.0.0:19132
    15:23:07 [INFO] Default game type: SURVIVAL
    15:23:07 [INFO] Done (0.676s)! For help, type "help" or "?"
    reload
    15:23:10 [INFO] CONSOLE: Reloading server...
    15:23:10 [INFO] Saving levels...
    15:23:10 [INFO] Disabling DevTools v1.10.0
    15:23:10 [INFO] Disabling SimpleAuth v1.6.0
    15:23:10 [INFO] Reloading properties...
    15:23:10 [INFO] Loading DevTools v1.10.0
    15:23:10 [INFO] Enabling DevTools v1.10.0
    15:23:10 [INFO] CONSOLE: Reload complete.
  16. beetree
    Offline

    beetree New Member

    Joined:
    Feb 19, 2015
    Posts:
    4
    Minecraft User:
    b3builder

    Oh, and this is (obviously) not specific to SimpleAuth. I've tested it also with other plugins and neither they are loaded after /reload if extracted.
  17. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Use a spoiler >.<
  18. beetree
    Offline

    beetree New Member

    Joined:
    Feb 19, 2015
    Posts:
    4
    Minecraft User:
    b3builder
    I should have...

    That apart, anyone know how to fix this bug?
  19. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Then edit your old post! Nobody wants to spend ages to scroll up and read it if you don't put it in a spoiler.
  20. jamie360
    Offline

    jamie360 New Member

    Joined:
    Mar 31, 2015
    Posts:
    4
    Minecraft User:
    jamie
    Can someone tell me what this does/how it works because i think it turns things into a phar
    am I wrong?

Share This Page

Advertisement