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 ]
@WhosHenry
Hi again,
The correct way to format the config section is to put each command on a new line like this:
... etc. (It's processed as a list, not a String)
Maybe adding /msg to the list will fix the bug where spectators can't message players? Tell me how it goes.
I was planning to add a feature where certain players can see spectators' names in the tab list, thanks for reminding me. I was also thinking of overwriting the /list command for players with permission to make it show spectators in the list as well.
Hi pgmann, I heard you joined my server, sorry I wasn't available to chat but I've tested the Dev Build, the noclip works fantastically! Really good job on that, but I am still experiencing the Inventory not returning when you enter and leave Spectator mode.
I'd be happy to give you permissions to the plugin when you come on next so you can help me test them out.
Edit: Regarding the new whitelist commands in the toggles config from the Dev Build, what's the correct way to format this? I have this atm but doesn't seem to work:
chat: blockCommands: enabled: true adminBypass: true whitelist: 'msg,r,reply,m' spectatorChat: false
Idea: For Admins or Mods, making player's names in TAB faded like it is now when you're in spec mode and other player's in spec mode are faded, but having this when an Admin or a Mod is out of Spec mode with a permission will be cool. Update: Just realised that this is only when players are in noclip mode which utilises the Gamemode3 Spectator Mode, is there a way this can occur when they're in normal /spec on mode also? Not just noclip mode?
Another idea I've found whilst using it on my Survival server, players in non-spec mode are not able to /msg people in spec mode. Can this be an option in the toggle? I'm guessing it's like this to stop people cheating in games, but if this is not used on a game server, just a survival server, messaging people in /spec could be a good thing to have.
Update progress
Hello, everyone. This is an official announcement about the progress on SpectatorPlus version 2.1. We've decided to break compatibility with Bukkit 1.7, and use SpigotMC's version of Bukkit 1.8 and Spigot 1.8 (updated post). A lot of servers will already have upgraded to this by now, so this shouldn't be too much of a problem. However, this means that future versions of the project, including S2.1, will most likely have to move from BukkitDev to either GitHub or the SpigotMC plugin website.
Development builds of this new version are available from our continuous integration server. If you're interested in seeing what we've added, look at this Google Doc. The changelog will be updated in this document as new things are added.
Thank you for choosing SpectatorPlus!
@pgmann
I have not tried that, however if it's a little buggy it's not too much of an issue as only Creative players on my server have access to it.
Also came across a bug today where a user had nightvision even when he had come out of Spectator Mode.
@WhosHenry
The admin option, if enabled, shows admins who have used /spec hide in the teleporter gui (compass), but currently not the tab and /list.
As for the first part, have you tried running SpectatorPlus without any other plugins to see if the issue is caused by a conflict? The plugin works fine for me...
Still have the inventory issue, player's inventory doesn't save on /spec on, their inventory is wiped when they do /spec off.
Also, could there be an admin option in the config to always see players in Spectator mode in the tab and /list?
Haven't used this in a long time, glad to see it's still updated. Keep up the good work!
Awesome! Can't wait for a build that can let you change the prefix and the messages. <3 GOOD WORK!
Oh lol good job AmauryPi!
@Sizableshrimp0
Thanks!
[don't forget to credit @AmauryPi too :) ]
This plugin is so cool i love to use it on my server nice job Pgmann!
@pgmann
Great thanks for the reply. Also, I found a bug with inventories and the invisibility effect, if the spawn is in one world, and a player teleports to one player in another, and then does /spec off. The inventory sometimes is not restored and the invisibility effect maintains.
Edit: Seems to happen when the spawn is in the same world as the players the spectator teleports to also actually.
Congrats on 5k Downloads! This is an amazing plugin for custom minigames :D
I wanted to ask you something: I sent a request on the Skript forums for a hook to your plugin, but you may prefer to do it yourself (I didn't think of asking you first...). Anyway, the one thing I want is to fix a bug, where the "on right click holding item" events won't work while spectating, no matter which item it is... Maybe you could add a exception when skript is on, and let it handle the event first? And if you want, you can add other events, conditions, etc. :P
Here's the topic I made, in case you want to talk over there: http://dev.bukkit.org/bukkit-plugins/skript/forum/requests/73094-spectator-plus-hook/
@WhosHenry
Sorry for the delay, I haven't forgotten - I'm just not very well at the moment. I'll add your feature as soon as I'm better!
I've also noticed we're about to hit 5,000 downloads! Amazing! I never thought my plugin would get this far.
@WhosHenry
Not currently possible, but it's a good idea - I can add it on Friday to the dev build, as I'm planning to work on the plugin then.
Is it possible to allow the chat being global but have a custom Spec Prefix whilst in spec mode?
@Zeal_BG
Bug known, and already fixed. Re-download the latest build :) .
I got error on line 5 in toggles.yml: item: !!org.bukkit.Material 'COMPASS' Idk how it got like this, but when I make it only to COMPASS it works.
@Zeal_BG
Hi, it's currently not possible to do what you're requesting. It may be added in version 2.1 though, so keep an eye on the development builds!
I use Spigot 1.8 and plugin version 2.1 First, can you add exit spec item? Second, I want when player die to go in the arena when he die like spectator, but it doesn't work with these options: compass: true compassItem: compass arenaclock: false clockItem: watch spectatorsTools: true spectatorsToolsItem: magma_cream tpToDeathTool: true tpToDeathToolShowCause: true inspector: true inspectorItem: book inspectPlayerFromTeleportationMenu: true playersHealthInTeleportationMenu: true playersLocationInTeleportationMenu: true specchat: true outputmessages: true deathspec: true colouredtablist: false seespecs: true blockcmds: true adminbypass: true newbieMode: true teleportToSpawnOnSpecChangeWithoutLobby: true useSpawnCommandToTeleport: true enforceArenaBoundary: true version: 2.1
Add option to the spectator menu to make the other spectators visible/invisible.