PlayerPressurePlates icon

PlayerPressurePlates -----

Only allow players to use your pressure plates with white- and blacklist



Ever wanted to use your pressure plates for players and not mobs?
Ever wanted to restrict certain players from using them?

A good example for using this plugin is when you want to have a piston door with villagers. You can block them from using them by simply adding the pressure plate to the plugin

Please note that this plugin was written quickly and is not grief proof. It may contain bugs or lack functionality.
Also, due to the way PlayerInteractEvent and EntityInteractEvent work, as soon as an allowed player steps on the pressure plate, it can be held down by another disallowed player or mob
While I don't plan to update it in the near future, you can always do so yourself using the attached source code.

P.S. I know Server#getOfflinePlayer is deprecated, but I didn't want to use Mojang's API to get the Players UUID as that could slow down the use of the command. If you want to use Mojang's API you can always edit the source code.

You are free to use or modfiy the plugin or source code and if you want to publish a modfied version, you can do so with proper credit (link to this resource)

Credits to @clip for getTargetBlock used in PlateCommand (published in https://www.spigotmc.org/threads/solved-get-coords-for-a-block-a-player-is-looking-at.64576/)
Resource Information
Author:
----------
Total Downloads: 70
First Release: Mar 4, 2023
Last Update: Mar 4, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings