ProximityDetector — Smart Presence Sensor for Minecraft

Understanding the ProximityDetector Plugin for Minecraft Servers Redstone contraptions in Minecraft can be endlessly creative, but they often lack the ability to react to players moving through an area without bulky pressure plates or tripwires. The ProximityDetector plugin changes that by adding...

Download ProximityDetector

Original name: ProximityDetector

FileVersionLoaderSize
ProximityDetector.jar——10 КБDownload

Understanding the ProximityDetector Plugin for Minecraft Servers

Redstone contraptions in Minecraft can be endlessly creative, but they often lack the ability to react to players moving through an area without bulky pressure plates or tripwires. The ProximityDetector plugin changes that by adding a simple sign-based sensor that powers redstone whenever a player steps within a defined radius. It is a lightweight mechanics plugin designed for Bukkit, Spigot, and Paper servers, and it opens up a world of hidden doors, automatic lighting, and security systems without cluttering your builds.

How ProximityDetector Works

At its core, ProximityDetector turns an ordinary sign into a smart sensor. When a player places a specially formatted sign, the plugin assigns a radius value to that sign. As soon as any player enters that radius, the detector activates and provides redstone power to adjacent blocks. The moment all players leave the zone, the power cuts off. This means you can have a seamless, invisible trigger that responds to movement alone — no buttons, no pressure plates, just pure proximity logic.

The detector checks for players continuously, and its responsiveness can be fine-tuned in the configuration file. It works on all solid blocks where a sign can be placed, and it respects the server’s world guard or protection plugins because the sign itself is a physical block that can be broken or protected like any other.

Creating a Proximity Detector

Setting up a detector is straightforward and requires only a sign and the correct permission. The player places a sign and writes on the first line [proximity] (case-insensitive). The second line must contain the radius as a positive number. For example, a sign with:

  • Line 1: [proximity]
  • Line 2: 5

This creates a proximity detector with a 5-block spherical radius around the sign. The third and fourth lines can be left blank or used for labels. Once the sign is placed, it immediately becomes active and starts monitoring the area. If you need to adjust the radius, simply break the sign and place a new one — there is no in-place editing.

For those managing multiple plugins, getting ProximityDetector onto your server is a breeze. The plugin can be quickly downloaded and installed via the foxygame.net launcher, a convenient and modern Minecraft launcher that lets you grab mods and server-side add-ons right from its built-in menu, saving you the hassle of hunting through websites.

Destroying the Detector

To remove a proximity detector, break the sign as you would any other block. A chat message will confirm that the detector has been destroyed, so you always know the sensor is no longer active. This prevents confusion on large servers where multiple people might be managing redstone circuits. The sign drops as a normal item, and any attached redstone will depower instantly.

Permissions and Access Control

The plugin uses a simple permission node to control who can create detectors. By default, only operators or players with the specific permission can place the [proximity] sign. The permission is:

  • proximity.create – Allows a player to create a ProximityDetector sign.

If a player without this permission tries to write [proximity] on a sign, the plugin will ignore it, and the sign will remain a normal text sign. This prevents griefing and ensures only trusted builders can set up automated redstone triggers. You can assign this permission through any permissions manager like LuckPerms.

Configuration Options

After the first run, ProximityDetector generates a config.yml file that lets server owners tweak performance and limits. Here are the key settings:

  • LagRestricter – Controls the processing speed of the plugin. A higher value makes proximity checks more responsive but uses more CPU. A lower value reduces server load at the cost of a slight delay in activation.
  • MaxProximity – The maximum radius allowed for any detector. Set it to 0 to allow infinite range, or cap it to prevent oversized sensors that might cause lag.
  • EnforceOnExistingSigns – If true, any existing detectors that exceed the MaxProximity value will be automatically reduced to match the limit. This is handy when you decide to lower the cap after players have already placed large-radius signs.
  • database – Choose between flatfile (YAML) or MySQL. Flatfile is perfect for small to medium servers, while MySQL is recommended if you expect hundreds of sensors and want better performance and remote access.
  • mysql settings – Host, port, database name, username, and password fields appear only if you select MySQL. Fill these in with your database credentials.

These options give you granular control over how the plugin behaves without needing to edit any code.

Database Support and Performance

ProximityDetector stores all active detector locations and their radii in a database so they persist across server restarts. The flatfile backend writes to a local YAML file and requires no extra setup. If you run a network or a large public server, switching to MySQL allows multiple servers to share the same detector data and reduces disk I/O. The plugin will create the necessary tables automatically once the MySQL details are correct.

Because the plugin checks player positions on a loop, the LagRestricter setting is crucial. On a busy server, setting this value too high might cause TPS drops. Start with the default value and monitor your server’s performance before adjusting it upward. The plugin is lightweight by design, but it is always wise to test with your specific player count.

Conclusion

ProximityDetector fills a niche that vanilla redstone cannot easily address: invisible, radius-based player detection. It integrates smoothly with existing circuits, respects permissions, and offers flexible configuration for server administrators. Whether you are building a hidden base entrance, a mob-free safe zone indicator, or an automated welcome message system, this plugin provides a clean and reliable solution. With its straightforward sign-based creation and solid database options, ProximityDetector is a valuable addition to any server owner’s toolkit.