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

[New API] Can I use shell_exec() on my PocketMine plugin?

Comments in 'Plugin Development' started by EvolSoft, Dec 1, 2014.

  1. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Can I use PHP shell_exec() on my PocketMine plugin? And if it's possible, can I submit a plugin which uses shell_exec()?
    Adaasi likes this.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Yes if it is multi platform compatible.
    iJoshuaHD and EvolSoft like this.
  3. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Thanks for the answer. But can I submit a plugin which uses shell_exec()?
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    iJoshuaHD and EvolSoft like this.
  5. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,201
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    lmao xD
  6. ServerKart_Rod
    Offline

    ServerKart_Rod Active Member Plugin Developer

    Joined:
    Jul 7, 2014
    Posts:
    110
    Plugins:
    1
    Minecraft User:
    Advocaite
    I would nto trust any plugin that runs any application for me there is no real need for it. what exactly are you going to run
    iJoshuaHD likes this.
  7. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    I want to make a plugin which executes some programs
    Adaasi and xFlare like this.
  8. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    PEMapModder likes this.
  9. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    To add to my post:
    The rules stated that if your plugin is designed to be platform-specific, it's OK. But don't upload your plugin with some DLL files, because the plugin is not supposed to be platform-specific but DLL can only be used by Windows.
    Adaasi, Falk and EvolSoft like this.
  10. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    And there can be platform specific features, just so long as the plugin functions or fails gracefully on all PocketMine platforms (Android is often an exception as PocketMine doesn't really support android all too well).

Share This Page

Advertisement