[MECH/MISC] ComPassionate v2.6 - Expand your compass' features and navigation! [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by DrBoweNur, Aug 22, 2011.

  1. Offline


    ComPassionate - The ultimate tool-set for your players' compasses!
    Version: v2.6
    BukkitDev: ComPassionate v2.6

    ComPassionate v2.6

    Quick video showcasing ComPassionate:
    (This video is fairly outdated, be sure to read the updated features)

    Ever wondered why Notch took the time to add the compass, and then destroyed its use by the creation of beds? If so, then you've been wondering the same thing as me.

    ComPassionate was my very first Bukkit plugin. Because of this, there were lots of issues with it. In order to see how far I've actually come from day one, I decided to completely revamp this plugin to suit my satisfaction. This plugin is the ultimate tool-set for compasses, allowing the tracking (and saving) of several waypoints in addition to the tracking of mobs and players. Not good enough? Tell me what else this should do, and I'll look into it ASAP!

    • Currently 4 Unique Compass Modes to make your compass experience more enjoyable and practical!
    • Completely internal control (no commands if you so desire, simply left/right click!)
    • Mob Tracker (Compass Mode) Read further down to find out more!
    • Player Tracker (Compass Mode) Read further down to find out more!
    • Waypoint Tracker (Compass Mode) Read further down to find out more!
    • (NEW) Grave Tracker (Compass Mode) Read further down to find out more!
    • BukkitPerms support (NEW) and option to disable permissions all together
    • (NEW) Ability to choose whether or not players who die with a compass will spawn with a compass (Makes Grave Tracker useful)
    • More Configuration
    • Complete set of user-friendly commands

    There are 3 'base' aliases for the ComPassionate commands: /compassionate, /compass, and /cp
    • /cp help - Tells you everything you need to know.
    • /cp locate <waypointName> - Targets the named waypoint
    • /cp waypoint list - Lists all of your waypoints
    • /cp newwaypoint <name> - Creates a new waypoint with <name> at current location
    • /cp info <waypointName> - Tells you the coordinates and info of a certain waypoint
    • /cp setinfo <waypointName> <info...> - Allows you to set a generic description for a waypoint
    • /cp remove <waypointName> - Removes a waypoint from your current list
    • /cp mode help - lists a separate help section for compass modes
    • /cp locateplayer <playerName> - Locates the selected player
    • /cp share <waypointName> <playerName> - Sends a waypoint to another player
    • /cp toggle - Toggles the entire ComPassionate feature set, on/off
    Permissions : (open)

    - 'compassionate.waypoint' - Allows the use of the Waypoint Compass mode (and commands)
    - 'compassionate.mob' - Allows use of the Mob-Tracker Compass mode
    - 'compassionate.player' - Allows use of the Player-Tracker Compass mode
    - 'compassionate.locateplayer' - Allows use of /cp locate <playerName>
    - (NEW) 'compassionate.grave' - Allows use of Grave Tracker Compass mode
    - (NEW) 'compassionate.untrackable' - Players with this node will be hidden from the PlayerTracker


    **To cycle through each compass mode, right-click with a compass in your hand!

    Compass Mode: Waypoint Tracker
    Show Spoiler

    The Waypoint Tracker is what I consider the premier feature of ComPassionate 2.0. It allows players to create lists of waypoints that can be seamlessly targetted by their compass, in addition to allowing descriptions of each waypoint to be made (so they aren't confused by similar entries)
    • Left-Click: Cycles through the player's current list of waypoints
    • Shift-Left-Click: Sets a waypoint to the player's current location, and prompts them for a name and description
    • Shift-Right-Click: Tells you which waypoint you're tracking

    Compass Mode: Mob Tracker
    Show Spoiler

    The Mob Tracker mode will essentially scan an area around you (configurable) for mobs, select a mob at random, tell you what type of mob it is, and set your compass to follow that mob. Every 5 seconds, the compass will update to the mob's new location. If the mob dies, or you go too far away, it will drop the target. Players have the option to remove certain mobs from the cycle.
    • Left-Click: Tracks a random mob in a configurable vicinity
    • Shift-Left-Click: Will 'ignore' the mob for future trackings. This is useful for only searching for a specific type of mob in an area.
    • Shift-Right-Click: Tells you which mob you're tracking

    Compass Mode: Player Tracker
    Show Spoiler

    The Player Tracker mode is extremly similar to the Mob Tracker mode, except it will scan players instead of mobs. For this reason, I'm not really going to give much use info for it. All the steps for the mob scanner, are the same for this. (Just pretend each 'mob' is replaced with 'player')

    (NEW) Compass Mode: Grave Tracker
    Show Spoiler

    The Grave Tracker mode allows players to keep track of the last place they died. This can be useful for going to retrieve items after a nasty fall, creeper encounter, or dance with cave spiders. It also persists through reloads, so if the server shuts off unexpectedly, you can find your items when it's back up.
    • Left-Click: Locate your last known death location
    • Shift-Left-Click: (none)
    • Shift-Right-Click: (none)

    Known Issues:
    - None thus far.

    Please give me:
    • Your Bukkit Build #
    • The stack-trace (if there is one) [error log]
    • The version of this plugin that you're using.
    • Any additional information that you can muster up.
    Show Spoiler

    • BukkitPerms support
    • Global Waypoints (so admins can create a list of 'places to see', or do treasure hunts)
    • Make it so that commands can fully handle compass modes, if people so desire.


    Have something you want added that's compass related? Let me know, and I'll be glad to give it a shot! Just post your request here in this thread, on BukkitDev, or PM me!

    The Project Page at BukkitDev:

    Version 2.6
    • Updated plugin to run on the current Bukkit build
    • Fixed the issue where config files wouldn't initialize themselves for new users
    • Cleaned up and modified the formatting of some commands
    • /cp info <waypointName> now shows the coordinates of the waypoint along with the description
    Version 2.5.3
    • Fixed an NPE when the player respawns. This is not a critical update, as the NPE did nothing more than clog the server-log. Still encouraged, however.
    Older Changelogs:
    Show Spoiler

    Version 2.5.2
    • Fixed an NPE with the new 'compassionate.untrackable' feature
    • /cp locate now sets your Compass Mode to Node Tracker
    Version 2.5.1
    • Minor bug fixes, nothing to document really
    Version 2.5
    • Updated to be compatible with R5 and up
    • Added 'compassionate.untrackable' to hide players from PlayerTracker
    • Added /cp toggle, allows to turn off all features of ComPassionate (and then turn them on again)
    Version 2.4
    • Added an option for spawning with a compass (provided the given player died with a compass). This makes Grave Tracker much more useful. Also made sure to prevent any duplication (if they die with a compass they don't drop it when they spawn with one)
    Version 2.3.1
    • Added new config option 'Enable-Permissions'. Setting this to 'false' will allow everyone to use every mode (This is for servers with no permission plugins)
    Version 2.3
    • Added new Compass Mode: Grave Tracker
    • New permission node 'compassionate.grave'
    Version 2.2
    • Added /cp share <waypointName> <playerName>
    • Added notification message after setting the info for a waypoint
    • Fixed a few NPE's that may/may not have been noticed
    Version 2.1
    • Added /cp locateplayer <playerName> (Permission: compassionate.locateplayer)
    • Added /cp remove <waypointName> (For removing waypoints from list)
    • Changed waypoint creation so that it won't allow duplicate entries
    • A bit of command tidying up
    • Perms3 dropped in favor of BukkitPerms
    Version 2.0.1
    • Fixed a few NPE errors that I completely forgot to check for.
    • Removed a debug message that I left in on mistake.
    Version 2.0 (8/23)

    • Completely re-designed the plugin from top to bottom. Re-released due to major differences.
    • Massive code refractoring (Almost nothing from the original plugin exists)
    • Mob/Player Tracker now auto-update the target's position
    • Completely new command interface
    • Waypoints that can be saved, named, described, and cycled through
    • You can now 'forget' mobs in Mob Tracker, so you dont pick up the same one over and over again
    • Seriously. The new waypoints actually work this time :)
    Version 0.2.4 (6/24)
    • Bounty Hunter no longer tracks NPCs (if using Citizens plugin)
    • Node Tracker now has the feature to Shift-Left Click in order to update to your most recent node (a feature it SHOULDhave had before, but wasn't properly implemented in the coding!)
      • To elaborate further, the only way to 'update' your compass target before, was to switch all the way around until you hit Node Tracker again, which updates to the node by default. Now, you can simply shift-left click in order to do this!
    • Any and all NPE's have been fixed. Go ahead. Try to get some spammed. I dare ya'. (But seriously, I *think* I got rid of them all with a little code re-working, let me know if it works or not ;) )
    • Players are now loaded into the Compass Database via logging in, as opposed to their first 'right-click' (this is what was causing NPEs before)
    Version 0.2.3

    • Bug fix to multiple unforseen issues with Mob Scanner and Bounty Hunter
    • Added new Compass Mode (Bounty Hunter)
    • Additional code clean-up (not much)
    • Basis for permission's support (not implemented, but should be in 0.2.5)
    Version 0.2

    • Improved Compass Mode toggling
    • Added new Compass Mode (MobScanner)
    • Added new command /mobscanner (I'm aware that it should be branched off of /compassionate, fixing later ;)
    • Improved overall message display, to make things clearer and neater
    Version 0.1.1

    • Added command /compassionate
    • Added ability to cycle through spawn and the player's waypoint/node
    Version 0.1

    • Releasing ComPassionate to the public

    Also, I'd like it known up front that I have done no testing with a live server, so I haven't tested with multiple players. I'm fairly sure that this plugin should work with several players, but there is a slight chance that I may have overlooked an area or two. Let me know how it goes.

    EDIT: Uploading video now

    EDIT2: Done.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
    EdenCampo likes this.
  2. Offline


    Yay! First post... from someone other than the OP. I'll be downloading this and putting it on my server. Yay for permissions support!
  3. Offline


    Let me know if all goes well. I added some last minute changes pretty sloppily, but it should be fine. *Should* being the key word.
  4. Offline


    Your Bukkit Build # 1060

    The stack-trace
    Show Spoiler

    2011-08-27 11:07:13 [INFO] [ComPassionate] Player Database created successfully
    2011-08-27 11:07:13 [SEVERE] java.io.EOFException
    2011-08-27 11:07:13 [SEVERE] at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
    2011-08-27 11:07:13 [SEVERE] at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source)
    2011-08-27 11:07:13 [SEVERE] at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
    2011-08-27 11:07:13 [SEVERE] at java.io.ObjectInputStream.<init>(Unknown Source)
    2011-08-27 11:07:13 [SEVERE] at me.DrBoweNur.ComPassionate.SLAPI.load(SLAPI.java:25)
    2011-08-27 11:07:13 [SEVERE] at me.DrBoweNur.ComPassionate.ComPassionate.onEnable(ComPassionate.java:73)
    2011-08-27 11:07:13 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-08-27 11:07:13 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    2011-08-27 11:07:13 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-08-27 11:07:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    2011-08-27 11:07:13 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    2011-08-27 11:07:13 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    2011-08-27 11:07:13 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    2011-08-27 11:07:13 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-08-27 11:07:13 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-08-27 11:07:13 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-27 11:07:13 [INFO] Found and will use plugin Permissions v3.1.6
    2011-08-27 11:07:13 [INFO] [ComPassionate] version2.0 enabled

    The version of this plugin that you're using. V2.0.1

    Any additional information that you can muster up. - This is the same error i got with Zombiecraft. I will save you the headache and only post it here
  5. Offline


    I'm assuming this was upon the very first loading of the plugin, correct? The problem is that its trying to grab saved files from a folder that doesn't exist yet. In theory, this error should only be thrown on the very first start-up, and shouldn't occur ever again (unless you delete the .bin files)
  6. Offline


    Cool to see 2.0!
  7. Offline


    Excellent plugin. Working well so far. One request.

    I'd like to see the ability to search for players using the player tracker via command.
    /cp locate <playername>
    like the way waypoints work.

  8. Offline


    Will do. Would you like a separate permission node for it, or do you want the general compassionate.player to encompass (no pun intended) that?
  9. Offline


    It doesn't matter to me but for practical use the permission node would probably be helpful to people who don't want everyone to be able to use it. Is there any way to remove a waypoint from your list? If not, that would also be nice.
  10. Offline


    Wow, I can't believe I forgot to add removal before release. ._.

    Alright, I'll add both of those. I should be able to push it out in 30mins or less :)
  11. Offline


    Sorry to overly spam your thread here, but I just thought of something else. It would be cool if you could set an auto tracker mode where it updates your target every certain amount of configurable seconds. So for mobs primarily this would be useful. You would not have to click to find a new mob, it would instead be sort of an auto mob finder. This isn't necessary and I'm probably getting ahead of myself, but suggestions are suggestions I suppose.

    My girlfriend also requested the ability to search for only a specific mob via command. (she's cow hunting) I know you can do it already by shift clicking or whatever but a command would be more practical in my opinion as well.

    I don't know if it's supposed to work this way, but after switching to a bunch of different mobs, when they die I get spammed with each one instead of just the one I was targeting at that time.

    Actually I'm getting spammed non stop that my target is dead now. I did left click a lot though, but it doesn't seem like it's stopping.

    It stopped, so it doesn't go on forever. lol

    Also thanks for the quick replies, I appreciate it.
  12. Offline


    I'll see about adding all of those. It'll take a bit longer than I though, as I'm busy with a few projects.
  13. Offline


    That's fine, no hurry. :D
  14. Offline


    Thanks for making this great plugin! I'd also like the ability to remove waypoints. Also, I'm using a chat plugin with prefixes, and ending up with waypoint names like this when I shift-left click: [VIP]teegee543 !cancel

    Could you address these quirks? Thanks!
  15. Offline


    Would love to know about any updates to this project.
  16. Offline


    Since SpoutCraft isn't up for 1.0.0, I decided to go back and do a few updates on this plugin:

    Version 2.1
    • Added /cp locateplayer <playerName> (Permission: compassionate.locateplayer)
    • Added /cp remove <waypointName> (For removing waypoints from list)
    • Changed waypoint creation so that it won't allow duplicate entries
    • A bit of command tidying up
    • Perms3 dropped in favor of BukkitPerms
    • Updated for 1337 (and technically the 1.0.0 Bukkit build out now)
  17. Offline


    This is awesome! Just discovered this plugin.

    Would it be possible to have a sort of "track treasure" feature? Like seeks nearest chests? (People often search for them in abandoned mines/Mossy cobble stone rooms, since that is the main way to get music discs and Mossy stone). Maybe even ore deposits? (Maybe to rare ore like Gold/Dia/Lapis)
  18. Offline


    Little OT, but what's the minimap shown in your video?
  19. Offline


    That actually would be relatively easy to do, I believe. I'll see if I have enough time to look into that today.

    That was Zan's Minimap, but the video was taken a long time ago (so I'm not sure if it is still working)

    Also, would anyone like the feature to share waypoints with people?
    For example:
    /cp share MySecretBase Bob123 would send the waypoint "MySecretBase" and its coordinates to Bob123? Seems like it might be a neat feature for friends trying to meet up.
  20. Offline


    Having problems with the Shift + Click commands, they don't seem to be working.

    I'm using CraftBukkit #1488, and version 2.1 of this plugin. No stack trace.
  21. Offline


    Well, it's not really "Shift Click" more so than it's "Crouch Click"

    So whatever key you have crouch bound to is what you'd want to hold down for the Shift-Click features.
    Let me hop in game and see if there's an issue with them, though.

    Everything seems to be working on my end. Let me know if the Crouch suggestion didn't work.
  22. Offline


    Yeah, works great! Thanks for the tip, and for the great plugin!
  23. Offline


    Wow, this is pretty sick!
  24. Offline


    Glad you like it! I figured that with the introduction of SpoutCraft, and the lack of mini-map mods (although @codename_B is pretty close to getting one out for it), that a plugin with waypoint-tracking would be useful. The mob/player scanning are just an added bonus :p
  25. Offline


    DrBowe likes this.
  26. Offline


    Love it. Glad to see that you're still making great reviews.
    If I ever finish it, maybe you'll get a chance to review DeadMines (which should be a bit more interesting than a drab compass plugin :p )

    For everyone else, Version 2.2 is out. It's not a critical update, it just includes the ability to share waypoints with other players, and a few bug fixes that may/may not have been noticed
  27. Offline


    Could you add a new mode that points to where you last died? I think that would be really useful to my players.
  28. Offline


    Sounds good to me. I'll try to get out a version that allows this today.


    Version 2.3 is out!
    • New Compass Mode: Grave Tracker
    • New permission node 'compassionate.grave'

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  29. Offline


    Was quick mate, will feature in my weekly update in a few days time :)
  30. Offline


    Wow, thanks! That was fast!

Share This Page