SpectatorPlus
SpectatorPlus by pgmann and AmauryPi
About · Commands & Permissions · Setup · Changelog · Source
Only builds coloured in green have been approved by the BukkitDev staff. Use development builds at your own risk.
What does it do?
Ever got bored standing behind a wall of glass waiting for the next game to start? Or if you're a server owner, do you dread the question "Can I have creative so I can spectate?"
Yep, I've been there too. That's why I made this plugin! When you die and are out of the game, just do /spec on and you will be given flight and a window will open letting you teleport to other players still in the game. But here's the great bit! Players still in the game can't see you, and you can't interact with the world (cause damage, break or place blocks, etc). When you're finished just do /spec off to be teleported back to spawn. Simple!
Any requirements?
If you don't have a plugin with a /spawn command on your server, you need to set up a spectator lobby to make sure players are teleported back to spawn afterwards (see setup section).
Can I get development builds?
DISCLAIMER: Development builds of this project can be acquired at the provided continuous integration server. They have not been approved by the BukkitDev staff. Use them at your own risk.
Get the latest jar files from Github/Jenkins: [ Github Stable | Dev Builds (Github CI) ] [ All releases ]
Could you please add the possibility to set a delay on /spec on ?? Like the player types /spec on, and the have to stand still for 5 seconds before he/she has spec enabled. (Just like essentials teleport coolsown). I need this so players can't escape instantly som pvp just by typing /spec on.
What other plugins are you running with this?
[10:43:51] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to SpectatorPlus v1.8 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.PlayerList.c(PlayerList.java:225) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.PlayerList.a(PlayerList.java:116) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.LoginListener.c(LoginListener.java:78) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.LoginListener.a(LoginListener.java:42) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:149) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] Caused by: java.lang.IllegalStateException: Cannot set scoreboard for invalid CraftPlayer at org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer.setScoreboard(CraftPlayer.java:1187) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] at com.pgcraft.spectatorplus.SpectateListener.onPlayerJoin(SpectateListener.java:47) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_55] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_55] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks] ... 14 more
Version S1.9 has been submitted for approval by BukkitDev staff. Sorry for the wait!
@Egul1210
If you can only have a certain number of players in a world, then yes, it would cause problems. However, if you meant just the number of players playing a minigame, then no, it wouldn't affect that.
Does this effect world player limits? Say I have a map with 4/4 players in it, and someone joins to spectate. Will that cause a problem?
@Geoneo97
Hi, yes. I'll add those things when the next release comes out.
EPIC PLUGIN
But can you add a option to edit the name of the Compass, The Chat Messages and the Container Name of the Teleport ? That would be awesome sry for my bad english ;) im german
thanks
@DahDuff
Hi, I'm working with @Justdoitjafri on that plugin. An early alpha is available on its BukkitDev page here, if you'd like to test it!
@Justdoitjafri
If you ever get your hands on these plugins I'd appreciate it if you could link me a copy :)
Do you understand what I need tho? Like exactly in the vid? Because I need it like that. Can you explin to me what your going to do just to mke sure you got it all? its really important to me.
@Justdoitjafri
Yes, I don't think they'll be too hard. I could make them pretty easily! And I can probably make the deadline of June too.
What about the 2 plugins i requested for u to do? Can you do them like after exams becuae improbaly hosting it sometime in June or after. Thanks
@Justdoitjafri
Hi there, sorry for not replying. I actually have a development version lying on my pc waiting forbme to finish which has the relog issue fixed. Unfortunately, exams are in about 3 weeks... so I'm pretty busy at the moment! Don't worry, I'll still continue development, just taking a break til after that. Thank you for your patience!
Also I need the next version of the spector where they logout and in. Thanks
hhgg
hhgg
@Justdoitjafri
Sorry, I've been pretty busy recently. I do computer science in school so I've been doing a lot of work for that, so this has been put to the side for a bit. Don't worry, I'm still working on it, it's just a bit slower. I'd estimate I'm halfway through the list of things I want to add in the next version.
whens the next version coming out?
Cool man thanks!