AlicanCopur
Member
I know this is a stupid question, but I have a PocketMine-MP server and I want use Nukkit server. How can I port my plugins to Java?
The answer is simple as that: Learn java and PHP and pocketmine and nukkit API (if you haven't done that already). The nukkit api isn't much different in my opinion so it shouldn't be hard. After that you must just rewrite the plugins to java/kotlin or another JVM language. Currently there's no any PHP interpreter for java and even if it was I wouldn't recommend using it because of the performance loss. So the only way to do this is to do write it by hand.I know this is a stupid question, but I have a PocketMine-MP server and I want use Nukkit server. How can I port my plugins to Java?
What do you mean by "not available"? Java and PHP are different languages. You can't expect them to have the same standart library.I know PocketMine and Nukkit API's, they are too similar. but some PHP functions is not available in Java.