SimpleConceal
Version 1.x.x
I did some looking around on the server mods to find that there was no simple, lightweight, and easy-to-use invisibility plugin out there. So I made one. SimpleConceal is a lightweight, easy-to-use plugin for invisibility in a bukkit server. SimpleConceal uses two permission nodes and easy to remember commands to control who can and cant go invisible.
Features
1) Permission Support (else defaults to OP)
2) Suppresses OnJoin and OnExit messages when the player is invisible.
3) Config file for event handling.
4) Remembers invisible players (if in the event a server crashes, or someone dc's)
5) Allows the command sender to set someone else invisible or just themselves.
6) Can now remove offline players from the invisibility list.
Installation Instructions
1) Drop the SimpleConceal.jar into your plugins folder.
Thats it!
Commands and Explanations
- /simpleconceal (or) /sc - Shows plugin info.
- /simpleconceal list (or) /sc list - Shows the list of all currently invisible players (Online and Offline).
- /simpleconceal help (or) /sc help - Shows all available commands (Does not show aliases).
- /invis (or) /invisible (or) /hide - Sets the player using the command invisible.
- /vis (or) /visible (or) /unhide - Sets the player using the command visible (Works for Offline Players [Case Sensitive])..
In addition to these commands you can give it a parameter to set another player invisible or visible. In example: /invis Spartan_V23 (or) /vis Spartan_V23. All of these commands work in the console.
Configs and Example Config
With the 1.0.2 update, we added in a configuration file. Below I will tell you what each one does as well as show you the config file in the event one doesn't auto-create for you.
- no_pickup - Stops the invisible player from being able to pickup dropped items.
- no_item_drop - Stops the invisible player from being able to drop items.
- no_block_break - Stops the invisible player from being able to break blocks.
- no_block_place - Stops the invisible player from being able to place blocks.
- no_player_interaction - Stops player interaction with toggle-able items. (doors, chests, etc).
- no_entity_targeting - Stops mobs from targeting invisible players.
- suppress_on_join_message - Suppresses the on join message for invisible players
- suppress_on_join_message - Suppresses the on quit message for invisible players
#Do not edit the version number. It will cause errors. version: 1.0.3 #The configs and messages below are for invisible players only. configs: no_pickup: false no_item_drop: false no_block_break: false no_block_place: false no_player_interaction: false no_entity_targeting: false messages: suppress_on_join_message: true suppress_on_quit_message: true
Permission Nodes
simpleconceal.list - Allows the player to list all currently invisible players (Online and Offline).
simpleconceal.allow - Allows the player to set self invisible and set self visible.
simpleconceal.allow.other - Allows the player to set another player invisible and another player visible.
Todo
1) None
!! Suggestions are always recommended. !!
Changelog
Version 1.0.0
- Release
Version 1.0.1
- Fixed Error: Could not pass onPlayerJoin to SimpleConceal
Version 1.0.2
- Added Command: /simpleconceal list
- Added Command: /simpleconceal help
- Added ability to use commands in console
- Added Config File for flexibility
- Added permissions for new commands
Version 1.0.2 [FIXED]
- Fixed Error: Could not pass EntityTargetEvent to SimpleConceal.
Version 1.0.3
- Fixed issues with the permissions
- Began minor optimization of code for efficiency.
Known Issues
1) None
Is this plugin compatible with 1.5.2?
Very nice plugin, please update it
Suggestion: "Ghost" command, where, if active, a player can fly through blocks as if they were air. This would be good for spectating, which is what I use this plugin for.
Thanks
@LucasFernandesL
Due to the structure of the code, this might be a hard feature to implement. Ill look into it. For now, you can use the "/simpleconceal list" command too see everyone currently invisible.
Hmm, is there a way that people with certain permissions can see each other while invisible? I'm the owner of a server, and I'd like to see when my admins and mods are invisible... thank you :)
@Spartan_V23
sorry for the late reply. yeah it works now if i have both on for the person i want to use it. thanks. hopefully you can figure out what's up
@Sucalakafufu
Ok so I figured out what the problem was. The two permission nodes: simpleconceal.allow and simpleconceal.allow.other have to both be present for you too have the ability to go invisible and set other players invisible. I am unsure of why this is but I am working to fix this bug. Looking at an update within the week.
@Sucalakafufu
Hmm ill look into that. Considering it was programmed using the BukkitPermission system idk what could be causing this. Ill play around with it. Can I get your bukkit version please.
EDIT: Im still trying to figure out why the permission nodes are not working. They were working in the first version but not the most current. Ill update the plugin as soon as I get this resolved.
Hmm so i installed it and added the permission nodes. It seems it doesn't play nice with PermissionsBukkit? I am not able to use the commands unless I am OPed. :/
@XxFigmentxX
Ill look into it. It really depends on how much it increases the load of SimpleConceal.
Any chance on PermissionsEX support?
@Memorex39
Vanish no packet has many features that are nonessential for invisibility. This plugin is a simple and lightweight version of invisibility. No explosions, lightning, smoke, custom messages, etc. Simply what you need and only what you need, that is the difference.
I don't see how this is any different then VanishNoPacket created nearly a year ago and its up to date.
@th3ant
Ok so I looked into it and I see not real simple way of doing this. It would require more work than what "lightweight" entails. I am adding a command to the plugin however that can list all invisible players. So that might help with your issue a bit.
If this plugin ever reaches the point where it has too many feature requests to no longer be "lightweight", ill be more than happy to try and implement this then.
Looks good! Going to test this out for a couple of days, will report back!
EDIT: All working fine so far, could you possibly add something that checks to see which permission group the player is in. So if they get switched to (for eg) "Donator" to "Builder" they are visible again?