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 ]
@Justdoitjafri
Yes, sorry about that. Up till now I've tried to make sure players are always returned to normal on quit, but in this case I'll probably need to save a list of players who logged out as spectators. Should be pretty easy to do, next update (coming soon) will have it if all goes according to plan!
Hey what's up I'm back and heres a new problem.
When a person is killed he turns into a spectator. (All good). But the spectator leaves the server and comes back in, he is no longer a spectator and is now a player, even though he died. All he did was re-log and hes a player again. Can you fix this bug? HE CAN PUNCH PLAYERS and its annoying. Can you fix this, like when he leaves and comes back he is still a spectator. Thanks!
@WesterlyToast
If you're having problems with the scoreboard set colouredtablist to false in toggles.yml. That should fix the problem which occurred because the coloured tab list uses a new scoreboard.
@SuperiorCommander
Sorry about the delayed reply. I'm not sure about making it compatible, I'll see. I'll definately look to see what went wrong with that event, maybe make a toggle for it to turn it off. That should fix the problem, but creepers etc. will go after spectators then.
@KenMC35
Thanks for the positive feedback, it's always appreciated. Delighted to hear it's working as intended! Long may it continue!
Hey I am trying to use this for a UHC server, and it is interfering with the health monitor from Vanilla minecraft in the tab menu. It is phenomenal besides that. If you could fix that ten ouda ten
I'm going to use this plugin on my server. Keep up the good work!
@pgmann
Ok thank you so much! If you can. can you make it compatible with my other plugins?
@SuperiorCommander
Hello, sorry about that. The problem is most likely due to the entity targeting event, used to stop mobs targeting spectators. This problem didn't occur for me during testing so I think it might be a plugin conflict, probably with one of your NPC plugins. Not positive about that. I'll look into it for the next version.
Hello I am getting a big error can you look into it asap? Here is the error
@Cr41s3DEV
Yes, I could pretty easily. I'll add that in the next update. Sorry for the delay before replying!
Could you add a feature that spectators can see the other spectators?
Thanks :)
@Baffu
Players are teleported to the spectator lobby on quit or server stop. The idea is that a big server is more likely to use this plugin for arena mode, which shows only players in a certain region. So there shouldn't be too many heads to search through.
I might add a /spectatepick (or /spick) command to type a player's name after it.
Could the player: Punching, typing a command, managing inventory or anything of that nature automatically kick them out of spectating and return them to where they came from. Also if the server is stopping do they get pushed back to where they came from? For servers with a ton of players online: could we have /spec (username) have you spectate a user. /spec again just return you to spawn (or any command could do that). Maybe /spec * would bring up that menu?
Just my two cents.
@alexrow29
I tried that before but it took too long to develop so I skipped it. I'll try again for the next version.
@ThisUsernameIsMine
Thanks for replying, I'll have a look through those plugins. It might take a while to find the one causing the problem!
@pgmann
Here you go http://dev.bukkit.org/paste/9392/
I was wondering if you could add it so we could disable commands when the players spectates that would be really cool. Other then that you have a amazing plugin, keep up the good work!
@ThisUsernameIsMine
Would you please tell me what plugins you have on your server? It may be that the blocking is being overwritten...
Cool plugin but i'm able to hit players while spec'ing xD
@Justdoitjafri
I did, yes. See the new config file, toggles.yml. Set the toggle called compass to false and the compass won't be added to the spectator's inventory any more.
@jesus997
That's been suggested before. I might add one, especially as I might make some minigame plugins myself using this. But it'll come after all other features are added and bugs are fixed.
They could create some kind of API so that other developers can be based on your plugin?
Hey did you add the compass teleporting toggle in the config?