WhosNearMe
Allow players to see who is nearby within a range specified by the player. WhosNearMe will allow players with the specific permission nodes to use the /wnear <range> command. If a player types this command it will show all nearby players within the specified range. Thanks to Gargamel404 for the suggestion (http://forums.bukkit.org/threads/near-plugin.180290/)
Description
This is the WhosNearMe plugin you can add to your server to offers players the function to check who is nearby. The range can be controlled by a permission node which is great for limiting specific groups.
I will continue to support this and add many more features. If you have any suggestions please let me know in the comments or through a pm.
Installation and configuration
Place the WhosNearMe.jar into your plugins directory and then run the server.
Commands
- /whosnearme - Current version of WhosNearMe running.
- /whosnearme reload - Reloads the config for WhosNearMe.
- /wnear <range> - Used check who is within the specified range.
Config
Click here for help with the config.yml
- prefix: - Display a prefix before the WhosNearMe message. To disable type prefix: false
- noOneAroundMessage - This message will be displayed if no players are within the specified range.
- onCooldownMessage* - This message will be displayed if a player tries to use the /wnear command and the specified range is on cooldown.
- cooldowns* - The values here should be range: cooldown(in seconds). If a player has the permission node to use range 500 and there is a cooldown set for 60 seconds (500: 60) then that player will have to wait 60 seconds before using that command again.
Permissions
- wnm.reload
description: Reload the config for WhosNearMe.
default: op
The permission nodes are based on the range you want the players to be able to check. So if you want a player/group to be able to check 175 blocks around them then their permission node would be: - wnm.nearby.175
description: Allows the group/player to use the /wnear command up to 175 blocks away.
The permission nodes are based on the range you want the players to be able to check. So if you want a player/group to be able to check 6928 blocks around them then their permission node would be: - wnm.nearby.6928
description: Allows the group/player to use the /wnear command up to 6928 blocks away.
The server owner is able to customise these values to whatever they wish.
Changelog
- v1.15 - Added support up to 1.11. Added an example when the player types the /wnear command without entering a range. Now shows the distance of each player that is found within the senders range.
- v1.1 - 1 Minor bug fix.
- v1.0 - New feature (cooldowns) You can now add cooldowns within the config. Just add the specified range and the cooldown in seconds to the config 500: 60 (range 500: seconds 60). If a player has - wnm.nearby.500 permission node and there is a cooldown within the config set for the range of 500 then it will set a cooldown before the command can be used again. If a player has - wnm.nearby.500 but there is no cooldown set in the config for the range of 500 then they will be able to use it whenever they want without any cooldown.
- v0.9 - Major bug fix.
Added more message formatting options.
Customisable message if there are no players within the specified range (Supports colours). - v0.8 - Code cleanup.
If there are no players within the specified the user will be notified.
Completely customisable ranges with permission nodes (if command is /wnear 550 then the player/group will need permission node wnm.nearby.550). - v0.5 - Initial Release
Can you add /near with the permission line? The whole /near (range) is confusing players. Also, a color option for /near?
I like this. nice
Amazing plugin! Works perfect and lightweight! Been running it on 1.7 and now on 1.8 - staying strong!
Is there any way it could display how many blocks away they are like this
WhosNearMe: williamsbuilder (1250 Blocks Away) magicianbrian95 (737 Blocks Away)
Like that
@DomBroo98
If you give the Group A the permission wnm.nearby.300, they will be able to use the command /wnear <range upto 300>. So they could type /wnear 120, but wouldn't be able to type /wnear 301 as its past their limit of 300.
If you give the Group B the permission wnm.nearby.600, they will be able to use the command /wnear <range upto 600>. So they could type /wnear 389, but wouldn't be able to type /wnear 707 as its past their limit of 600.
Does this plugin include a option to differ the range of the /wnear?
Such as 100 blocks, 300 blocks, 500 blocks for different ranks?
Hey there, trying out your plugin.
I was wondering, would there be anyway to allow my permissions manager, which has groups and prefixes tied to people, to be used with this. So if I ran the command, it would list all the people and what rank/prefix they were.
Also the /near command in essentials gives you kind of a coordinate to how far away they are from you, any hopes of that coming in the future?
Thanks great plugin!
@BlackFing85
Yes v1.0 added your request if that's what you mean.
@Supavitax
What's the update number v1.0? And thank you so much!!
@BlackFing85
Just added your feature request and I've uploaded it so give it a day or 2 and it will be available to download.
@BlackFing85
I'll add this in the next update.
@Supavitax
Can you add a cooldown? It would be an amazing donation perk if you added a cooldown for the command! Thanks!
Im gonna use this in conjunction with HeroChats' limited range local chat channels.
Superb!
@xDizasterCYx
Was waiting for it to be approved but it's available now.
looks great when it will be a download link?