Source-checkedGame modes & minigames

AutomaticPvPSwitch

by Thiaz · for V Rising

Automatically switches player ability builds when entering PvP combat.

113Downloads
5 mo agoLast updated
BepInExLoaders
ThunderstoreSource

About AutomaticPvPSwitch

From Thunderstore

Automatically switches player ability builds when entering PvP combat.

AutomaticPvPSwitch

Server mod for V Rising. Automatically switches player ability builds when entering PvP combat.

How it works

Players save separate PvP and PvE ability builds. When a player enters PvP combat (detected via Buff_InCombat_PvPVampire), their abilities are automatically swapped to their saved PvP build. Players can manually switch back to PvE with .pve when Vampire PvP Combat debuff expires (Also has a 10s cooldown between manual switches).

Ability swaps use the VBloodAbilityUtilities.TryApplyVBloodAbility - this updates the ability bar, "spellbook" UI, network sync, and preserves cooldowns.

The switch back to PvE is not automatic - players must use .pve manually when they're ready. This avoids unwanted swaps mid-fight if the PvP buff briefly drops.

Saved slots

  • Spell 1 (bar slot 5)
  • Spell 2 (bar slot 6)
  • Ultimate (bar slot 7)
  • Travel/Veil (bar slot 2)

Commands

Player commands

| Command | Description | |---|---| | .pvp save | Save current abilities as PvP build | | .pve save | Save current abilities as PvE build | | .pvp | Switch to PvP build (blocked during PvP debuff, 10s cooldown) | | .pve | Switch to PvE build (blocked during PvP debuff, 10s cooldown) | | .pvp enable | Enable auto-switch for yourself (default) | | .pvp disable | Disable auto-switch for yourself |

Admin commands

| Command | Description | |---|---| | .pvpswitch | Show global status | | .pvpswitch enable | Enable the automatic switch to the PvP build, globally | | .pvpswitch disable | Disable the automatic switch to the PvP build, globally (manual .pvp/.pve still work) | | .pvpswitch reset | Clear all saved builds for all players (use after a wipe) | | .pvpswitch resetplayer <name> | Clear a specific player's builds and remove their VBlood abilities |

Saved configs

  • Player builds: BepInEx/config/AutomaticPvPSwitch/builds.json
  • Global toggle: BepInEx/config/AutomaticPvPSwitch/global_enabled - if the file is absent, the automatic switch is enabled; a file containing 1 also means enabled; a file containing 0 means no automatic PvP switch.

Performance

  • Event-driven: a HookDOTS prefix on BuffSystem_Spawn_Server reacts only to buffs spawned that tick, resolving the carrier via EntityOwner.Owner. No per-tick polling of players.
  • Zero cost when no player has a PvP build saved (early-out).
  • Zero allocation on ticks where no buff spawns.
  • The only heavy work (applying a build) runs on the combat-entry event, not every tick.

Dependencies & credits

License

AGPL-3.0.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 5 mo ago.

AutomaticPvPSwitch on Nxeon

From our catalogue
One-click install
Not available. One-click install isn't available for this game's mods yet. Download it and upload it to your server in Files.
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
V Rising — 6 GB (6 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.1.0, released 2026-06-02

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 1 recorded build of AutomaticPvPSwitch.

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run AutomaticPvPSwitch on a V Rising server

Deploy a server above, then upload the file in Files.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Content”

Game modes & minigames

Game modes, minigames and competitive formats for your server.

Compatibility

Game
V Rising
Loaders
BepInEx
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorThiaz, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

AutomaticPvPSwitch, answered

Generated from the mod’s own source data.

Which loaders does it support?

BepInEx.

Is it free?

Yes. AutomaticPvPSwitch is free to download from Thunderstore.

How do I add it to my Nxeon server?

One-click install isn't available for this game's mods yet. Download AutomaticPvPSwitch from Thunderstore and upload it to your Nxeon V Rising server in Files.

NxLabs

Run AutomaticPvPSwitch on a V Rising server.

Deploy in about a minute from $12.00 a month, then upload AutomaticPvPSwitch in Files.