easyammo

#194 - published lessthan a minute ago

EasyAmmo


ChangeLog:

  • Updated libraries to fix potential issues with rocket

Extra permissions:

  • <Permission Cooldown=”0″>easyammo.bypasslimit</Permission> – bypass mag spawning limit
  • <Permission Cooldown=”0″>ammo.amount</Permission> – Required for players to be able to spawn more than 1 mag using /ammo
  • <Permission Cooldown=”0″>dropammo.amount</Permission> – Required for players to be able to drop more than 1 mag using /dropammo
  • <Permission Cooldown=”0″>clonei.amount</Permission> – Required for players to be able to clone a item more than once using /clonei
  • <Permission Cooldown=”0″>easyammo.bypassblacklist</Permission> – Bypass the item blacklist
  • <Permission Cooldown=”0″>clonei.bypassblacklist</Permission> – Bypass the item blacklist for clonei

 

 

Do /ammo (amount) or /ammo to get magazines for the current weapon you are holding.

Just doing /ammo will give you one magazine of your currently equipped gun

Todo:

  • tweak /ammo to spawn in the magazine currently in your held weapon (if there are
    any developers that can help me with this i would appreciate it)

Additional Notes:
– if you have ScaleCostByWeaponDamage enabled it will override PerBulletCostMultiplier
If you would like to donate to me it can be done here (click the paypal donate button under the text) – http://sharkbound.weebly.com/

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<EasyAmmoConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ClipLimit>10</ClipLimit>
  <UconomySupportEnabled>false</UconomySupportEnabled>
  <PerBulletCostMultiplier>1</PerBulletCostMultiplier>
  <ClipLimitEnabled>true</ClipLimitEnabled>
  <ScaleCostByWeaponDamage>true</ScaleCostByWeaponDamage>
  <WeaponDamageCostMultiplier>2</WeaponDamageCostMultiplier>
  <BannedIds>
    <Id>65535</Id>
  </BannedIds>
</EasyAmmoConfig>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Translation Id="over_clip_spawn_limit_giving" Value="{0} is over the spawn limit, giving you {1} of &quot;{2}&quot; ID: &quot;{3}&quot; instead" />
  <Translation Id="over_clip_spawn_limit_dropping" Value="{0} is over the spawn limit, dropping {1} of &quot;{2}&quot; ID: &quot;{3}&quot; instead" />
  <Translation Id="balance" Value="Remaining balance: {0}" />
  <Translation Id="cost" Value="Cost Per-Mag: {0}" />
  <Translation Id="no_gun_equipped" Value="You dont have any guns equipped!" />
  <Translation Id="nothing_equipped" Value="You dont have anything equipped!" />
  <Translation Id="gun_asset_not_found" Value="Gun asset is not found!" />
  <Translation Id="dropping_mags" Value="Dropping {0} of &quot;{1}&quot; ID: &quot;{2}&quot; on your location" />
  <Translation Id="giving_mags" Value="Giving you {0} of &quot;{1}&quot; ID: &quot;{2}&quot;" />
  <Translation Id="removed_mags" Value="Removed {0} Magazines from your inventory!" />
  <Translation Id="failed_to_spawn_mags" Value="Failed to spawn a magazine for the gun you are holding!" />
  <Translation Id="not_enough_funds" Value="You dont have enough {0} to buy {1} of {2}, {0} need: {3}" />
  <Translation Id="cloned_item" Value="Cloned &quot;{0}&quot; {1} times!" />
  <Translation Id="weapon_blacklisted" Value="The weapon &quot;{0}&quot; is blacklisted, you cannot spawn mags for it using this command!" />
  <Translation Id="Clonei_item_blacklisted" Value="The item &quot;{0}&quot; is blacklisted, you cannot clone this item using this command!" />
</Translations>

Commands and permissions


/ammo <amount of ammo>

Permissions: ammo

gives you the specified number of clips for your currently equipped weapon.


/clearmag (ammo count)

Permissions: clearmag

clears empty ammo magazines from your inventory


/clonei (amount)

Permissions: clonei

Gives you a clone of your current item


/dropammo (amount of ammo)

Permissions: dropammo

drops the specified number of clips for your currently equipped weapon.


Git changelog


5b1d17058bdd153 2017-07-18 22:54:08

why u no update unturned version rocket (ノಠ益ಠ)ノ彡┻━┻

    Download

    Build #194
    By downloading this file, you agree to our license terms.

    Repository

    github.com

    License

    MIT

    Author

    sharkbound