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 4.0.1
Approved
Direct Download How to install?
Switch version
622 Downloads / 3229 Total
11 Reviews
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 /bv [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.

Inject all Virions

  • To inject all virions into the plugin you need to use injectall [string:plugin] command.
  • Make sure the virions required by the plugin are already compiled.
  • Most importantly make a virions key in plugin.yml of the plugin.
  • List all the virions required by your plugin under it.
  • Next run the command /injectall [string:plugin] Alias for injectall are ia.
  • The [string:plugin] should be the name of the plugin located in plugin_data\VirionTools\plugins folder.
  • After successful virions 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
Inject all virions /injectall [string:plugin] ia vt.cmd.ia 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 §
  • fix path being hardcoded in the stub
  • version bump
  • PM4 & PHP 8
  • possible fix for #2
  • New command /injectall
  • InjectAll command is now supplied with the plugin rather than downloading a separate script.
  • fix virion not compiling on linux distros
  • import another fuction from DevTools CompileScript
  • version bump
  • .phar isnt needed
  • Added VirionInjectScript which will now be used to inject virions into the plugins eliminating the use of shell_exec
  • Added back virion.php and virion_stub.php
  • Added credits and phpdocs
  • Added link for script and more info on Inject All command
  • Added note
  • Better formatting
  • Fix image size and width
  • No longer save poggit scripts
  • Rename VirionScript to VirionCompileScript also change virion stub
  • Send messages to CommandSender instead of Logger
  • Updated icon
  • changed compiled virions stub to point to virion_stub.php
  • github... you good brojQuery3210023528081459952554_1553173983034
  • no longer save poggit scripts also added a better stub for virions compiled using VirionTools
  • remove poggit scripts
  • removed some over-engineered code
  • save files and add back the removed function
  • shell_exec has been nuked completely. Potentially fixes and close #1
  • version bump
  • Escape the data paths properly to avoid error due to spaces in folder names etc
  • Version bump
  • 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

DaDevGuy
using v4.0.1
12 May 22
PushkarOP
Outdated
using v4.0.0
28 Feb 22
Ifera
Staff
01 Mar 22
thx!
NhanAZ
Outdated
using v4.0.0
25 Feb 22
Ifera
Staff
01 Mar 22
thx!
XanderID
Outdated
using v4.0.0
25 Feb 22
Ifera
Staff
01 Mar 22
thx!
Mcbeany
Outdated
using v4.0.0
25 Feb 22
Ifera
Staff
01 Mar 22
thx!
rjworks
Outdated
using v3.3.0
31 Jul 20
another great dev tool
Ifera
Staff
25 Feb 22
thx!
xXWaterFrogzX
Outdated
using v3.3.0
18 Jun 20
Ifera
Staff
25 Feb 22
thx!
HimbeersaftLP
Outdated
using v3.3.0
31 Mar 20
Ifera
Staff
25 Feb 22
thx!
JaxkDev
Staff Outdated
using v2.1.0
11 Mar 19
Ifera
Staff
13 Mar 19
Thanks ♥️
Zedstar16
Outdated
using v2.1.0
07 Mar 19
Very helpful plugin 👌
Ifera
Staff
08 Mar 19
Thanks ♥️

Reply to review by :

/ 5
Supported API versions
4.0.0
->
4.21.1
Producers §
  • Collaborators:
    • @Ifera
License §
Categories:
Developer Tools
Permissions
Commands

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

/ 5
Loading...