Spectator
Informations
About
Spectator is a plugin, allows you to spectate other people in the first person view. You may also see their gamemode, hungerbar, healtbar and inventory of the player, you're spectating. Spectator also got an API for plugin developers which easily allows you to let people spectate other people.
Commands & Permissions
The two commands & permissions are:
/spectateon <player> <time> | spectate.on
/spectateoff | spectate.off
API
Here's a little guide how to use the included API for plugin developers:
1. Add Spectator.jar into your build path
2. Initialise the Specator plugin
3. Start coding! ;)
There are 3 methods included:
specateOn(Player p, Player t, int time) | p is the Player who will spectate target t. Time is the time, how long he'll spectate him.
spectateOff(Player p) | This will just turn off the spectatormode of player p
updatePlayer(Player t) | This will update the spectated player (target) for all spectators. Use this in the PlayerMoveEvent!
Here's a little example:
@EventHandler public void onDeath(PlayerDeathEvent event) { Player p = event.getEntity(); Player t = p.getKiller(); Spectator.spectateOn(p, t, 20); } @EventHandler public void onMove(PlayerMoveEvent event) { Player t = event.getPlayer(); Spectator.updatePlayer(t); }
-
View User Profile
-
Send Message
Posted Dec 23, 2014Idea:
Could you add that you can change the player you are spectating by doing Right or Left Click?
Update plugin to 1.7.2
-
View User Profile
-
Send Message
Posted Oct 12, 2013Greetings.
This is me presenting a problem with this plugin, since the install everything works fine, I put the time to spectate time I want the person but when the time is up gives me errors in console You know who this is?
-
View User Profile
-
Send Message
Posted Oct 2, 2013@nejcneo
yes, I'm working on this...
@michidk
thx
-
View User Profile
-
Send Message
Posted Sep 29, 2013very nice.. pleaz update
-
View User Profile
-
Send Message
Posted Sep 27, 2013If player leaves game you can move with his items and do stuff. Totally un-secure :)
-
View User Profile
-
Send Message
Posted Sep 26, 2013Hello,
I am trying to use this plugin inside my project, but when i load it in mc, im getting a class exception not found. I have added the jar, and imported in my class file. Can you let me know what i am missing?
Server is 1.5.2.
Thanks, Tom
-
View User Profile
-
Send Message
Posted Sep 18, 2013@ipate8
Something for developers
-
View User Profile
-
Send Message
Posted Sep 11, 2013whats a build path'
-
View User Profile
-
Send Message
Posted Sep 4, 2013Wow it was just yesterday I was looking at this. Thanks for updating.
-
View User Profile
-
Send Message
Posted Sep 4, 2013Good to see a plugin like this come back :) Very useful!
-
View User Profile
-
Send Message
Posted Sep 4, 2013@FusRoChris @Islid @blablubbabc
updated and fixed! file waiting for aproval
-
View User Profile
-
Send Message
Posted Jul 26, 2013@FusRoChris
with the new update I'll fix this!
@Islid
I'll update this plugin!
-
View User Profile
-
Send Message
Posted Jul 25, 2013Bit of a problem, I was spectating someone when they left and now I have there Inventory and I can't get mine back at all, any way to fix this? :/
-
View User Profile
-
Send Message
Posted Jul 3, 2013Just curious, but do you have any plans on updating this further throughout the newer versions of bukkit and Minecraft in general? I admit, I haven't had a chance to look at the plugin in action, but as with just about any plugin, there are the obvious concerns that the more out of date it is, the less likely it is to work without issue. Is there a reasonable expectation that the plugin will be updated whenever it's non-functional (not that it isn't functional now, just whenever that occurs) at some point in the near future?
Otherwise, this is precisely the plugin I've been looking for, for quite some time. A very useful tool to keep an eye on potential griefers and hackers without having to be around them in person all the time. :)
-
View User Profile
-
Send Message
Posted Jun 1, 2013Does this make the player also invisible in the tablist? Cause the plugin "Spectate" currently makes players also invisible in the tablist (because of how bukkits api for making players invisible works..), but my players then always know that I am spectating them.. :(
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Den_Abr
With the new version!
-
View User Profile
-
Send Message
Posted Apr 14, 2013Sources?
-
View User Profile
-
Send Message
Posted Mar 13, 2013@jacemac88
haha, thx :)
-
View User Profile
-
Send Message
Posted Mar 13, 2013i love this! i can't wait to try it... sadly i can't right now... but will do asap!