MCZ118 (Is Player Near?)

From MinecraftOnline
Jump to navigation Jump to search
Mapmarker labicon.png Is Player Near?
MCZ118.gif
About
ID MCZ118
Self Triggered Yes
Clickable No
Input No
Output Yes
Sign post icon.png Sign Format
Second line [MCZ118]
Third line Option:Name
Fourth line Range #
Craftbook Page

Will automatically detect a nearby player and output an On signal. Can also be set to detect certain players and groups.

Details

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

Option is 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 distance is measured from the center, of the bottom, of the block it is attached to. (this differs from most other CraftBook measurements)

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

Examples


[MCZ118]


Simply outputs if any player is within 5 blocks of the sign when triggered.


[MCZ118]
p:Anna_28
4

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


[MCZ118]!
p:Anna_28
4

An exclamation point at the end of the IC name inverts the output, so this IC would only trigger when Anna_28 is NOT inside the 4 block radius.


[MCZ118]
p:!Anna_28
4

An exclamation point at the beginning of the name negates the match, so this IC would trigger if any player except Anna_28 is inside the 4 block radius.


[MCZ118]
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

MCX118 (Is Player Near?)