AbsoluteVanish 1.5

An advanced vanish plugin that contains all essential features and some fun/useful ones as well.

  1. luaqs
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    AbsoluteVanish

    Enlightenment
    Hello, my name is Luaq. I am the developer for TheSuite plus the developer of AbsoluteVanish. I started this because why not, and I get bored easily. Anyways, I wish that you enjoy my plugin and leave feedback on it, I'd love to incorporate as many ideas that get handed to me.

    NOTICE: Required for use

    In order for this plugin to work, you need to download my library. All my plugins will require this, it is just an easier way for me to develop, thank you for understanding.
    http://luaq.zone/download?file=/plugins/LLib.jar

    Plugin Highlights
    • Hotbar message when vanished.
    • Silent chest opening (https://gyazo.com/5521a381ebec9488edc0a5a1c9a89468).
    • Removes normal join and leave messages for vanished players.
    • Disable ItemDrop and PickUp.
    • NEW! Disable damage and PvP.
    • NEW! Hostile mobs pay no attention to you.
    • NEW! Disable pressure plate use.
    • NEW! Disable throwing items.
    • NEW! Disable building.
    • NEW! Disable hunger.
    • NEW! Added save state mode.
    • NOTE: All features above are toggleable, even if it says "Disabled", it can be enabled via config.
    • NOTE: More to come. Please, do suggest.

    NEW! Save State Mode
    Save State Mode is a feature in AbsoluteVanish that separates the player's original state from their vanish state. For example, once going into vanish a player's inventory, location, flight status (whether or not they can fly), and GameMode would be saved and returned upon exiting vanish. You can modify what is saved in the config.yml.


    Commands

    [av, v, absolutevanish] /vanish [player]
    [vc, avc, checkvanish, cv] /vanishcheck <player>
    [avr, vr, reloadvanish, rv] /vanishreload

    Permissions

    av.togglevanish - Ability to toggle one's own vanish.
    av.togglevanish.others - Ability to toggle other player's vanish.

    av.reload - Ability to reload the config
    av.cansee - Allows the player to see vanished players.
    av.check.others - Allows the player to check other player's vanish status.

    Configuration
    Code (YAML):

    # I understand the symbols below are a bit confusing, so let me break it up.
    # %1$s
    #
    # %s means string
    # Adding 1, 2, or any integer (number) following with a "$" will select an index.
    #
    # So % 1$ s = %1$s
    #
    # If this confuses you, I recommend changing the colors at most; I will most likely add an easier way in the future.

    settings
    :
      allowChat
    :
        description
    : "Whether or not vanished players can talk in chat."
        value
    : false
      allowPvp
    :
        description
    : "Whether or not vanished players can engage in PvP"
        value
    : false
      allowDamage
    :
        description
    : "Whether or not vanished players can take damage."
        value
    : false
      allowHunger
    :
        description
    : "Whether or not vanished players can lose hunger."
        value
    : false
      allowMobTargeting
    :
        description
    : "Whether or not vanished players get targeted by mobs."
        value
    : false
      allowItemDrop
    :
        description
    : "Whether or not vanished players can drop items."
        value
    : false
      allowItemPickUp
    :
        description
    : "Whether or not vanished players can pick up items."
        value
    : false
      allowThrowing
    :
        description
    : "Whether or not vanished players can throw/launch projectiles."
        value
    : false
      allowRegularChestOpen
    :
        description
    : "Whether or not vanished players open chests silently."
        value
    : false
      allowPressurePlateUse
    :
        description
    : "Whether or not vanished players can trigger pressure plates."
        value
    : false
      allowBuilding
    :
        description
    : "Whether or not vanished players can place and/or break blocks"
        value
    : false
      safeChestOpen
    :
        sendMessage
    :
          description
    : "Whether or not vanished players receive a message upon opening a chest safely."
          value
    : false
      saveStateMode
    :
        description
    : "Whether or not inventories, flight state, gamemode, location, etc. are saved before vanishing."
        value
    : true
        saveInventoryState
    :
          description
    : "Whether or not inventories will be cleared and returned when entering and leaving vanish."
          value
    : true
        saveFlightState
    :
          description
    : "Whether or not flight will be saved and returned when entering and leaving vanish."
          value
    : true
        saveLocationState
    :
          description
    : "Whether or not location will be saved and returned when entering and leaving vanish."
          value
    : true
        saveGameModeState
    :
          description
    : "Whether or not gamemode will be saved and returned when entering and leaving vanish."
          value
    : true
      messages
    :
        actionbarMessage
    :
          description
    : "The message that appears above a vanished players hotbar/actionbar."
          value
    : "&aYou are currently &6vanished&a."
        joinMessage
    :
          description
    : "Message that appears when a vanished player joins."
          value
    : "&aHeads up! You are still vanished."
        vanishToggle
    :
          description
    : "Message that shows up when a player toggles their vanish."
          value
    : "&aToggled your vanish &6%s&a."
          other
    :
            description
    : "Message that appears when a player toggles another player's vanish."
            value
    : "&aToggled &6%1$s's &avanish &6%2$s&a."
          targetMessage
    :
            description
    : "Message that appears in the target's chat."
            value
    : "&6%1$s &atoggled your vanish &6%2$s&a."
        playerOfflineMessage
    :
          description
    : "Message that appears when a target player isn't found."
          value
    : "&cSorry, but it appears as if this player is offline."
        talkInVanishMessage
    :
          description
    : "Message that appears when a vanished player attempts to chat. (Only if allowChat is false)"
          value
    : "&cPlease try to refrain from talking in vanish."
     

    API (for developers)
    Code (Java):
    // Toggles a player's vanish.
    AVUtils.toggleVanish(Player player);

    // Set player vanish status.
    AVUtils.setVanished(Player player, boolean isVanished);

    // Returns boolean value based on whether the player has vanished or not.
    AVUtils.isVanished(Player player);

    // Returns player count discluding vanished players.
    AVUtils.getFakePlayerCount();

    // Returns all the players currently vanished.
    AVUtils.getVanishedPlayers();

Recent Reviews

  1. ToxicLeSwaggDev
    ToxicLeSwaggDev
    5/5,
    Version: 1.5
    Amazing plugin, no bugs yet. Ive used it on my server and all the staff loved it.
    1. luaqs
      Author's Response
      Thanks for the review, and let's hope bugs will not arise either :P
  2. AkuaFite
    AkuaFite
    5/5,
    Version: 1.5
    I was looking for this plugin. Plugin and support is great. Error was repaired very fast. From me big +. Good luck man! :)
    1. luaqs
      Author's Response
      Thank you.
  3. GCNT
    GCNT
    5/5,
    Version: 1.4
    Really good plugin. No bugs. And of course, the player will be total vanished. Also like the new update
    1. luaqs
      Author's Response
      Thank you for the review.
  4. SwiftUnlock
    SwiftUnlock
    5/5,
    Version: 1.4
    Again great work on the plugin, new update is better for my staff. Hope to great updates on it :D
  5. SwiftUnlock
    SwiftUnlock
    5/5,
    Version: 1.1
    The plugin is AMAZING works well no bugs so far from what i seen. Hope to see more from you!
    1. luaqs
      Author's Response
      Thanks :)