An advanced lightweight plugin with gun-mechanics that enhances your gaming experience!
- Break Blocks & Stage System upon activation(Regenerate System Soon).
- Custom Projectiles such as (BULLET, FLARE, ROCKET).
- Weapon Scoping/Unscoping upon activation.
- Critical hits can be given to the victim upon activation.
- Potion effects can be given to the victim upon activation.
- Custom ammunition types that can be fully-customized/changed or making your own.
- Headshot extra-hits damage can be given to the victim upon activation.
- Fully-Customizable when using resourcepacks.
- Default | Custom Sounds when shooting/reloading/scoping.
- Easy & Fast weapons customization with their own file.
- Weapons can have holograms when get dropped upon activation.
# +--------------------------------------------------------+ #
NO_PERMISSION: "&cYou do not have the permission to do that."
INSUFFICIENT_PERMISSIONS: "&cInsufficient Permissions"
PLAYER_NOT_FOUND: "Player not found online."
PLAYER_COMMAND: "&cThis command is only available to players."
SPECIFY_PLAYER: "Specify a player."
SPECIFY_AMOUNT: "Specify an amount."
SPECIFY_AMMO: "Specify an ammunition type."
NOT_VALID_AMMO: "&cInvalid ammunition type."
SPECIFY_WEAPON: "Specify an existing weapon."
NOT_VALID_WEAPON: "&cInvalid weapon type."
NOT_VALID_AMOUNT: "&cInvalid amount."
NOT_ENOUGH_SPACE: "&cNot enough space."
GAVE_AMMO: "&7You gave &c(%amount%) %ammo% ammunition &7to &2%player%."
GAVE_WEAPON: "&7You gave 1 %weapon% weapon &7to &2%player%."
KILLED_PLAYER_DEATH_MESSAGE: "&7%killer% &c&l%gun% &7%victim%"
itemLore: "&7The mostly widely used pistol round in the world.|&7The 9mm is great for the range or self defense."
itemName: "&c7.62 NATO"
itemLore: "&7A rimless bottlenecked rifle cartridge developed in the|&71950s as a standard for small arms among NATO countries."
itemLore: "&7A type of pyrotechnic that produces a brilliant light or|&7intense heat without an explosion."
itemLore: "&7A shoulder-fired anti-tank weapon system that fires rockets|&7equipped with an explosive warhead."
itemName: "&c.50 BMG"
itemLore: "&7The .50 BMG cartridge is also used in long-range target|&7and anti-materiel rifles, as well as other .50-caliber machine guns."
Sounds | Material Types
Plugin is using specific material name types and sounds in order to multi-version support 1.12 - 1.14+
▒▒ Creating a new Weapon
Before you create a weapon, you have to make sure that weapons folder exists inside KILLSHOT plugin folder. If weapons folder does not exist, you have to manually create it.
After that, lets get into the weapons part. To make a weapon you have to create a yml file with the weapon name inside weapons folder. For example scarl(Server must always be closed).
itemLore: ||| ...>
The item's display name - the name that the players will see when selecting this item.
The Material of the weapon item type. For example, if you would like the item to be a Diamond Pickaxe, you would put itemType: DIAMOND_PICKAXE
The durability of the weapon(itemType) breakable damage amount(short). For example, if your item is a Diamond Pickaxe and your custom textured weapon is with another damaged value of the selected type, you would put itemDurability:
The item's description. This is what players will see when hovering their mouse over the item. To indicate a new line, use a vertical bar |.
Example: item-lore: "&aThis is line one.|&bThis is line two.|&cThis is line three."
Set to true for creating a hologram on the current weapon when it gets dropped.
There are three projectile types that you can input: BULLET, FLARE, ROCKET
- Arrows are highly recommended for ordinary projectiles.
- Flares, travel in a relatively straight line and burn upon impact. Mostly for Flareguns.
- Rockets, travel in a relatively straight line and explode upon impact. Mostly for Rocket Launchers.
The amount of damage each projectile type will deal.
The number of projectiles that are launched per shot.
The speed of the fired projectile. A value from 0.1 - 10 is recommended(3-4 recommended) for bullets, and 0.1 - 4 for Flares and Rockets 1-2 recommended. Projectiles with a high speed will begin to show signs of path warping due to a visual bug on Minecraft's side.
The delay in ticks that the player must wait before the next shot can be fired.
Set the amount of the distance you want to remove a projectile. Flares and Rockets have different type of a distance removal. The difference between is that arrows are having ticks. For example, projectileDistance: 50 this is for Flares and Rockets projectileDistance: 10 this is for arrows. You can also check in the game the difference.
The sound played whenever the weapon is fired. Example, ENTITY_WITHER_DEATH-1-1.
The custom sound played whenever the weapon is fired. Example, note.m4_shoot, note.ak47_shoot.
This value essentially determines the magazine capacity of the weapon. In other words, how many bullets can this weapon hold and fire before a reload is required? And how many bullets will be restored to the weapon upon a reload?
The amount of time in ticks it will take to completely reload the weapon. Before you set any amount, it already has a delay of 2 seconds.
The Ammunition type to reload a weapon. All the ammunition types can be found from ammunition.yml file and you are able to create as many ammunition types you want.
In default, you will be going to have:
In order to use one of the ammunition types, you would put reloadAmmoType: "7,62"
The amount of ammo when the weapon needs to be reloaded. For example, if reloadAmmoType is 7.62, and reloadRemoveAmount is set to 1, then the weapon will remove 1 7.62 from your inventory to reload the weapon. If you want your weapon to be infinite, you would put reloadRemoveAmount: 0. Do not remove reloadAmmoType.
The sound played whenever the weapon is reloading. Example, ENTITY_WITHER_DEATH-1-1.
The custom sound played whenever the weapon is reloading. Example, note.assault_rifle_reload
The actionBar message the player will receive while reloading a weapon.
▒▒ Scope / Unscope
A weapon is having a scope when weaponScopeLevel is more than 0, otherwise it will not be having any scope.
The weapon scope level when the player is left-clicking.
This is similar to information#itemDurability. The durability of the weapon(itemType) breakable damage amount(short).
This is mostly for custom textured weapons by setting its breakable damage in order to change the weapon skin.
For unScoping the weapon, it is getting information#itemDurability value.
The sound played whenever the weapon is scoped/unscoped. Example, ENDERDRAGON_WINGS-2-2
How much extra damage a headshot will deal. Applies only to Bullet projectile type.
How much extra damage a critical hit will deal. The percentage chance that the shooter will score a critical hit is 2/10%. This option is not changeable yet.
The listed(placed) blocks from breakBlocksList will break based on the stageAmount while shooting. Example, - GLASS-1 when shooting a glass once, it will cause a break effect and remove the block naturally on interact.
The potion effect that will be given to the victim upon activation. Specify a potion type, followed by the duration of the effect in seconds, followed by the level.
This would mean the victim will receive a Poison V potion effect for 10 seconds, and a Blindness I potion effect for 30 seconds.
List of accepted values for potionType:
Terms of Service (you agree to, by buying/downloading this plugin):
- You are responsible what happens with the plugin after you download, therefore, if plugin is leaked or redistributed and it's registered under your name, I am allowed to remove you from buyers list without a warning. I may be obligated to report you on SpigotMC, which might lead to your account being permanently suspended (banned).
- You may not redistribute plugin, in any shape or form neither it's code or parts of it.
- You may ask me for support if plugin doesn't function the way it's supposed to.
- No refunds, all payments are final as by buying you gain access to this resource without ability to stop it.
More information about the plugin is provided in configuration files
(you will have to go through buyer verification process before getting accepted for support, if you don't have access to "Download" button here don't even bother joining and begging for help or bothering users via PM)