Compass shows nearest player

Discussion in 'Archived: Plugin Requests' started by Nokoa, May 21, 2014.

  1. Offline

    Nokoa

    Plugin category: I don't know where this should go in

    Suggested name: Nearest Player Compass

    What I want: Compass will display nearest player, point to location of the nearest player and will display it like in the picture below, no pressing is necessary to see that info it updates automatically.

    [​IMG]

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: None

    When I'd like it by: By June 30th
     
  2. Offline

    CrazymanJR

    Nokoa
    i don't like copying ideas from servers. The reason why they make the plugin is for it to be custom and unique to there server. So i'm not going to make this plugin.
     
  3. Offline

    Nokoa

    This is not meant to be copied I plan to use this in totally different idea.... I don't like to copy either, but everything I want seems to already exist somewhere else, and it's kind of impossible to come up with an idea that someone else didn't think of before. I am just using this as an example for what I want, I want to use this for a special, original mini game I am planning. I totally respect other server who create their own plugins, and I understand if you don't want to code it for those reason, but if you ever change your mind I will be very happy to have you code this.

    Nokoa
     
  4. Interesting although some servers already have it, I'd be willing to try my hand at it if you would like. Maybe add my own twist on it.
     
  5. Offline

    danieltabrizian

    Last edited by a moderator: Jun 8, 2016
  6. Offline

    Nokoa

  7. Offline

    danieltabrizian

    Nokoa likes this.
  8. Offline

    Nokoa

  9. Offline

    Garris0n

    timtower likes this.
  10. Offline

    danieltabrizian

    Garris0n yes it does? doesnt it? if it doesnt i am in big trouble i used the same code in more than 10 plugins, Sh*T

    i just removed the project screw it it dont feel like changin anything
     
  11. Offline

    timtower Administrator Administrator Moderator

    danieltabrizian You are just looping through the players, you don't check the distance between them
     
  12. Offline

    danieltabrizian

    timtower i noticed, i can change it with just, .getDistance(loc) but i dont feel like doing it as the project doesnt wanna get approved becuz its so simple
     
  13. Offline

    guyag

  14. Offline

    Nokoa

    Please fix it :)
     
  15. Offline

    Garris0n

    danieltabrizian You should use distanceSquared (especially if you're doing it every single time the player moves) because it's far more efficient and the exact distance is not necessary for comparison. Also, then you'll just have to wait twice as long for another file to be approved...
     
  16. Offline

    danieltabrizian

    Garris0n this is not for this project i abandoned this one i have the same code over at the "bounty" plugin
    that also uses this same mechanic
     
  17. Offline

    Nokoa

    Thank you, I forgot to say thank you how rude of me. :)
     

Share This Page