Plugin category: Roleplay Minecraft version: 1.13.2 Suggested name: RP-Patting What I want: I'd like a plugin with a feature to be able to frisk other players in a roleplaying context. Let me explain the functioning. /search <target> permission required rp.search range could be configurable in config ex: if player is 10+ blocks away, you can't request a search triggers: The sender of the command will get a message in chat notifying them of their search request on the person they requested to. The receiver will receive a message in chat as so; If accepted is clicked, it'll open the inventory of the searched player for the searched (as Essential's invsee). if denied, it'll notify the sender that the request was denied. An EXTRA feature, if all messages could be modifiable via config that'd be amazing. Ideas for commands: /search <target> Ideas for permissions: rp.search When I'd like it by: As soon as possible
Done Tell me if you want I change anything https://github.com/nik2143/RP-Patting/releases/download/1.0/RP-Patting-1.0.jar
I would recommend using Location#distanceSquared(Location) for this line instead of Location#distance(Location).