By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

A handy plugin for developers who wish to compile and inject virions without using Poggit.
version 2.0.0
Approved
Direct Download How to install?
Switch version
29 Downloads / 60 Total
Plugin Description §

VirionTools

A handy plugin for developers who wish to compile and inject virions without using Poggit.

Features

  • Compile a virion to virion.phar.
  • Inject a virion into another plugin.
  • Works cross-platform i.e. it works on both Linux and Windows systems

Setup

  • Get the .phar of this plugin from poggit
  • Put into your plugins folder.
  • Restart the server.
  • Enjoy..

Compile a Virion

  • To compile a virion folder to virion.phar, you will need to put the virion in the virions folder.
  • The virions folder should be located in the folder where PocketMine-MP.phar exists.
  • Next run the command /cv [string:virion]. The [string:virion] is the name of the virion located in the virions folder which you want to compile.
  • The compiled (phared) virion will appear in plugin_data\VirionTools\builds folder.

Inject a Virion

  • To inject a virion to a plugin, you will need to put a compiled virion i.e. a virion.phar in plugin_data\VirionTools\builds folder.
  • You will also need to put a compiled plugin i.e a plugin.phar in plugin_data\VirionTools\plugins folder.
  • Next run the command /iv [string:virion] [string:plugin].
  • The [string:virion] should be the name of the virion located in plugin_data\VirionTools\builds folder.
  • The [string:plugin] should be the name of the plugin located in plugin_data\VirionTools\plugins folder.
  • Note: Adding the .phar extension doesn't matter. The plugin will add it itself.
  • After successful virion injection, the injected plugin would be present in plugin_data\VirionTools\plugins folder.

Commands and Permissions

Description Command Aliases Permission Default
Compile a virion /compilevirion [string:virion] cv, bv, buildvirion vt.cmd.cv op
Inject a virion /injectvirion [string:virion] [string:plugin] iv vt.cmd.iv op

Disclaimer

This plugin is designed to be used only by PocketMine-MP developers who wish to compile a virion without using Poggit. Normal users should'nt be using it.

Credits:

  • DevTools by PMMP Team for providing the ConsoleScript.php
  • Poggit by Poggit Team for providing virion.php and virion_stub.php.
What's new §
  • Create VirionScript.php
  • Delete ConsoleScript.php
  • Fixed prefix to match poggit
  • Remove commented stuff from virion.php
  • Virions can now compile w/o shell_exec or consolescript
  • fix typo
  • fixed prefix
  • fixed prefix and no longer save consolescript.php
  • version bump
Supported API versions
3.0.0
->
3.5.6
License §
Categories:
Developer Tools
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

Loading...