This is a quick plugin that I made for this reddit user: https://www.reddit.com/r/admincraft/comments/g38tk2/plugin_arrow_shot_xdistance_gets_put_in_chat/
It has a config which allows you to configure the message that is put into chat, the minimum distance to notify the player, and whether to notify only the player who landed the hit or all players online. You can also configure commands to be executed when the player lands one of these bow shots, this can be used to reward the player with potion effects, money etc.
message: "&7&l%player% has hit a bow shot from %distance% blocks away!"
distanceThreshold: 50
notifyAll: true
commandsToRun:
- "eco give %player% 100"
cooldown: 3
It also has a reload command to make configuring the plugin slightly easier.
This plugin is also more accurate than other plugins you may find like it, as it stores the position that the player originally shot from, so the distance is always compared to the original shot location rather than the location of the player when the arrow hits.
If you need fast support, join my discord at https://discord.gg/aRD9nAT, otherwise simply message my spigot account as I check it fairly regularly.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta