Home›Java›Mods›SkyVanish - Vanish/Toggle Visibility | MySQL compatibility
SkyVanish - Vanish/Toggle Visibility | MySQL compatibility
ModsJava

SkyVanish - Vanish/Toggle Visibility | MySQL compatibility

Java mod listed for Minecraft 1.8–1.12. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Spoiler: Discord
Need help with something?
Join our Discord server:
https://discord.gg/DNGwGR3



» 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:



» PERMISSIONS «​
Spoiler: 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:
Spoiler: Config
Spoiler: Config.yml
Code (Text):
#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
[​IMG]

- Player Info, Teleport, Toggle Vanish, Info
[​IMG]

- Player Visibility Enabled
[​IMG]

- Player Visibility Disabled
[​IMG]


» GitHub «
​
[​IMG]



» 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+.
Code (Text):
    @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.
    }

Code (Text):
    @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.");
        }
    }



btn_donate_SM.gif
​


Please any error/issue, report them on GitHub. (Click here)

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SkyVanish - Vanish/Toggle Visibility | MySQL compatibility is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 2,025 times (via Spigot). Download it and open it directly in the game.

Explore more