Skip to content

skythebro/VRisingKillSpiders

Repository files navigation

KillSpiders

For a full list of changes check on my github page in the releases section.

Updated to 1.0 version of V Rising. I assume ServerLaunchFix isn't updated yet.

Installation (Manual)

How to use

  • If you didn't change anything in the config the mod will work by killing all spiders in a 50 (10 tile) range every 2 seconds around all the players in the server.
  • It will also affect Ungora the spider queen within 2 tiles of the player it'll make her one hit and make her unable to see you.

Updating

  • Make sure to check your config after running the updated mod to see if you need to make any changes!

Features:

  • Kills spiders within a certain range of the player and drops their loot on the ground.
  • Auto "downs" Ungora The Spider Queen. This will turn off her aggro and make her one hit.
  • Stops tiny spider critters from spawning. (random event(hopefully))
  • Optional config setting to add extra silkworm drops to inventory.

Optional admin commands (requires VampireCommandFramework):

  • Use the .spik [range] command to kill spiders manually if you don't want to let the mod run automatically.
  • Use the .sptp [range] command to teleport spiders to you. (if you would want that..., this was used to test if my command would get all spiders in the area)
  • Use the .dqueen command to turn of ungora's aggro and make her one hit (make sure you can see her)

Configuration

The config will generate in (VRising folder)/VRising_Server/BepInEx/config/KillSpiders.cfg after first boot of the server.

[Server]

## Enable culling of spiders
# Setting type: Boolean
# Default value: true
enableCulling = true

## Enables the extra cull reward of silkworms
# Setting type: Boolean
# Default value: false
enableExtraCullReward = false

## Enable culling of Ungora The Spider Queen VBlood boss (this will turn off her aggro and she will die in one hit)
# Setting type: Boolean
# Default value: true
enableQueenCull = true

## Time in seconds to wait before culling spiders again
# Setting type: Double
# Default value: 2
cullWaitTime = 2

## Range to check for spiders to cull (5=1tile)
# Setting type: Single
# Default value: 50
cullRange = 50

## Amount of silkworms to for each spider
# Setting type: Int32
# Default value: 1
silkwormGiveAmount = 1

Troubleshooting

  • Make sure you install the mod on the server. If you are in a singleplayer world use ServerLaunchFix
  • Check your BepInEx logs on the server to make sure the latest version of both KillSpiders and Bloodstone were loaded (optionally VampireCommandFramework too).

Support

  • Open an issue on github
  • Ask in the V Rising Mod Community discord

Contributors

  • skythebro/skyKDG: @realskye on Discord
  • V Rising Mod Community discord for helpful resources to mod this game and code inspiration.
  • VExtensions for VExtensions.dll which was slightly changed and reused in my project due to AOT (not sure if that was the right thing to do).