easyammo

last built 4 months ago
Build #227
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin does not compile with the latest version of RocketMod.
Contact the author and kindly ask him to update this plugin or consider fixing it on GitHub.

The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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


Git changelog


58a7f77d047cba7 2019-05-12 11:27:01

Fixed.

    35dd6304bee13a4 2016-09-16 03:52:58

    made banned items apply to /clonei

      0f4b30058cb891d 2016-08-03 02:33:39

      added metadata index reference

        06eda6c6c0f804b 2016-07-22 15:42:04

        added clonei.amount permission

          7e8f4c8df1978e8 2016-07-13 02:21:35

          removed debug line

            3292f323ef770f3 2016-07-13 02:11:50

            fixed bug with trying to get multiple mags when adding c onto the end of the commands

              f22d564b2c19c8a 2016-07-12 01:37:34

              removed refence jenkins was complaining about

                dd59f6d8745092c 2016-07-12 01:13:45

                trying to fix it so jenkins can build it

                  6418ba33f966102 2016-07-12 01:09:01

                  updated uconomy lib

                    60c4f140e8a8019 2016-07-12 01:00:04

                    updated libs

                      cfb2b046225af1c 2016-07-06 09:57:15

                      opps... forgot to update CommandDropAmmo.cs

                        385cf0f50e4367a 2016-07-06 09:51:53

                        for it to try to spawn the mag thats currently in the gun you need to add the letter c after the command

                          10a704f2c29c35e 2016-07-05 18:41:26

                          removed post-build command

                            a3e2fe1fcfa082d 2016-07-05 18:32:03

                            tweaked /dropammo and /ammo to give you the mag currently in your weapon if there is one in it, also added /clonei to clone your held item

                              3622c895a4928de 2016-07-01 17:53:25

                              uncommented magsRemoved++;

                                643101d81d87505 2016-07-01 15:45:29

                                removed debug testing line

                                  c9344956ee7c3af 2016-07-01 05:06:12

                                  Fixed /clearmag to clear every mag in your inventory, and added weapon damage cost scaling

                                    d02c25a507ac2dd 2016-06-27 17:04:15

                                    added weaponblacklisting

                                      f4801a88a9c2931 2016-06-27 16:13:05

                                      fixed Uconomy.dll being copied into output

                                        41e68411d056871 2016-06-27 16:03:29

                                        added /clearmag (still WIP) and added uconomy support for /ammo

                                          a401c22c3ee502e 2016-06-20 16:44:56

                                          added extra permissions dropammo.amount and ammo.amount to spawn multiple items at once using /ammo or /dropamm0

                                            f7ff1405296f4e3 2016-06-19 01:48:49

                                            added /dropammo (amount) and added more translations

                                              8cd6f55ca79dc76 2016-06-18 00:44:08

                                              added translations for everything

                                                f509adc0be2a9e3 2016-06-18 00:23:04

                                                ignored temp files and EasyAmmo.v12.SUO

                                                  3cdde449d8f4a77 2016-06-17 21:41:15

                                                  ..

                                                    3db053bfbb4af66 2016-06-17 21:37:14

                                                    ..

                                                      c8d28743da92025 2016-06-17 21:33:35

                                                      ..

                                                        162eecfeb23f478 2016-06-17 19:33:27

                                                        updated libs

                                                          974b75053b0e06d 2016-06-17 17:05:42

                                                          added clip spawning limit config option. And revised code some

                                                            d2b840d00ca419f 2016-06-17 15:42:32

                                                            initial commit