This plugin allows players to quickly reload all weapons in their hotbar using available ammo from their inventory. It also provides an option to unload weapons, returning their ammo to the inventory.
Permissions
reloadhotbar.use
- Allows players to use both the reload and unload commands.
Commands
/reload
- Reloads all weapons in the player's hotbar using available ammo from their inventory./unload
- Unloads all weapons in the player's hotbar, returning their ammo to the inventory.
Configuration
JSON:
{
"Version": "1.0.0",
"Reload Chat Command": "reload",
"Unload Chat Command": "unload"
}
Reload Chat Command
- Defines the chat command players use to reload all their hotbar weapons.Unload Chat Command
- Defines the chat command players use to unload all their hotbar weapons.
Localization
JSON:
{
"NoPermission": "You do not have permission to use this command.",
"Reloading": "Reloading your hotbar weapons...",
"NoWeapon": "No weapons in your hotbar need reloading.",
"SuccessReload": "Reloaded {0} weapons using a total of {1} ammo:\n{2}",
"NoAmmo": "You have no matching ammo in your inventory to reload your weapons.",
"Unloading": "Unloading your hotbar weapons...",
"SuccessUnload": "Unloaded {0} weapons, removing a total of {1} ammo:\n{2}"
}