
You are viewing a potentially older version of this package. View Latest Version

Started out as a project to try and convert China1's Instantcollect mod from Melonloader to BepinEX frameworks. As it turns out I have no idea what I'm doing, so this is instead a ground up re-write. Instead of instantly teleporting XP to the player, this mod essentially calls the same function that the magnet shrine calls any time XP is dropped. You can find China1's probably much better written and decidedly original Melonloader variant here: https://thunderstore.io/c/megabonk/p/China1/InstantCollect Built for BepInEx 6 (Unity.IL2CPP).
PickupManager.SpawnPickup(...) then PickupManager.PickupAllXp()AutoCollectEnumNamesCsv) and debug loggingBepInEx/plugins structure).The config file will appear at:
BepInEx/config/gobo.megabonk.instantcollect.cfg
Resolve.PickupManagerTypeName — defaults to PickupManager.Behavior.AutoCollectEnumNamesCsv — comma-separated names matched against the game's pickup enum. Default: XP,Exp,Experience.Debug.DebugLog — extra logging (disable for normal play).Delete the plugin DLL at:
BepInEx/plugins/InstantCollect/InstantCollect_Port.dll
PickupManager.SpawnPickup(EPickup, Vector3, int, bool, float)AutoCollectEnumNamesCsv, the plugin calls PickupAllXp() immediately.See CHANGELOG.md.