Questions tagged [pocketmine]

PocketMine is a server software written in PHP for Minecraft: PE, also developed into other derivatives (known as spoons). Use this tag for any questions related to plugin development for PocketMine or any of its spoons. If your question may be affected by the spoon you are using, remember to specify it; otherwise PMMP is assumed. This tag can also be used by questions for tools related to PocketMine.

PocketMine is a server software for Minecraft: PE and Minecraft: Windows 10 Edition, written in PHP, originally for documentation purpose. It has a versioned plugin API that allows changing of PocketMine's behaviour.

Target API

This tag is mainly used by questions that involve developing plugins with the PocketMine plugin API, which may refer to many versions. Before 2014, an older API (example) was used, but it is obsolete now and is not covered by this tag.

Since late 2015, after inactivity from the main developer, a large number of PocketMine derivatives/variants (a.k.a. spoons) emerged, which caused a great variant in API. PMMP was semi-officially recognized as the official derivative, so if not specified, it is assumed that a question tagged with pocketmine is about the PMMP plugin API. Usage of spoons should be clarified, because they have slightly different API.

As StackOverflow aims to let questions be meaningful for future readers, the API should be specified too.

Other than plugins

There might also be other things associated with PocketMine that suit themselves on StackOverflow. These include PocketMine GUI wrappers, installers, etc. They are also included in this tag, but are restricted to programming-related. For installation of PocketMine, etc., use other sites such as SuperUser instead.

Questions can also refer to Poggit, the CI for PocketMine plugins and plugin release platforms, but must conform to be programming-related.

Useful links

24 questions
0
votes
1 answer

Getting the exact center of the currently being generated map while generating its chunks

I'm trying to get the center of the map while generating it to know when to set the blocks... (To make a circle of pillars) There's currently no way that I know that can get the center of the map while its generating chunks... Any way of doing this?
CortexPE
  • 31
  • 1
  • 6
0
votes
3 answers

How do you upload a file (from url) to a Docker container?

How would somebody use the Docker Engine API to stop a container, upload a file (from a url) to a path in a container, then run the start command again? I am running this image. The intention is to have a Minecraft Server then upload a plugin from a…
user7885981
0
votes
1 answer

how to get fullpath of scandir()

when i scandir() it's return in array like this Array( [0]=> string(8) "DevTools" [1]=> string(17) "LB-Particles.phar" [2]=> string(11) "NoGrifersDP" [3]=> string(12) "PacketLogger" [4]=> string(24)…
R7vmc
  • 3
  • 3
0
votes
1 answer

How to check if bit is set in MySQL

I have a table in a MySQL database with a BIT(64) row, which is a bitmask of 64 flags. Using PHP and mysqli, I have an integer $n, which is in the range [0, 64). I have already written a function (see Appendix I) to set the nth bit of a byte array…
SOFe
  • 7,867
  • 4
  • 33
  • 61
0
votes
1 answer

Is it possible to truly limit access of this private property?

I'm using three tricks in my attempt: Reflections can't be used with dynamic class properties __get() or __set() must be called when accessing dynamic class properties debug_backtrace() can be utilized to emulate something similar to private For…
SOFe
  • 7,867
  • 4
  • 33
  • 61
0
votes
3 answers

Port not opening on Ubuntu Server for Pocketmine

I am trying to run a PHP server, for Minecraft PE. The server is called Pocketmine. The port will not open for me for this particular server. I am trying to run the server on port 19132, but it is always closed. Just to make sure the port is…
jhamm
  • 24,124
  • 39
  • 105
  • 179
-2
votes
2 answers

How to delay without stop

But, When call method T, Program Stucking occured. how can i delay without stucking? i can use…
-2
votes
3 answers

Possible to make a PocketMine plugin with Python?

Is it possible to create a plugin on PocketMine with Python? If not, is there any way you could?
user3457551
  • 17
  • 1
  • 2
-4
votes
1 answer

How can I create a WorldBorder using PocketMine-MP?

I'm trying to make a world border by getting player coordinate and stopping them from moving past that coordinate. What should I do? Using Pocketmine 4.0.0 I've tried to find a method to get the coordinates but I don't know what to do.
NotU
  • 1
  • 1
1
2