Compass trackers

Discussion in 'Plugin Requests' started by CryoCrafter, Aug 24, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    CryoCrafter

    Name: Player Tracker

    What I want: A plugin that makes any compass point to the nearest player (not the one holding it) and showing the name and distance in the item name of the compass, NOT the hotbar please as I am using that for something else

    The compass should not track players in a specific region, defineable in config with these options:

    notrackxyz1: (X1),(Y1),(Z1)
    notrackxyz2: (X2),(Y2),(Z2)

    Additionally, there should be a format of how the item name is going to look like, with the variables %DISTANCE% and %PLAYER% supporting color codes

    trackitemnameformat: &3Tracking: &7%PLAYER% &8(%DISTANCE%)
     
  2. Offline

    RussianWaffles

    If you could please tell us what version you would like it in.
     
  3. Offline

    CryoCrafter

    Please do it for Minecraft 1.14.3
     
  4. Offline

    CryoCrafter

  5. Offline

    CryoCrafter

  6. Offline

    CryoCrafter

    Bumpyrrrrr
     
  7. Offline

    CryoCrafter

  8. Offline

    Matroxko

    Im working on it, but i need few thing from you. What if there is only 1 player online? and what should trigger update for the tracker? If player moves or it should be updated every x ticks?
     
  9. Offline

    CryoCrafter

    The compass should rotate if theres nobody online and display a different configurable message in the item name
    noplayeronlinemessage: ""

    It should update every configurable amount of ticks, if you cant do it, use 20 ticks
     
    Matroxko likes this.
  10. Offline

    Matroxko

    Okay im on it :)
     
  11. Offline

    wand555

    This results in constant flickering because inventory is always updated
    (skip to 0:40 directly, couldnt be bothered to cut)
     
  12. Offline

    Matroxko

    Last edited: Aug 31, 2019
  13. Offline

    wand555

    @Matroxko
    Downloaded your plugin out of curiosity how you addressed the issue, but it doesn't seem to work for me (compass direction and name display)
     
  14. Offline

    Matroxko

    is there any error in console?

    I think i know what was your problem. The runnable is started when player joins the server so it didnt work because you probably didnt reconnect. I edited it so now it will work every time. So here is the newer version: [Old link]

    [Edit] New version: https://www.dropbox.com/s/ysk032w6kdmez4j/CompassTracker.jar?dl=0

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited: Aug 31, 2019
  15. Offline

    wand555

    It still says that it isn't tracking anyone. No exceptions appear in the console.
     
  16. Offline

    CryoCrafter

    So the plugin is working now, but if I join with my alt, only one compass points in the right direction. Can you fix that? Im testing it with another person now
     
  17. Offline

    wand555

  18. Offline

    CryoCrafter

    Thats jsut the same result and I dont like the distance with a number after the comma, because its always .0
    So it jsut doens tpoint at my alt account
     
  19. Offline

    wand555

    Did you make sure to delete the other plugin first?
     
  20. Offline

    CryoCrafter

    Yes of course
     
  21. Offline

    wand555

    As far as I can tell, this could be a client issue. Try having a player circling around around another player who has a compass and see if the compass changes it needle like it should.
     
  22. Offline

    CryoCrafter

    I now have another person online and it still doenst point correctly

    [ upload_2019-9-1_15-34-11.png

    EXTREMELY weirdly enough, it only works in thirdperson
     
    Last edited by a moderator: Sep 1, 2019
  23. Offline

    wand555

    Hm thats weird. But if the name of the compass displays the correct player name, nothing should be wrong. Though, I have no idea how the method setCompassTarget(Location) is written, so no clue on my behalf.
     
  24. Offline

    CryoCrafter

Thread Status:
Not open for further replies.

Share This Page