Plugin category: [MECH][FUN][RPG][VERY-USEFUL-FOR-MY-HUNGER-GAMES-SERVER] Suggested name: HideAndGoSeek, PeekaBOO, NoChildLeftBehind, or the generic- PlayerTracker A bit about me: I'm in the process of making a Hunger Games server (it is not publicly released yet because I need this request done). I seriously do not want people hiding way under dirt, or whatnot. This plugin would be very beneficial to my server. I would like the games to be shorter (by a lot). Many would be waiting. What I want: Instructions: Ideas for commands: None! Trying to make this as easy as possible. But I don't know if you need at least one command in the plugin.yml. If you do, make-up your own! Ideas for permissions: None! Trying to make this as easy as possible! I would request it to default to ALL inside the plugin.yml When I'd like it by: ASAP! This is a vital thing for our server! Similar plugin requests: This one. Devs who might be interested in this: @DrBowe who is very familiar in this tracking stuff from his plugin (I can't use it because I only need the player locator (not mob or node). Players will be very confused. DrBowe didn't respond to my request, so I have to post here.) Extras: For anyone who is interested in me (<3) or my server and could dedicate time to develope plugins for us, feel free to add me on skype - icheesiest DrBowe @ DrBowe DrBoweNur @ DrBoweNur I thinks this outta fix it. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I will do it I like easy plugins. zecheesy Could you add me on skype: josvth94 ? I have some questions for this plugin. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I can't start a PM conversation with you because you've blocked/hidden your profile. Anyway this was what I wanted to say: Hey zecheesy, I'm sorry for not responding! I left my skype running while I was away. Anyway I have a few questions for your PlayerTracker. At the moment this is what it does: - when a player rightclicks (the air) with a compass the player tracker starts searching for players in a 50 meter (configurable) radius. - when it hasn't found any players inside that radius it will give the following message: "[Hunger Games] No nearby players found!" and it will deactivate. - when it has found a player inside this radius it will give the following message: "[Hunger Games] Nearby player found! Tracking: " + nearestPlayer.getName() and it will activate. - once it found a player to track it will update his location every second (configurable) - if a player rightclicks his compass while tracking the tracker deactivates and the compass will point to the players spawn/worldspawn (as it normally does) Now my question. If the tracker is tracking a player that moves outside of the radius should the tracker be disabled or not? I probably have more questions but atm. I can't think of any.
Release this publicly please! Also make each compass different ... like maps or how bookworm does books. So each compass could be set to track a different player.
In my opinion, that could take up too many packets and work. There will be many errors, like the player logging out, the player getting killed, the player ect ect ect... Honestly, I think it should track only 1 player. Edit: If you wanted to have those things, why don't you create a new thread for Plugin Request?
Okay, it is done. I just needed that last information. You can download it here. Whoops, forgot to add a disconnect listener. Download this one. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
- Sorta works. Could you add the message saying who you tracked? And a message when you disable the compass tracker? You could use something like: [Hunger Games] Tracking (name). [Hunger Games] Tracker disabled. Code: 20:13:10 [SEVERE] Could not pass event PlayerInteractEvent to PlayerTracker org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:459) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:175) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:145) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:606) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:114) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftShee p cannot be cast to org.bukkit.entity.Player at me.Josvth.PlayerTracker.PlayerTracker.activateCompass(PlayerTracker.j ava:110) at me.Josvth.PlayerTracker.PlayerTracker.onCompassActivate(PlayerTracker .java:91) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:301) ... 12 more
This is awesome, thank you for this. Make a proper bukkitdev page with the plugin as I am sure more will be interested.
Haha, the error says it wants to convert a sheep to a player. Well that ain't working I shall fix it. Okay, I've fixed the problem! New download! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Now I know where all the stupid people come from. They are being converted from sheep to humans. No wonder.
Josvth Could you release the source? We could use it for a Harry Potter Magic Plugin spell, that would be amazing. You could help by giving Iron_Crystal the source
I think this plugin uses a lot of RAM.I had something similar to this in my plugin, but I removed the compass feature because of the RAM.
Did you compare the code or something? Because saying it uses a lot of RAM just because a similar plugin does doesn't make any sense.