Closed AlessioGr closed 2 years ago
In my opinion this should default to false - F3
+ n
exists already to switch gamemode between gmc and gmsp, plus this is a fairly intrusive modification to a keybind.
@underscore11code Done! It defaults to false now.
Several comments made, but here's a general one:
Calling this "toggle gamemode" is strange when it really just switches you from whatever you were to spectator, and then doesn't switch back but rather gives you creative. This feels 100% targeted at a specific server rather than targeted at general users.
Plus, if you're going to switch to spectator, that isn't even a vanish plugin thing anymore you're just creating a system for being a spectator. Wat.
Everything should be fine now. It now also remembers your game mode.
This kind of functionality is enabled by default in the plugin "PremiumVanish". As I switched to vanishnopacket, I really miss this functionality. It's pretty useful in a vanish plugin. Say you are vanish next to a player, trying to stalk them. And that player then walks into a house and closes the door. How do you get in that house? With this double-shift functionality, I can just quickly double-shift, fly through that wall and then double-shift back to my last game-mode. It's incredibly useful if you have used it for a while.
Since it's toggled off by default now anyways, it definitely wouldn't hurt anyone.
Also while you're at it could you rebase to latest? :D
I rebased it!
I added the persistentdatacontainer - it should be ready now
Video of it: https://www.youtube.com/watch?v=y6X1FVgFeMw
This is configurable in the
double-sneak-during-vanish-toggles-gamemode
config setting.