Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions main/plugins/CrackShot/general.pub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#Visit the Complete Guide to CrackShot for information on everything in the configuration.
#https://github.com/Shampaggon/CrackShot/wiki/The-Complete-Guide-to-CrackShot

#Use this node to completely disable CrackShot in certain worlds. Example usage:
#
#Disabled_Worlds:
# - world_nether
# - world_the_end
# - world_foldername
#
#"Disabled_Worlds: []" means the list is empty. Change it to "Disabled_Worlds:" before listing worlds.
#Remember not to use any tabs. The spacing must also be correct.
Disabled_Worlds: []

#Use this module to limit the amount of weapons a player can have in the hot bar.
#If the specified amount is exceeded, the weapon cannot be used. Example usage:
#
#Inventory_Control:
# Group_Primary:
# Limit: 2
# Group_BlaBlaBla:
# Limit: 2
# Whatever_Name_You_Want:
# Limit: 2
#
#You can create as many groups as you want. Messages and sounds are optional.
#Enforce these limits using the Inventory_Control node in the weapon's Item_Information module.
#The example below is used for the default weapon Bazooka.
Inventory_Control:
Group_Bazookas:
Limit: 1
Message_Exceeded: "&e[IC] &bYou cannot have more than one Bazooka in the hot bar!"
Sounds_Exceeded: LAVA_POP-1-1-0

#A merged reload refers to the act of reloading multiple weapons in the same slot.
#Set "Disable" to true if you wish to prevent players from doing this.
#Messages and sounds are optional.
Merged_Reload:
Disable: false
Message_Denied: "&eYou cannot reload slots that contain more than one weapon!"
Sounds_Denied: VILLAGER_NO-1-1-0
32 changes: 32 additions & 0 deletions main/plugins/CrackShot/messages.pub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#Visit the Complete Guide to CrackShot for information on everything in the configuration.
#https://github.com/Shampaggon/CrackShot/wiki/The-Complete-Guide-to-CrackShot

#These are the messages most likely to be seen by the ordinary, non-administrative player.
#Feel free to customize them to your liking.
#
#Notes:
# - Some messages use special variables, such as "<amount>", "<item>" and "<cross>".
# They represent numbers, weapon names and the multiplication sign.
# - It is good practice to surround all messages with quotes (").
# - To completely hide a message, provide an empty message. (i.e. Store_Created: "")
# - Color codes are not supported.

#Permission-related messages.
NP_Weapon_Use: "You do not have permission to use this."
NP_Weapon_Craft: "You do not have permission to craft this."
NP_Store_Create: "You do not have permission to create this store."
NP_Store_Purchase: "You do not have permission to purchase this item."

#Store-related messages.
Store_Created: "Store successfully created!"
Store_Cannot_Afford: "You cannot afford to purchase this item."
Store_Items_Needed: "You need <amount> <item>."
Store_Purchased: "Item purchased - <item>"

#The message displayed when the reload command is used on a weapon that cannot be reloaded.
#Not to be confused with "/shot config reload", which reloads the configuration.
Cannot_Reload: "This weapon cannot be reloaded."

#The message displayed when a player receives a weapon given with the give command.
#The command in question has the format "/shot give <user> <weapon> <#>".
Weapon_Received: "Package received - <item> <cross><amount>"
54 changes: 54 additions & 0 deletions main/plugins/CrackShot/weapons/defaultAttachments.pub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
M320:
Item_Information:
Attachments:
Type: accessory
Toggle_Delay: 5
Sounds_Toggle: NOTE_STICKS-1-2-0
Shooting:
Cancel_Left_Click_Block_Damage: true
Cancel_Right_Click_Interactions: true
Recoil_Amount: 2
Projectile_Amount: 1
Projectile_Type: egg
Projectile_Speed: 20
Projectile_Damage: 1
Sounds_Shoot: EXPLODE-1-2-0
Sneak:
Enable: true
No_Recoil: true
Reload:
Enable: true
Reload_Amount: 1
Reload_Duration: 45
Sounds_Reloading: PISTON_EXTEND-1-1-10,SKELETON_WALK-1-0-20,PISTON_RETRACT-1-1-35
Particles:
Enable: true
Particle_Impact_Anything: BLOCK_BREAK-24
Explosions:
Enable: true
Damage_Multiplier: 10
Explosion_No_Grief: true
Explosion_Radius: 5
On_Impact_With_Anything: true
Projectile_Activation_Time: 5
Sounds_Shooter: SHOOT_ARROW-2-2-0

Tactical_Knife:
Item_Information:
Item_Name: "&eTactical Knife"
Item_Type: 288
Item_Lore: "&eA melee attachment.|&eNot intended for standalone use."
Melee_Mode: true
Sounds_Acquired: SHOOT_ARROW-1-0-0
Hidden_From_List: true
Shooting:
Cancel_Left_Click_Block_Damage: true
Cancel_Right_Click_Interactions: true
Delay_Between_Shots: 20
Projectile_Damage: 40
Particles:
Enable: true
Particle_Hit: BLOCK_BREAK-55
Hit_Events:
Enable: true
Sounds_Shooter: SHOOT_ARROW-1-0-0,SLIME_WALK-1-1-1
232 changes: 232 additions & 0 deletions main/plugins/CrackShot/weapons/defaultExplosives.pub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
CocoPops:
Item_Information:
Item_Name: "&eCocoPops"
Item_Type: 351~3
Item_Lore: "&eA cluster bomb that releases|&e10 bomblets upon detonation."
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Remove_Unused_Tag: true
Shooting:
Right_Click_To_Shoot: true
Cancel_Right_Click_Interactions: true
Projectile_Amount: 1
Projectile_Type: grenade
Projectile_Subtype: 351~3
Projectile_Speed: 12
Sounds_Projectile: EAT-2-1-28,EAT-2-1-32,EAT-2-1-36
Sounds_Shoot: FIRE_IGNITE-2-0-0
Cluster_Bombs:
Enable: true
Bomblet_Type: 362
Delay_Before_Split: 40
Number_Of_Splits: 1
Number_Of_Bomblets: 10
Speed_Of_Bomblets: 8
Delay_Before_Detonation: 40
Detonation_Delay_Variation: 10
Particle_Release: BLOCK_BREAK-127
Sounds_Release: BURP-2-1-0
Explosions:
Enable: true
Damage_Multiplier: 25
Explosion_No_Grief: true
Explosion_Radius: 4
Sounds_Explode: ITEM_PICKUP-2-1-0
Extras:
One_Time_Use: true

Trinket:
Item_Information:
Item_Name: "&eTrinket"
Item_Type: 264
Item_Lore: "&eLeft-click to set the owner.|&eExplodes when:|&e- picked up|&e- shot out of a dispenser|&e- a chest containing this item is opened|&e- placed in an item frame, and nearby|&e ...pressure plates are stepped on.|&e&oOwners cannot trigger their own traps."
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Explosive_Devices:
Enable: true
Device_Type: trap
Device_Info: true-true-true-false-false
Sounds_Deploy: ITEM_PICKUP-2-0-0
Message_Trigger_Placer: "&e<victim> has triggered your booby trap!"
Message_Trigger_Victim: "&eYou have triggered <shooter>'s booby trap!"
Sounds_Trigger: SHEEP_IDLE-2-1-0
Explosions:
Enable: true
Damage_Multiplier: 50
Explosion_No_Grief: true
Enable_Owner_Immunity: true
Explosion_Radius: 5
Explosion_Potion_Effect: POISON-100-2,HUNGER-100-2
Explosion_Delay: 10
Sounds_Explode: WITHER_SHOOT-2-2-0

Putty:
Item_Information:
Item_Name: "&ePutty"
Item_Type: 404
Item_Lore: "&eRemote explosives.|&eRight click to throw.|&eLeft click to detonate."
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Shooting:
Cancel_Left_Click_Block_Damage: true
Cancel_Right_Click_Interactions: true
Explosive_Devices:
Enable: true
Device_Type: itembomb
Device_Info: 2,10,159,159~14
Sounds_Deploy: SHOOT_ARROW-1-0-0
Sounds_Alert_Placer: CLICK-1-1-0
Sounds_Trigger: SHEEP_SHEAR-1-2-0
Explosions:
Enable: true
Explosion_No_Grief: true
Explosion_Radius: 5
Explosion_Delay: 16
Sounds_Explode: ZOMBIE_WOOD-2-0-0

C4:
Item_Information:
Item_Name: "&eC4"
Item_Type: 69
Item_Lore: "&eRemote explosives.|&eRight click to place.|&eLeft click to detonate."
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Shooting:
Cancel_Left_Click_Block_Damage: true
# Ammo:
# Enable: true
# Ammo_Item_ID: 46
# Take_Ammo_Per_Shot: true
Explosive_Devices:
Enable: true
Device_Type: remote
Device_Info: 2-1A-TheStabbyBunny
Sounds_Deploy: CHICKEN_EGG_POP-1-1-0
Message_Disarm: "&eYou have disarmed an explosive device."
Message_Trigger_Placer: "&e<victim> has set off your C4!"
Message_Trigger_Victim: "&eYou have set off <shooter>'s C4!"
Sounds_Alert_Placer: CLICK-1-1-0
Sounds_Trigger: SHEEP_SHEAR-1-1-0
Explosions:
Enable: true
Explosion_No_Grief: true
Explosion_Radius: 6
Explosion_Delay: 16
Sounds_Explode: ZOMBIE_WOOD-2-0-0
# Extras:
# One_Time_Use: true

Airstrike:
Item_Information:
Item_Name: "&eHarrier Strike"
Item_Type: 76
Item_Lore: "&eCalls in an airstrike at the|&eposition of the thrown flare."
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Remove_Unused_Tag: true
Shooting:
Right_Click_To_Shoot: true
Cancel_Right_Click_Interactions: true
Projectile_Amount: 1
Projectile_Type: flare
Projectile_Subtype: 76
Projectile_Speed: 10
Sounds_Shoot: FIRE_IGNITE-2-0-0,FIZZ-2-0-0
Airstrikes:
Enable: true
Flare_Activation_Delay: 60
Particle_Call_Airstrike: lightning
Message_Call_Airstrike: "&eFriendly airstrike on the way."
Block_Type: 85
Area: 4
Distance_Between_Bombs: 4
Height_Dropped: 90
Vertical_Variation: 10
Horizontal_Variation: 10
Multiple_Strikes:
Enable: true
Number_Of_Strikes: 3
Delay_Between_Strikes: 20
Sounds_Airstrike: ENDERMAN_STARE-2-2-0
Explosions:
Enable: true
Explosion_No_Grief: true
Explosion_Radius: 4
Sounds_Explode: ENDERDRAGON_HIT-2-2-0
Extras:
One_Time_Use: true

Grenade:
Item_Information:
Item_Name: "&eFrag Grenade"
Item_Type: 402
Item_Lore: "&eExplodes three seconds after launch."
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Remove_Unused_Tag: true
Shooting:
Right_Click_To_Shoot: true
Cancel_Right_Click_Interactions: true
Delay_Between_Shots: 10
Projectile_Amount: 1
Projectile_Type: grenade
Projectile_Subtype: 46
Projectile_Speed: 10
Sounds_Shoot: SHOOT_ARROW-2-0-0
Explosions:
Enable: true
Explosion_No_Grief: true
Explosion_Radius: 4
Explosion_Delay: 60
Extras:
One_Time_Use: true

Flashbang:
Item_Information:
Item_Name: "&eFlashbang"
Item_Type: 351~8
Item_Lore: "&eDisorientates the target upon detonation."
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Remove_Unused_Tag: true
Shooting:
Right_Click_To_Shoot: true
Cancel_Right_Click_Interactions: true
Delay_Between_Shots: 10
Projectile_Amount: 1
Projectile_Type: grenade
Projectile_Subtype: 351~8
Projectile_Speed: 10
Sounds_Shoot: SHOOT_ARROW-2-0-0
Explosions:
Enable: true
Explosion_No_Grief: true
Explosion_No_Damage: true
Explosion_Radius: 6
Explosion_Potion_Effect: BLINDNESS-120-1,SLOW-120-1
Explosion_Delay: 20
Sounds_Victim: LEVEL_UP-1-0-0
Sounds_Explode: ANVIL_LAND-2-1-0
Extras:
One_Time_Use: true

Toaster:
Item_Information:
Item_Name: "&eToaster"
Item_Type: 343
Item_Lore: "&eAnti-personnel mine.|&eTriggers a fiery explosion when:|&e- walked into by mobs or players|&e- struck with fists or items|&e- shot by projectiles"
Sounds_Acquired: BAT_TAKEOFF-1-1-0
Remove_Unused_Tag: true
Shooting:
Right_Click_To_Shoot: true
Cancel_Right_Click_Interactions: true
Explosive_Devices:
Enable: true
Device_Type: landmine
Device_Info: 46,MINECART
Sounds_Deploy: ORB_PICKUP-2-2-0
Message_Trigger_Placer: "&e<victim> has triggered your mine!"
Message_Trigger_Victim: "&eYou have triggered <shooter>'s mine!"
Sounds_Trigger: ITEM_BREAK-2-1-0,ZOMBIE_UNFECT-2-2-0
Explosions:
Enable: true
Ignite_Victims: 120
Explosion_No_Grief: true
Explosion_Radius: 4
Explosion_Delay: 16
Sounds_Explode: FIRE-2-0-0,ZOMBIE_METAL-2-0-0
Extras:
One_Time_Use: true
Loading