[INACTIVE][MECH] FindMe v1.2.4 - Fun with your compass [406]

Discussion in 'Inactive/Unsupported Plugins' started by Nodren, Jan 20, 2011.

  1. Offline

    Nodren

    FindMe - Fun with your compass
    Version: v1.2.4

    Quick Links:
    Ever get tired of tping users to other users, and don't wish to give them that kind of power because you want to keep things vanilla? well here's your solution! FindMe will re point a users compass to any user of their choosing!


    Features:
    • /find player <player> - Point your compass to a player
    • /find reset - Reset it back to spawn
    • /find hideme - Hide yourself from others finding you
    • Utilize my plugin for custom /find calls to other locations from your plugin(warps, homes, etc) see below for details
    • Permissions support, these are the permission nodes:
      Code:
      findme.find.reset - /find reset
          findme.find.hideme - /find hideme
          findme.find.player - /find player <name>
          findme.find.custom - any custom call to my plugin
    How to use my plugin's API:
    Code:
    Plugin plugin = getServer().getPluginManager().getPlugin("FindMe");
            if (plugin != null)
            {
                Location someLocation;
                FindMe findMe = (FindMe) plugin;
                findMe.addCustomCall("some string", someLocation);
            }
    then your users can type /find some string and have their compass point at someLocation


    Changelog:
    Version 1.2.4
    • Updated for compatibility with latest Bukkit
    Version 1.2.3
    • small bug fixes
    Version 1.2.2
    • some small fixes
    Version 1.2.1
    • fixed a bug with Permissions, should work now
    Version 1.2
    • now uses Permissions plugin
    • fixed bugs with hideme
    • exposed commands for other plugins to utilize /find
    Version 1.1
    You can also check out TheBeefiest's plugin which has more compass style actions
     
    hash likes this.
  2. Offline

    Nodren

    /find <playername> doesnt work, only /find player <playername> does. but the bug you reported was very real, and has been fixed. Thanks!
     
  3. Offline

    Trinsec

    I just installed this plugin and wanted to do a /find player <playername> where <playername> is one of the buddies on my server. The moment I did this, though, I got crashed out of the game. The error displayed in console is:
    Code:
    2011-01-24 06:50:45 [WARNING] Failed to handle packet: java.lang.NullPointerException
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.permission(Control.java:130)
            at com.echo28.bukkit.findme.FindMe.check(FindMe.java:71)
            at com.echo28.bukkit.findme.FindMe.onCommand(FindMe.java:84)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:17)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:84)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:157)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:541)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    Doing /find reset has the same as result. Little bug or something wrong on my side?
     
  4. Offline

    Tott3

    Cool idea =D I like it ^^
     
  5. Offline

    l5p4ngl312

    Request: Make it so players can create "findpoints" and then /find location findpoint
    Also, make it so they can privatize the location so that other people can't point their compass to it.
     
  6. Offline

    Nodren

    If there's a plugin out there for personal warps, you can ask that author to optionally add support for mine(it's detailed how to do so in the first post) and you can get this exact same functionality.
    --- merged: Jan 24, 2011 4:19 PM ---
    Make sure you're on the latest version of permissions. I already know i'm out of date so I'm going to test/update against the latest and get back to you if the problem exists on my end
     
  7. Offline

    Trinsec

    Can the Permissions plugin be made optional for those who aren't really interested in it? But I'll update it soon. I just don't /use/ it so far, it's just hanging around on my server. :p
     
  8. Offline

    Nodren

    Permissions is optional, delete it from your plugins folder, and my plugin will work as advertised(except it won't stop anyone from using the commands)
     
  9. Offline

    Trinsec

    Cool, thanks. Removed Permissions for now and it works. :)
    In case there's another plugin needing Permissions around, can't you make it an opt-out feature in a config file so it won't be used for FindMe? Just an idea.
     
  10. Offline

    Nodren

    Good idea, but I think i'll wait. Bukkit is expected to have built in permissions here really soon, which will closely match what the Permissions plugin currently is, once that happens i'll drop permissions support in favor of the built in bukkit style, and this problem wont exist(or require a configuration setting to fix) anymore.
    --- merged: Jan 24, 2011 6:21 PM ---
    I also tested against the latest Permissions and it works as advertised.
     
  11. Offline

    Trinsec

    Understandable. That's also the reason I try to avoid needing to use Permissions.
     
  12. Offline

    l5p4ngl312

    Thanks I did that. Hoping for MyWarp support!

    EDIT: And.... the dev said this:
    @l5p4ngl312 : The FindMe plugin just uses part of the Bukkit API to do that. I could build what you're asking for in without having that dependency (similar to how MyHome does it). So I can add in a /warp point <name> and that'll do what you're asking for :)
     
  13. Offline

    Nodren

    implemented some small fixes
    --- merged: Feb 3, 2011 7:17 PM ---
    updated with some bug fixes
     
  14. Offline

    Arisilde

    Any chance you could build in Towny support, like an option that players can only /find people in the town they belong to? I can't program or I might try to do it myself with your API. I would be very appreciative :)
     
  15. Offline

    Nodren

    The API was built as a requested feature by another user so plugin devs can implement it if they chose. However, the fact is, support for pointing your compass at something else is a built in part of the Bukkit API. Towny can chose to utilize Bukkit's built in API or use my plugin's API. The problem with me supporting any one plugin is there are so many plugins that handle location based stuff, that it would be almost impossible to support them all.
     
  16. Offline

    Pluckerpluck

    If and when http://leaky.bukkit.org/issues/374 is implemented. Can you make it so that the compass resets back to what it was before? I can't use this because myHome makes the compass point home, but after using this plugin it'll revert to the spawn.

    Also, are you planning on ever making this much more complex (like auto updating location, search range). If not, would you object to me trying to create a plugin that does that (Might develop a race plugin actually......)? I've never made one before and I thought it would be a nice challenge.

    Edit: Also, looking at the source (as I haven't installed it due to the above reason) I think you should change the text to "Your compass is pointing to <Name>'s last know location".
     
  17. Offline

    Nodren

    Yes I can do that ill plan on it.
     
  18. Offline

    JJJ

    OK, not sure what my problem is. I updated to the latest Permissions plugin verison after reading your suggestion to the other guy with the same problem and seeing it worked for him. However, I still have this issue:
    I do a "/find player aquaria1" and it crashes my client, error log follows:

    Minecraft: Minecraft Beta 1.2_02
    OS: Windows XP (x86) version 5.1
    Java: 1.6.0_23, Sun Microsystems Inc.
    VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    OpenGL: GeForce 8600 GT/PCI/SSE2/3DNOW! version 2.1.2, NVIDIA Corporation

    java.lang.StringIndexOutOfBoundsException: String index out of range: 47
    at java.lang.String.charAt(Unknown Source)
    at nh.a(SourceFile:152)
    at nh.a(SourceFile:119)
    at pe.a(SourceFile:238)
    at SMGUI.a(SMGUI.java:68)
    at ll.b(SourceFile:346)
    at net.minecraft.client.Minecraft.run(SourceFile:668)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT c18e36f4 ----------

    --------------------

    Any ideas?
    --- merged: Feb 14, 2011 3:56 AM ---
    Please disregard, updated Findme plugin again, and everything works. Thank you.
     
  19. Offline

    Mercury

    FindMe Disconnects player on #323
     
  20. Offline

    Nodren

    i'll look into it
    --- merged: Feb 22, 2011 9:35 PM ---
    Updated for compatibility with latest Bukkit
     
  21. Offline

    Maskur

    Does this work with 493?
     
  22. Offline

    Nodren

    If you're asking, then I assume you tried and it didn't work? I'll look into it tomorrow.
     
  23. Offline

    Maskur

    Actually i was just looking for some new plugins and wasn't able to reboot the server because of ppl being only all the time. So i took the time to ask :)
    Already forgot about it o_o. I'll give it a shot tomorrow!
     
  24. Offline

    Bjourk

  25. Offline

    Bjourk

    Update?
     
  26. Offline

    wikee

    bump for an update !

    is there a similar plugin wich is working on bukkit 602+ ?
     
  27. Offline

    MacVaultDweller

    Please update
     
  28. Offline

    Bjourk

    Very, very inactive.
     
  29. Offline

    Krispy

    I would like to see this updated as well. Perhaps someone can fork source.
     

Share This Page