MCX118 (Is Player Near?)

From MinecraftOnline
Jump to navigation Jump to search
Mapmarker labicon.png Is Player Near?
About
ID MCX118
Self Triggered No
Clickable No
Input Yes
Output Yes
Rail No
Sign post icon.png Sign Format
First line PLAYER NEAR?
Second line [MCX118]
Third line option:name
Fourth line range
Craftbook Page

When triggered by redstone Input, will output an On signal. Can also be set to detect certain players and groups.

Details

  • Second Line
    • [MCX118]
  • Third Line
    • Option:Name
  • Fourth Line
    • Range #

Option can be p: for player, g: for group, or m: to search for a name that contains those same letters; Useful for those with long playernames.

Name can be prefixed with an exclamation point to negate the match.

The default range is 5 and the maximum range is 64.

Examples


[MCX118]


Simply outputs if any player is near, when triggered.


[MCX118]
p:Anna_28
10

When triggered, searches for player getplayerhead.sh?Anna_28&16.png Anna_28 within a 10 block radius.


[MCX118]
p:!Anna_28
10

When triggered, searches for any player other than Anna_28 within a 10 block radius.


[MCX118]
m:blehelix457
5

Searches for a playername that contains "blehelix457" such as getplayerhead.sh?doublehelix457&16.png doublehelix457 within a 5 block radius.

Notable and Practical Uses

  • Private Bases where only certain player access is allowed
  • Create awesome automatic doors without lifting a blocky finger.

See Also