PocketMine plugin/implementation of VoiceCraft Server Sided Positioning
Current state: UNFINISHED
We're actively developing. The plugin doesn't exist yet!
See TODO.md for the current status!
- Go to https://github.com/AvionBlock/VoiceCraft/wiki/Installing-the-Server
- Follow the tutorial on how to setup a server. Skip the parts related to installing addon and related to installing module for BDS, as this is the replacement for that
- Start VoiceCraft server and you will be given server key
- Copy VoiceCraft server key into plugin's config
- Start your PocketMine server and if you did everything right you will see that plugin connected successfully
- Go to https://github.com/AvionBlock/VoiceCraft/wiki/Installing-the-Client
- Follow the tutorial on how to install client on your device. Skip the parts related to binding
- Once you connect to server you will be given binding code
- Join PocketMine server and execute command
/voicecraft:bind [your_bind_key] - Once you've done everything you will be connected to VoiceCraft server and you can talk to others
When you have the DevTools plugin installed in pocketmine (it should come with it by default) then you should be able to just upload the whole repo as a folder to your plugins folder.
To build the project into a .phar, you'll need to have php (8) with php_yaml extension installed.
Then run the following command:
php -dphar.readonly=0 .\tools\DevToolsConsoleScript.php --make ./ --out VoiceCraft.pharThen upload the VoiceCraft.phar to the plugins folder in your server.
This repository shows an example setup for standalone local analysis of a plugin using PHPStan.
It uses Composer for autoloading, allowing you to install PHPStan extensions such as phpstan-strict-rules. The configuration for this can be seen in phpstan/composer.json.
Assuming you have Composer and a compatible PHP binary available in your PATH, run:
cd phpstan
composer install
Then you can run PHPStan exactly as you would with any other project:
vendor/bin/phpstan analyze
composer update
You can find a workflow suitable for analysing most plugins using this system in .github/workflows/main.yml.