Mineuniverse
Log in Register
Plugins

Spectator

Spectator
by _ForgeUser8684276
Download Claim this project
5,981 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Developer Tools

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);
	}
Spectator [1.6.2]
MC CB 1.6.2-R0.1
Release 2013-09-04 Get
Spectator
MC CB 1.4.7-R1.0
Release 2013-03-11 Get

More from _ForgeUser8684276

Weed Reloaded
9,077
PvP Modes
5,936
XpConvert
2,758
GrabHook
2,467
HomeMarker
2,423
SuperTab
20,561

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945