-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this plugin? #132
Comments
Which error does it give? |
What should I do to make the plugin work? |
Did you setup QUIC? |
No, how to set it? And what does it need? |
It requires you to build quiche using FFI and link it to set the following ENVs QUICHE_PATH= |
Can you tell me step by step what to do? |
And one question, is there an optimized and stronger Pocketmine to buy or use? |
Um, I have exactly the same problem. |
Right let me explain: ProxyTransport-PM uses QUIC, a new transport protocol. To achieve this it uses quiche, a RUST QUIC implementation. Once you've a PHP binary with FFI support you need to build a Quiche static binary that supports FFI for you operating system, for linux it would look something like this (requires the rust toolchain): git clone --recursive https://github.com/cloudflare/quiche --branch "$QUICHE_VERSION" quiche-build && cd quiche-build && cargo build --release --features ffi the latest $QUICHE_VERSION is currently 0.23.2 The results can be found in: quiche-build/target/release/libquiche.so => static binary
quiche-build/quiche/include/quiche.h => header file Once that's complete you need to setup the ENVs for the server: QUICHE_PATH=./path_to_static_binary
QUICHE_H_FILE=./path_to_header_file
QUICHE_PHP_FILE=./path_to_php_file.php (this doesn't have to exist, if it doesn't exist PHP-Quiche will create a PHP file that allows communicating with the static binary) |
Seems like you didn't install composer dependencies |
This doesn't have anything to do with this plugin, but rather pocketmine. Which fork are you using? |
I use the NetherGames fork. |
When I remove the plugin, the server starts up properly and there are no problems, but when I install the plugin, the server returns the same error I sent. |
Please help me if you can. |
It's totally unrelated, so you might want to open a new issue in the correct repo |
When I put it in the server, it gives an error and does not allow the server to turn on
The text was updated successfully, but these errors were encountered: