Releases: monogutsy/RandomMobDrops
Release list
RandomMobDrops
This release introduces RandomMobDrops, a lightweight TShock plugin that replaces Terraria's vanilla NPC item drops with completely random items from the game's entire item database.
Instead of enemies dropping their normal loot, every eligible NPC kill rewards players with a random item, making each encounter unpredictable and exciting. A Green Slime might drop a Rocket Launcher, a Zombie could drop a Diamond, or a Skeleton might reward Wings. Every kill is independent, so even the same enemy can produce different rewards every time.
To keep gameplay balanced, the plugin preserves normal coin drops while suppressing vanilla item drops. It also includes built-in protection against common farming exploits by ignoring critters, statue-spawned enemies, and Town NPCs. Server owners can further customize behavior through a generated configuration file, including excluded NPCs, stack sizes, and other settings.
Highlights
- Replaces vanilla NPC item drops with completely random Terraria items
- Every eligible enemy kill guarantees a random reward
- Uses Terraria's full item database for random item selection
- Coins continue to drop normally
- One random item per kill by default
- Same enemy can drop different items every time
- Critter filtering to prevent passive creature farming
- Statue-spawn filtering to reduce exploit abuse
- Town NPC protection
- Configurable NPC exclusion list
- Hot-reload configuration support
- Console logging for generated drops
- Lightweight and performance-friendly
Download
Installation
- Download
RandomMobDrops.zip. - Extract the contents of the ZIP archive.
- Copy
RandomMobDrops.dllto your server'sServerPluginsfolder. - Restart your server.
- The configuration file will be generated automatically at
tshock/RandomMobDrops.json.
Compatibility
| Component | Version |
|---|---|
| Terraria | 1.4.5.6 |
| TShock | 6.1.0 |
| .NET | 9.0 |
| TSAPI | 2.1 |
Notes
RandomMobDrops intercepts Terraria's normal NPC loot system and replaces item drops with a single randomly selected item from the game's entire item database. Every eligible NPC kill generates a new random reward, ensuring that no two encounters are guaranteed to produce the same result. Vanilla coin drops are preserved, while regular NPC-specific item drops are suppressed.
The plugin is designed to be simple, lightweight, and easy to configure. Most servers can install it and start playing immediately without additional setup. Server owners can customize behavior through the generated configuration file, including NPC exclusions, stack sizes, and filtering options for critters and statue-spawned enemies.
If you encounter any issues or have suggestions for future improvements, feel free to open an issue on the repository.