Minecraft selectors (@A, @p, @r, @e, @s) added to pocketmine.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Ad5001 57d9771a85 Merge branch 'patch-1' of jasonwynn10/PlayerSelectors into master před 6 měsíci
src/Ad5001/PlayerSelectors Fix bug with variable name collisions před 7 měsíci
.poggit.yml Create .poggit.yml před 2 roky
LICENSE.md First commit! před 2 roky
README.md Update README.md před 2 roky
icon.png First commit! před 2 roky
plugin.yml Update to API 3 and remove excess keys před 7 měsíci

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!