Weapon Modification Commands
Changelog
- Added /Attachment [Attachment ID/Name]
- Added /Attachment [Magazine ID/Name]
- Added /UnlimitedAmmo
- Added /UnlimitedAmmo [Max Ammo Override]
- Added /UnlockFireModes
- Added Attachment Blacklist for /Attachment
- Added option to disable easily abused commands
New Commands
/Attachment
This command allows you to forcibly add an attachment/magazine to the gun your holding.
For example, you could give a nail-gun an 8x scope and a bipod. You could also make it fire explosive arrows.
/UnlockFireModes
This works similarly to /SetFireMode, however, it allows you to cycle through all fire modes using your change fire hotkey.
Note: This does not work reliably for guns that only have a single fire mode. For these weapons, you can still use /SetFireMode.
Config Changes
BlacklistedAttachments
This setting allows you to blacklist attachments and magazines from /Attachment. This defaults to all of Unturned's unobtainable barrels (e.g., Bow Barrel), however, you can add any attachment or magazine ID to this.
DisableAbusableCommands
Due to the new commands that don't have many actual administrative uses, by enabling this, all of these commands will be disabled. This saves you the hassle of manually disabling commands in the commands config.