WhosNearMe

Logo

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. It is currently v1.0 and was designed for V1.6.4.

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 175 command.

    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 6928 command.

The server owner is able to customise these values to whatever they wish.

Changelog

  • v1.0 - 1 Minor bug fix.
    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

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of falangel4 falangel4 Sep 15, 2014 at 10:34 UTC - 0 likes

    Amazing plugin! Works perfect and lightweight! Been running it on 1.7 and now on 1.8 - staying strong!

    Small World

    http://i.imgur.com/f3AQzGt.gif
    [Factions] [PvP] [Spawners] [Raiding] [ObbyDestoryer] [Econ] [Auctions]
    Check us out at : http://Small-World.enjin.com/
    Server IP : SmallWorld.CodingTheWorld.com
    http://assets.enjin.com/wall_embed_images/1397630560_dirt.png

  • Avatar of williamsbuilder williamsbuilder Jul 10, 2014 at 04:41 UTC - 0 likes

    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

  • Avatar of Supavitax Supavitax Jun 28, 2014 at 16:28 UTC - 0 likes

    @DomBroo98: Go

    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.

  • Avatar of DomBroo98 DomBroo98 Jun 28, 2014 at 11:30 UTC - 0 likes

    Does this plugin include a option to differ the range of the /wnear?

    Such as 100 blocks, 300 blocks, 500 blocks for different ranks?

  • Avatar of TheChiz TheChiz Mar 21, 2014 at 20:52 UTC - 0 likes

    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!

  • Avatar of Supavitax Supavitax Jan 09, 2014 at 18:18 UTC - 0 likes

    @BlackFing85: Go

    Yes v1.0 added your request if that's what you mean.

  • Avatar of BlackFing85 BlackFing85 Jan 09, 2014 at 17:43 UTC - 0 likes

    @Supavitax: Go

    What's the update number v1.0? And thank you so much!!

  • Avatar of Supavitax Supavitax Dec 30, 2013 at 16:49 UTC - 0 likes

    @BlackFing85: Go

    Just added your feature request and I've uploaded it so give it a day or 2 and it will be available to download.

  • Avatar of Supavitax Supavitax Dec 28, 2013 at 22:53 UTC - 0 likes

    @BlackFing85: Go

    I'll add this in the next update.

  • Avatar of BlackFing85 BlackFing85 Dec 20, 2013 at 06:44 UTC - 1 like

    @Supavitax: Go

    Can you add a cooldown? It would be an amazing donation perk if you added a cooldown for the command! Thanks!

    Last edited Dec 20, 2013 by BlackFing85

Facts

Date created
Oct 05, 2013
Categories
Last update
Dec 30, 2013
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
WhosNearMe
Downloads
1,206
Recent files

Authors