| Discord | License | Poggit | Release |
|---|---|---|---|
- 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
- To compile a virion folder to virion.phar, you will need to put the virion in the
virionsfolder. - The
virionsfolder should be located in the folder wherePocketMine-MP.pharexists. - Next run the command
/bv [string:virion]. The[string:virion]is the name of the virion located in thevirionsfolder which you want to compile. - The compiled (phared) virion will appear in
plugin_data\VirionTools\buildsfolder.
- To inject a virion to a plugin, you will need to put a compiled virion i.e. a
virion.pharinplugin_data\VirionTools\buildsfolder. - You will also need to put a compiled plugin i.e a
plugin.pharinplugin_data\VirionTools\pluginsfolder. - Next run the command
/iv [string:virion] [string:plugin]. - The
[string:virion]should be the name of the virion located inplugin_data\VirionTools\buildsfolder. - The
[string:plugin]should be the name of the plugin located inplugin_data\VirionTools\pluginsfolder. - Note: Adding the
.pharextension doesn't matter. The plugin will add it itself. - After successful virion injection, the injected plugin would be present in
plugin_data\VirionTools\pluginsfolder.
- 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
virionskey inplugin.ymlof the plugin. - List all the virions required by your plugin under it.
- Next run the command
/injectall [string:plugin]Alias forinjectallareia. - The
[string:plugin]should be the name of the plugin located inplugin_data\VirionTools\pluginsfolder. - After successful virions injection, the injected plugin would be present in
plugin_data\VirionTools\pluginsfolder.
| 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 |
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.