Version 1.0.2
9 downloads
Windmill Upgrades adds a part based upgrade system to electrical windmills, allowing their performance to be improved. Each part type has 3 tiers.
Players can open an upgrade interface while looking at a windmill and holding a hammer, then install custom parts by dragging them into specific slots. The menu input button is configurable, with support for RELOAD, USE, MIDDLE CLICK, and RIGHT CLICK.
Each upgrade part affects the windmill’s stats, allowing you to tune max output, effective height, wind capture, power stability, and thunder performance through a simple interface. Parts are matched to their proper module slots, upgrades are saved per windmill, and all changes are applied directly to the entity in a lightweight, persistent system.
The plugin also includes optional loot crate support, letting you control whether upgrade parts can appear in loot containers and set per-container drop chances for each tier. Alternatively, the parts can be added to any of your existing systems such as shops or crafting plugins.
The upgrade parts are all configured in the config, with unique icons and stats, allowing you to quickly deploy this functionality to your server.
As with most of my content, localization is possible, with a default English lang file included.
The part shortnames and skins are all pre-configured but can be modified, or replaced with items from my Custom Item Manager.
Permissions:
windmillupgrades.use - Allows players to open and use the windmill upgrade interface.
windmillupgrades.admin - Allows access to the admin part giving command.
Commands:
/wmpart - Admin chat command to give yourself all of the available parts for testing or adding to shops. Optionally can specify amount if you need more than one of each.
Pre-Configured Parts:
Blades:
Shaft:
Generator:
Regulator:
Lightning Rod:
Default Config: