SkyVanish - Vanish/Toggle Visibility | MySQL compatibility
1.7.1This is a complete plugin of Vanish and Toggle player Visibility. Fully configurable!
Discord
Need help with something?
Join our Discord server:
https://discord.gg/DNGwGR3
Machine's plugin
» PLUGIN DESCRIPTION «
This is a simply Vanish resource, currently version 1.0. This is fully configurable, You can change the item type, name, lore and everything you want.
» COMMANDS «
Command List:
- 'command' - Description. (Permission)
- '/vanish' - Toggle your vanish. (vanish.vanish)
- '/vanish toggle <Player>' - Toggle vanish for someone. (vanish.vanish.others)
- '/vanish list' - Check who is vanished. (vanish.list)
- '/vanish reload' - Reload the plugin config. (vanish.reload)
- '/vanish help' - Prints this help message.
» PERMISSIONS «
Permissions
- Description - (Permission)
- To bypass all cooldowns - (vanish.bypass.cooldown)
- See others players vanished - (vanish.seeothers)
- Teleport to someone vanished - (vanish.teleport or vanish.tp)
» IMAGES and FILES «
Config Files:
Config
Config.yml
#SkyVanish, Config:
#If you leave it 'true'
#Vanished players can see all others Vanished players.
Vanished-can-see-others: 'true'
#If you leave it 'true'
#When the player active or desactive will thunder above them.
Vanish-Lightning: 'false'
UnVanish-Lightning: 'true'
#This is the cooldown to players toggle Vanish.
#You need put the cooldown in seconds.
WaitToToggleVanish: 5
#Vanish, when player join:
Join:
ReceiveItemWhenJoin: 'true'
VisibilityEnableType: 'INK_SACK:10'
VisibilityEnableName: 'Players: &aVisible &7(Right Click)'
VisibilityEnableSlot: 8
VisibilityEnableLore:
- '&7Right click to toggle player visibility!'
VisibilityDisableType: 'INK_SACK:8'
VisibilityDisableName: 'Players: &cHidden &7(Right Click)'
VisibilityDisableSlot: 8
VisibilityDisableLore:
- '&7Right-click to toggle player visibility!'
#Vanish, Menu:
Menu:
VanishedList:
Inventory-Name: '&8Vanished list'
RefreshShowItem: 'true'
RefreshItemType: 'DOUBLE_PLANT'
RefreshItemName: '&eRefresh the page'
RefreshItemSlot: 49
RefreshItemLore:
- ''
- '&7Click here to refresh'
- '&7this page.'
SkullItemName: '&9%player%'
SkullItemLore:
- ''
- '&7Click for more info!'
#If you leave this option 'false' will don't have a item to close this menu.
CloseItemShow: 'true'
CloseItemType: 'ARROW'
#The menu slot starts with 0.
CloseItemSlot: 53
CloseItemName: '&aClose menu'
CloseItemLore:
- '&7Click to close'
PlayerInfo:
Inventory-Name: '&8%clickedplayer%'
SkullItemName: '&9%clickedplayer%'
SkullItemSlot: 0
SkullItemLore:
- ''
- '&7Info about &e%clickedplayer%'
ShowTeleportItem: 'true'
TeleportItemType: 'ENDER_PEARL'
TeleportName: '&7Teleport to &9%clickedplayer%'
TeleportItemSlot: 11
TeleportItemLore:
- ''
- '&7Click here to teleport.'
ShowInfoItem: 'true'
InfoItemType: 'PAPER'
InfoItemName: '&7Info about &9%clickedplayer%'
InfoItemSlot: 13
InfoItemLore:
- ''
- '&7Life &c%clickedlife%'
- '&7Level &c%clickedlevel%'
- '&7Locatrion &c%clickedloc%'
- '&7Food &c%clickedfood%'
ShowUnvanishItem: 'true'
UnvanishItemType: 'REDSTONE'
UnvanishItemName: '&7Click here to unvanish &9%clickedplayer%'
UnvanishItemSlot: 15
UnvanishItemLore:
- '&5Unvanish &9%clickedplayer%'
#Vanish, Messages:
Messages:
No-Permission: '&cYou do not have permission.'
Illegal-Args: '&7Use: %usage%'
Vanish-Reload: '&7SkyVanish &cHas been reloaded.'
Teleport: '&7You teleport to &9%clickedplayer%'
ClickOnYourSkull: '&7Oh, %player% is you right?'
IsOnCooldown: '&8%player%, &7you need wait &e%time% &7to toggle your vanish.'
#These messages below is when you active or desactive vanish:
Vanish:
- '&7Your vanish has been toggle to &2on&7.'
UnVanish:
- '&7Your vanish has been toggle to &2off&7.'
Vanish-Others:
- '&7You changed the vanish of %target% to &2on&7.'
UnVanish-Others:
- '&7You changed the vanish of %target% to &2off&7.'
PlayersVisibility:
EnableVisible:
- '&aPlayer visibility enabled.'
DisableVisible:
- '&cPlayer visibility disabled.'
#This is what will show when you type: "/vanish help"
CommandsHelp:
- '&aVanish help: '
- ''
- '&e/vanish &b- Toggle your vanish.'
- '&e/vanish toggle <Player> &b- Toggle vanish for someone.'
- '&e/vanish list &b- Check who is vanished.'
- '&e/vanish reload &b- Reload the plugin config.'
- '&e/vanish help &b- Prints this help message.'Images:
- List GUI

- Player Info, Teleport, Toggle Vanish, Info

- Player Visibility Enabled

- Player Visibility Disabled

» GitHub «
» API «
In the latest version of SkyVanish was implemented the event "VisibilityToggleEvent" This event is called when player toggle player visibility.
This below needs version: 1.3+.
@EventHandler
public void onPlayerToggleVanish(VanishToggleEvent event) {
event.setDefaultMessage(false); //Don't show default messages.
ChatColor color = event.isVanish() ? ChatColor.GREEN : ChatColor.RED; //Choose the color.
event.getPlayer().sendMessage("Vanish has been toggle to " + color + event.isVanish()); //Set message.
}
@EventHandler
public void onPlayerToggleVanish(VanishToggleEvent event) {
Player player = event.getPlayer();
//boolean isVanish = event.isVanish();
for (Player players : this.getServer().getOnlinePlayers()) {
players.sendMessage(ChatColor.YELLOW + player.getName() + " leave the server.");
}
}
Please any error/issue, report them on GitHub. (Click here)
Similar projects
Config →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
