Should work on all versions.
When 2 players get near each other, both players will be notified.
Some dude on Reddit was in need of this, so I made it.
Default config:
Code (YAML):
# How often should the plugin check for proximity?
# 20 ticks is 1 second
check-time-ticks
: 40
# How close should players be to each other before they get an alert of someone nearby?
alert-distance
: 100
# If alert-distance is fixed at 100 blocks and people realise this, they can exploit it
# Each "check", a random number between 0 and this value is added or subtracted from the alert-distance, to make it more variable and less exploitable
fuzzy-distance
: 20
# The message to send to both players once they're close to each other
alert-message
:
"Watch out, someone is close!"