Locations of a player

Discussion in 'Plugin Development' started by Candle is taken :I, Jul 10, 2015.

Thread Status:
Not open for further replies.
  1. Hey guys, I'm making a plugin and I need some way to find where a player was standing a few seconds ago. Is there any way to do this?
  2. Offline

    timtower Administrator Administrator Moderator

  3. @timtower
    Ah, then is it possible to define a certain block and use it later?
  4. Offline

    timtower Administrator Administrator Moderator

    @Candle is taken :I I assume that you know how to set variables and use hashmaps. So that question wouldn't be fully needed.
  5. @timtower
    Dude, what's your deal.

    It's not just this it's literally every interaction I've had with you. You drag it on for a bit and farm a few posts then you just stop when we get to a java question and refuse to help me.
    Like obviously I don't know how to do this if I'm asking about it so you can stop acting like you're the keeper of the great and holy java language and maybe help players for once which is the whole purpose of this forum.
    Last edited by a moderator: Jul 10, 2015
  6. Offline


    @Candle is taken :I He basically told you how to do it, you could use a hashmap, which can store the block and the location of it. It can also store players too.

    But you don't have to be rude and disrespectful. And who are you to judge him, saying that he doesn't help players. Trust me, he has helped a lot more than you will ever imagine.
  7. @Denziz I am just starting out, I haven't figured out hashmaps yet.
    Earlier I had a situation similar to this one, and once I resolved my issue he forced me to keep my code available for anyone to take, which a friend of mine took advantage of.
  8. Offline


    @Candle is taken :I

    The point is that these are BUKKIT forums, not JAVA forums, if you have a question related to Java, take the question somewhere where it is relevant. Java questions are demonstrably off-topic for this message board.

    Java questions should be directed at:

    The Java™ Tutorials

    Also, we don't hide code here. You don't ask for help with your code and delete it. Don't you think that's even in the least bit selfish? Someone else may have the same question, and since these forums are indexed by Google, that saves us a lot of unnecessary threads. And trust me, nobody wants to steal your code.

    Not even to mention that by posting your code here one could make a reasonable case that your code no longer belongs to you, but is part of the public domain, so you legally no longer have a right to ownership of your code.
  9. Offline


    You can locate the player different ways, you don't have to use hashmap.
Thread Status:
Not open for further replies.

Share This Page