Vanish 2
Disappear!
I needed a quick and simple invisibility solution for my server, but not one that required Spout to use, so I dug up this abandoned project, and updated it to work with the latest Bukkit. Any thanks or donations for this should probably go to EvilNilla as the previous updater or to Nodren as the original developer (all I did was replace some deprecated code and cleaned it up a tiny bit.) I will try to keep this current if nothing else, but I can add features upon request if there is enough interest to warrant it.
Features:
Invisibility with toggling of item pickups, mob targeting and listing of vanished players, DOES NOT require Spout (just Craftbukkit).
Commands:
- /poof | /vanish - Vanish.
- /nopickup - Disable item pickup.
Permissions:
- vanish.* - All permissions (OP has this by default)
- vanish.vanish - Vanish
- vanish.list - Show vanished players
- vanish.nopickup - Disable item pickup
- vanish.nopickup.list - Show players with pickup disabled
- vanish.noaggromobs - Disable mob targeting
Limitations:
Though this works completely on standard clients, some hacked clients can circumvent this plugin. If your purpose in using this plugin is purely administrative, be aware that the occasional griefer/cheater might be able to see you. You can look at that as a serious issue with the plugin and instead use VanishNoPacket which offers much more in features and security, but DOES require your server to run Spout. HOWEVER: You can use this to your advantage as an X-Ray detector. Using this plugin, when you know you've been seen, you then know that the person that saw you was cheating (using a hacked client.) That's all I need to know administratively to take action, but if your server allows certain types of cheating or hacked clients, this may not allow you to effectively snoop. (Although if you prevent griefing or cheating because the offending party knows that an admin/owner is watching, your mission is accomplished anyway.)
Anyone who isn't cheating will not be able to see a player who is invisible. So far in testing we have not found an exception to this rule. Additionally, though it is stated elsewhere that this plugin can be circumvented, I, nor the players on my server have actually observed this, so it may be a rare case. *EDIT* We have now directly observed hacked clients that can see invisible users. It still seems to be rare, but it happens. Again, you can use this to your advantage as a built-in X-Ray detector, or you can go with Spout and the more secure vanish plugin for absolute invisibility.
"Using this plugin though, when you know you've been seen, you then know that the person that saw you was cheating (using a hacked client.)"
I'm not sure about it, on VanishNoPickup you were sometimes visible for a split second when you teleported to people. They said it was fixed, but it still happened.
@HeShreds
This plugin doesn't fakequit or hide your name. You can use something like this though which will do it.
Hey, i was wondering, does the server tell all other players that you are offline when you go invisible? otherwise they would know you were still on somehow.
error trigered on /vanish command. Using bukkit 1602
2011-12-16 17:07:55 [SEVERE] null
org.bukkit.command.CommandException Unhandled exception executing command 'vanish' in plugin Vanish2 v0.1.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Caused by: java.lang.NullPointerException
at com.errortown.plugin.Vanish2.Vanish2.invisible(Vanish2.java:193)
at com.errortown.plugin.Vanish2.Vanish2.updateInvisibleForPlayer(Vanish2.java:258)
at com.errortown.plugin.Vanish2.Vanish2.vanish(Vanish2.java:215)
at com.errortown.plugin.Vanish2.Vanish2.vanishCommand(Vanish2.java:162)
at com.errortown.plugin.Vanish2.Vanish2.onCommand(Vanish2.java:110)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 12 more
@WillMillerAK
Just make an alias for that command in bukkit.yml
I'd used VanishNoPickup in the past and it met all my needs. I just wanted to say thanks for picking up where the previous devs left off.
@Fizzyjoe908
I agree. Also, another thing you can add is support for /vanish as well.
Maybe add a fake join and quit feature?
@MrDerpatron
I'm not sure what login plugin you're using, but this doesn't cause any issues with register on my server (using the lastest bukkit dev and latest register). It must be some other plugin. Check for error messages in your log.
Cool Thanks been looking for one, But it conflicts with my Register and Login Plugin, Help? :)
@lawliet555 You could use a spout dev build btw.
Thx working perfect, Love having the stealth plugin while spout is being updated :)
@errortown
There seems to be some static between bukkit devs and spout devs. That being said we are a week out and still no recommended build for craftbukkit. As I said I havent even looked at spout to see what its update state is. I suspect it will be a while before we see a recommended build for that.
It is a little early to say "how are you going to handle grief clients" when currently the spout dependant plugin is running on 1% of servers due to them both being at the dev build state.
@MonsterTKE
One of the things that really bugs me is the necessity to run an entire API layer on top of another API layer just to fulfill some small dependency. This is often the case with spout dependent plugins, they would work just fine for CB, except for one small thing. It seems that Bukkit could absorb a tiny part of spout and get 80% of the spout dependent plugins going w/out the need for the whole Spout package.
(note: I think Spout is an amazing extension of Bukkit, and I in no way want to minimize the awesomeness of what they do.)
@mbaxter
The spout packet filterr needs to be pulled into bukkit. Errortown has a good point here, I have no clue what spout is doing, if it is stable for 1.0 or not because I havent seen it update. I know there irc channel said not to expect it soon.
Basically spout is showing its weakness here, I loath to run unstable plugins on top of unstable craftbukkit builds.
@mbaxter
Glad you asked :D
First, I wouldn't use the word most, in fact I haven't been spotted by any so far that I know of (though I know some hacked clients do circumvent this.) I've banned two X-ray users in the last 24 hours who didn't mind making a b-line to the diamonds right in front of me meaning that I obviously wasn't spotted. It works enough to get the job done.
Second, If I'm walking around invisible and a player spots me, now I know they are using a "grief client" to cheat and I can kick/ban/jail accordingly right then and there. So, the way I use it, it's a feature, not a flaw. If they spot me and don't let on that they do, they aren't going to grief or X-ray while the server owner is watching, so no problem.
Third, not everyone has the desire or ability to use Spout on their server, and though this isn't as feature packed or cheat proof as your excellent plugin it does exactly what it says on the box.
The user becomes invisible to other players. That simple. It was the perfect solution for me.
If one needs to be completely invisible to every possible cheat, already has Spout or doesn't mind adding it, wants a more fully featured plugin and doesn't mind a touch more system overhead then Vanish No Packet is vastly superior.
But if all you need is a lightweight vanish plug with no frills and no need to config that works so you can add vanish to your small server without having to run Spout... Well there ya go.
Not trying to step on your toes Buddy, you do great work. Your plugin just doesn't fit my particular needs.
How do you intend to fix the fact that most common grief clients can circumvent this plugin?