item-modifier

#3 - published a year ago

Item Modifier

Item Modifier

Item Modifier is a plugin that allows you to modify items’ settings, much like you used to by modifying the files in the Bundles Folder.

This plugin uses no commands or permissions, you only have to modify the configuration.

Default Configuration:

<?xml version="1.0" encoding="utf-8"?>
<ItemModifierConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <Items/>
</ItemModifierConfiguration>

Modifying the configuration:

Firstly, replace:

<Items/>

with

<Items>
</Items>

You can begin by adding an item with:

<Item ID="The ID of the item you want to modify goes here.">
</Item>

The following are all the settings you can modify with this plugin. Please keep in mind that some of these are untested and may not work.

<!--Text like this you can remove or leave just it, this doesn't effect anything-->
<Width>0</Width><!--The width of any shirt, pants, backpack, etc. Max: 255, Min: 0 --><!--Working-->
<Height>0</Height><!--The width of any shirt, pants, backpack, etc. Max: 255, Min: 0 --><!--Working-->
<Health>0</Health><!--The health of a structure/barricade. Max: 65535, Min: 0 --><!--Working-->
<PlayerDamage>50</PlayerDamage><!--The base damage of a weapon against players. (Effected by multipliers)-->
<PlayerLegMultiplier>0.6</PlayerLegMultiplier><!--The multipliers of the damage against certain areas of a player-->
<PlayerArmMultiplier>0.6</PlayerArmMultiplier>
<PlayerSpineMultiplier>0.8</PlayerSpineMultiplier>
<PlayerSkullMultiplier>1.1</PlayerSkullMultiplier>
<ZombieDamage>50</PlayerDamage><!--The base damage of a weapon against zombies.-->
<ZombieLegMultiplier>0.6</ZombieLegMultiplier>
<ZombieArmMultiplier>0.6</ZombieArmMultiplier>
<ZombieSpineMultiplier>0.8</ZombieSpineMultiplier>
<ZombieSkullMultiplier>1.1</ZombieSkullMultiplier>
<AnimalDamage>50</AnimalDamage><!--The base damage of a weapon against animals.-->
<AnimalLegMultiplier>0.6</AnimalLegMultiplier>
<AnimalArmMultiplier>0.6</AnimalArmMultiplier>
<AnimalSpineMultiplier>0.8</AnimalSpineMultiplier>
<AnimalSkullMultiplier>1.1</AnimalSkullMultiplier>
<BarricadeDamage>0</BarricadeDamage><!--The damage of a weapon against barricades-->
<StructureDamage>0</StructureDamage><!--The damage of a weapon against structures-->
<VehicleDamage>0</VehicleDamage><!--The damage of a weapon against vehicles-->
<ResourceDamage>0</ResourceDamage><!--The damage of a weapon against resources-->
<ObjectDamage>0</ObjectDamage><!--The damage of a weapon against objects-->
<Invulnerable>true</Invulnerable><!--Allow a weapon to damage barricades/structures--><!--Not working-->
<Caliber>4</Caliber><!--The caliber of a gun--><!--Not working-->
<Range>200</Range><!--The range of a gun--><!--Not working-->
<SpreadAim>0</SpreadAim><!--The ADS spread of a gun--><!--Not working-->
<SpreadHip>0</SpreadHip><!--The hip-fire spread of a gun--><!--Not working-->
<Muzzle>0</Muzzle><!--The muzzle of a gun--><!--Not working-->
<Explosion>0</Explosion><!--Allows barricades/structures to take damage from explosives with the invulnerable tag. Not sure what it does for guns, but can be used with those-->
<Braked>true</Braked><!--A setting for barrels, not sure of it's purpose--><!--Not working-->
<Silenced>true</Silenced><!--The silenced option of a barrel--><!--Not working-->
<Volume>0.9</Volume><!--The volume of a barrel--><!--Not working-->
<BallisticDrop>0.1</BallisticDrop><!--The ballistic drop of a barrel-->

Here is an example to make the alicepack have a smaller inventory space:

<?xml version="1.0" encoding="utf-8"?>
<ItemModifierConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <Items>
  <Item ID="253">
   <Width>5</Width>
   <Height>3</Height>
  </Item>
 </Items>
</ItemModifierConfiguration>

Todo:

-Add many more modifiable settings.

If there are any settings you want, I can prioritize them if you comment them below.

Default configuration


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" />

Commands and permissions


This plugin doesn't have any commands.

Git changelog


cdd09c53ba4d7bc 2017-07-10 16:09:36

Added more modifications.

    c402bf2224ce39a 2017-07-03 15:19:23

    Fixed typo.

      2dadd4d8395e257 2017-07-03 15:11:32

      Added weapon damage and damage multipliers.

      • Sorted/Removed usings.

      Download

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

      Repository

      github.com

      License

      MIT

      Author

      IAmSilK