Minecraft selectors (@A, @p, @r, @e, @s) added to pocketmine.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Ad5001 ef3a60e802
Update README.md
il y a 1 an
src/Ad5001/PlayerSelectors I should really focus more... il y a 1 an
.poggit.yml Create .poggit.yml il y a 1 an
LICENSE.md First commit! il y a 1 an
README.md Update README.md il y a 1 an
icon.png First commit! il y a 1 an
plugin.yml First commit! il y a 1 an

README.md

  PlayerSelectors -

Implementation of minecraft selectors into PocketMine!

  How to install?

  1. Download the .phar file from the link given at the top of the repo
  2. Put that phar into your “plugins” folder
  3. Restart your server and Selectors should be reay to go!

  Implemented features

PlayerSelectors implements all the default minecraft selectors:

  • @a - All players
  • @p - Nearset player
  • @e - Entities
  • @r - Random player

  • @s - Self/Sender

    but also features a custom made one:
    Since PocketMine implements a multi world system, you can easily select players from your current world using the “@w” selector!

    Minecraft also supports specific search parameters such as the distance from the sender, the count of matched player/entities, …
    All the standard minecraft search params can be used with the syntax
@<selector name>[key=param,other=value]

EXEPT the team & score params since the /scoreboard command isn’t implemeted into pocketmine yet
Thought, one new params comes with this plugin: the “lvl” param which is for searching in a specific level.

Have fun!