Vanish

Allows players with permission to become truly invisible

Total Downloads: 22,660 - First Release: Nov 3, 2015 - Last Update: Jan 9, 2018

5/5, 75 likes
  1. No, the mod prevents the player's client from being able to connect to you, so nothing is rendered including your shadow, name, etc.
     
  2. Greetings,

    I believe I have the most updated versions... But I can't vanish.

    I tried to give myself the proper permissions in the server console:
    oxide.grant myusername vanish.use

    It returns:
    Usage: grant <group|user> <name|id> <permission>

    I am owner and admin.

    In the game when I type:
    /vanish
    it returns:
    Sorry, you can't use 'vanish' right now

    Help is appreciated.
     
  3. Wulf

    Wulf Community Admin

    You do not have the permission granted then if you see that. What response did you get for the oxide.grant command?
     
  4. When I enter:
    oxide.grant
    I get:
    Usage: grant <group|user> <name|id> <permission>
     
  5. Wulf

    Wulf Community Admin

    You're missing part of the command:

    oxide.grant user USERNAMEORID vanish.use
     
  6. I see where I went wrong.
    oxide.grant user myusername vanish.use

    I didn't type the word user.... Thanks.
     
  7. Wulf, I know you were saying Vanish was doing all that garbage collection because vanish is intensive, but we have vanish on another server with about 10% of the plugins and it doesnt do the GC, well, almost ever. Is it because we have a bunch of plugins using the same hook and thats why its always doing GC on the heavier server?
     
  8. Wulf

    Wulf Community Admin

    Garbage collection is handled by Unity, not the plugin or Oxide. The warnings that show with [GARBAGE COLLECT] in them just mean that those hooks were called while garbage collection in the game was running, which could be the cause of the delay.

    Also, Vanish itself isn't really resource intensive, but the frequency of the CanNetworkTo hook that the plugin uses can cause some performance issues depending on the amount of use as well as other plugins making use of it. CanNetworkTo essentially is called all the time as that's what handles if other players and entities can see each other.
     
  9. Can someone hop into my Discord to help me install this plugin and one other one? I am doing everything you guys say in the forums... Thanks.
     
  10. Taking damage while "invisible," Radiation still effects you, and there is no ghost icon to the left bottom near toolbar anymore :) Also no splooshy wooshy rocket sound.
     
  11. Wulf

    Wulf Community Admin

    The sound and icon are in the config.
     
  12. They're all turned to true for me. Will delete config and try it again :) Thank you!
     
  13. Wulf

    Wulf Community Admin

    Did you reload the plugin after setting them to true?
     
  14. When you vanish it happens that the item on your back is visible to other players (fixed at the place where you vanished) until you un-vanish.
    It is not visible to the one who vanished.
    This is reproducible.
     
  15. I did. I just deleted the config and made changes, it worked. Must've corrupted it somehow in the process.
     
  16. Ok, so is it that it was always happening but is only now showing the GC? because it's only been since last weeks update that all these GC's started showing up for this hook in console.
     
  17. Yes, the same problem
    The server causes a hang
    Code:
    (15:13:59) | [Oxide] 15:13 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 918ms [GARBAGE COLLECT]
    (15:14:57) | [Oxide] 15:14 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 759ms [GARBAGE COLLECT]
    (15:16:07) | [Oxide] 15:15 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 831ms [GARBAGE COLLECT]
    (15:17:02) | [Oxide] 15:16 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 847ms [GARBAGE COLLECT]
    (15:19:27) | [Oxide] 15:19 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 772ms [GARBAGE COLLECT]
    (15:22:09) | [Oxide] 15:21 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 888ms [GARBAGE COLLECT]
    (15:23:53) | [Oxide] 15:23 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 789ms [GARBAGE COLLECT]
    (15:24:48) | [Oxide] 15:24 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 888ms [GARBAGE COLLECT]
    (15:27:38) | [Oxide] 15:27 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 805ms [GARBAGE COLLECT]
    (15:28:28) | [Oxide] 15:28 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 909ms [GARBAGE COLLECT]
    (15:29:08) | [Oxide] 15:28 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 863ms [GARBAGE COLLECT]
    (15:30:57) | [Oxide] 15:30 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 838ms [GARBAGE COLLECT]
    (15:31:49) | [Oxide] 15:31 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 819ms [GARBAGE COLLECT]
    (15:34:20) | [Oxide] 15:34 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 886ms [GARBAGE COLLECT]
    (15:36:52) | [Oxide] 15:36 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 824ms [GARBAGE COLLECT]
    (15:40:06) | [Oxide] 15:39 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 846ms [GARBAGE COLLECT]
    (15:40:48) | [Oxide] 15:40 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 808ms [GARBAGE COLLECT]
    (15:41:32) | [Oxide] 15:41 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 854ms [GARBAGE COLLECT]
    (15:42:16) | [Oxide] 15:41 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 849ms [GARBAGE COLLECT]
    (15:43:04) | [Oxide] 15:42 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 883ms [GARBAGE COLLECT]
    (15:43:48) | [Oxide] 15:43 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 875ms [GARBAGE COLLECT]
    (15:47:00) | [Oxide] 15:46 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 1129ms [GARBAGE COLLECT]
    (15:48:39) | [Oxide] 15:48 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 897ms [GARBAGE COLLECT]
    (15:49:20) | [Oxide] 15:49 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 849ms [GARBAGE COLLECT]
    (15:50:04) | [Oxide] 15:49 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 889ms [GARBAGE COLLECT]
    (15:50:40) | [Oxide] 15:50 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 876ms [GARBAGE COLLECT]
    (15:51:24) | [Oxide] 15:51 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 875ms [GARBAGE COLLECT]
    (15:52:05) | [Oxide] 15:51 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 857ms [GARBAGE COLLECT]
    (15:52:46) | [Oxide] 15:52 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 1012ms [GARBAGE COLLECT]
    (15:56:41) | [Oxide] 15:56 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 856ms [GARBAGE COLLECT]
    (15:57:33) | [Oxide] 15:57 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 848ms [GARBAGE COLLECT]
    (15:59:59) | [Oxide] 15:59 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 1161ms [GARBAGE COLLECT]
    (16:00:46) | [Oxide] 16:00 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 876ms [GARBAGE COLLECT]
    (16:03:06) | [Oxide] 16:02 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 905ms [GARBAGE COLLECT]
    (16:03:58) | [Oxide] 16:03 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 824ms [GARBAGE COLLECT]
    (16:05:33) | [Oxide] 16:05 [Warning] Calling 'OnNpcTarget' on 'Vanish v0.4.1' took 860ms [GARBAGE COLLECT]
    (16:07:07) | [Oxide] 16:06 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 880ms [GARBAGE COLLECT]
    (16:07:53) | [Oxide] 16:07 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 881ms [GARBAGE COLLECT]
    (16:11:37) | [Oxide] 16:11 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 887ms [GARBAGE COLLECT]
    (16:12:16) | [Oxide] 16:11 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 1040ms [GARBAGE COLLECT]
    (16:13:09) | [Oxide] 16:12 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 839ms [GARBAGE COLLECT]
    (16:15:51) | [Oxide] 16:15 [Warning] Calling 'CanNetworkTo' on 'Vanish v0.4.1' took 880ms [GARBAGE COLLECT]
     
  18. I saw this post
    But the problem appeared after 0.4.1 version of the plugin
    And the server works very well for me, I tried to remake it in my plug-in, but to be honest, I do not even know what to come up with
     
  19. Wulf

    Wulf Community Admin

    It's not coming from the plugin.