Sueta

PressureControl

1.2

Stops Mobs and Animals from pressing stone pressure plates

·Plugin

PressureControl Logo.png

This plugin currently does one thing, and one thing only. For now.
It stops mobs and animals in configurable worlds from pressing stone pressure plates specifically, and also bounces them off with configurable intensity.

Make sure you configure the worlds you want it to work in.

It was originally meant for preventing mobs from triggering @p commands attatched to pressure plates. In those situations, unintended players may be affected by the written commands. This plugin helps in preventing that.

It only does this with stone plates because other plates can be triggered in different ways. Usually you wouldn't want to use plates other than stone for purposes such as @p teleportation for example, since arrows could trigger wood plates at a distance, and items could also trigger gold and iron plates at a distance.

This is actually the first plugin I've made in Java + Spigot's API, since Java isn't really my primary language. Still, I believe being such a simple plugin it should be really low resource intensive in both processing and memory consumption.

Feel free to constructively critique (appreciated), suggest modifications (very appreciated), or use the code yourself (in which case I'd like to know about it).

If you wish for me to add any other reasonable functionality to this simple plugin, let me know through the Discussion section, or PM me directly.

Similar projects

Plugin →