Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjwinters committed Oct 30, 2014
0 parents commit 4d4c6b3
Show file tree
Hide file tree
Showing 6 changed files with 2,603 additions and 0 deletions.
7 changes: 7 additions & 0 deletions FunGrenades/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="C:/Users/Jordan/Documents/Minecraft/BukkitServer/BukkitAPI/bukkit-1.7.9-R0.2.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1 change: 1 addition & 0 deletions FunGrenades/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin/
17 changes: 17 additions & 0 deletions FunGrenades/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>FunGrenades</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
190 changes: 190 additions & 0 deletions FunGrenades/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@

### FunGrenades Configs
# Notes:
# All of the values specifying time are in ticks, unless stated to be seconds.
# 20 ticks is about 1 second.


### GENERAL
#
# Ticks all players must wait before throwing another grenade.
throw_cooldown: 20

# Enable items to be renamed into FunGrenades; useful for adding grenades to kits,
# but makes it possible for people to 'illegitimately' obtain grenades with an anvil.
renaming_allowed: false

# Global switch for allowing crafting of FunGrenades.
# With this set to false, all the recipe configs below are useless.
allow_crafting: true

# Materials that will NOT trigger a grenade to be thrown when right-clicked.
# (Should be the same as when throwing a snowball, but in case I missed any, you can
# edit the list here)
right_click_safe_materials:
- WOOD_DOOR
- WOODEN_DOOR
- IRON_DOOR
- IRON_DOOR_BLOCK
- TRAP_DOOR
- CHEST
- ENDER_CHEST
- WORKBENCH
- FURNACE
- ANVIL
- ENCHANTMENT_TABLE
- BREWING_STAND
- STONE_BUTTON
- WOOD_BUTTON
- LEVER
- FENCE_GATE

### HE (Classic) Grenade
detonation_time_he: 30
explosion_strength_he: 4
causes_fire_he: false
block_destruction_he: true
classic:
recipe:
- BXB
- XAX
- BXB
materials:
A: TNT
B: CLAY_BALL

### Smoke Bomb
detonation_time_smoke: 20
duration_seconds_smoke: 20
smokebomb:
recipe:
- BCB
- XAX
- BXB
materials:
A: TORCH
B: CLAY_BALL
C: COAL

### Glue Bomb
detonation_time_glue: 30
duration_seconds_glue: 20
gluebomb:
recipe:
- BXB
- XAX
- BXB
materials:
A: BONE
B: STRING

### Pineapple
detonation_time_pineapple: 30
explosion_strength_pineapple: 1
causes_fire_pineapple: false
block_destruction_pineapple: true
pineapple:
recipe:
- BXB
- XAX
- BXB
materials:
A: TNT
B: ARROW

### Napalm
detonation_time_napalm: 30
napalm:
recipe:
- BXB
- XAX
- BXB
materials:
A: LAVA_BUCKET
B: BLAZE_POWDER

### Teardrop
detonation_time_teardrop: 30
teardrop:
recipe:
- BXB
- XAX
- BXB
materials:
A: WATER_BUCKET
B: SLIME_BALL

### Icicle
detonation_time_icicle: 30
icicle:
recipe:
- BXB
- XAX
- BXB
materials:
A: DIAMOND
B: SNOW_BALL

### Jackhammer
detonation_time_jack: 30
causes_fire_jack: false
jackhammer:
recipe:
- XCX
- XAX
- XBX
materials:
A: TNT
B: TRAP_DOOR
C: FLINT

### Pester
detonation_time_pester: 30
max_bat_duration: 220
pester:
recipe:
- BXB
- XAX
- BXB
materials:
A: BONE
B: LEATHER

### Zapper
detonation_time_zapper: 30
zap_propegation: 50
zap_damage: 8
zapper:
recipe:
- BXB
- XAX
- BXB
materials:
A: REDSTONE
B: GOLD_NUGGET

### Decay
detonation_time_decay: 30
duration_seconds_decay: 20
decay_damage: 2
decay:
recipe:
- BXB
- XAX
- BXB
materials:
A: ROTTEN_FLESH
B: BROWN_MUSHROOM

### Acme Hole
duration_seconds_acme: 8
acme_hole_depth: 8
acme:
recipe:
- BXB
- XAX
- BXB
materials:
A: ENDER_PEARL
B: COAL

72 changes: 72 additions & 0 deletions FunGrenades/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: FunGrenades
main: com.gmail.wintersj7.fungrenades.FunGrenades
version: 2.2
author: Waffles87
description: Throw some unique and fun grenades!
permissions:
fg.*:
description: Gives access to FunGrenades features except admin commands.
children:
fg.classic: true
fg.smokebomb: true
fg.gluebomb: true
fg.pineapple: true
fg.icicle: true
fg.teardrop: true
fg.napalm: true
fg.jackhammer: true
fg.zapper: true
fg.pester: true
fg.decay: true
fg.acme: true
fg.give:
description: Allows a player to use the fg.give command.
default: op
fg.reload:
description: Allows a player to use the fg.reload command.
default: op
fg.classic:
description: Allows a player to get and throw classic HE bombs.
default: true
fg.smokebomb:
description: Allows a player to get and throw smoke bombs.
default: true
fg.gluebomb:
description: Allows a player to get and throw glue bombs.
default: true
fg.pineapple:
description: Allows a player to get and throw pineapples.
default: true
fg.icicle:
description: Allows a player to get and throw icicles.
default: true
fg.teardrop:
description: Allows a player to get and throw teardrops.
default: true
fg.napalm:
description: Allows a player to get and throw napalm bombs.
default: true
fg.jackhammer:
description: Allows a player to get and throw jackhammers.
default: true
fg.pester:
description: Allows a player to get and throw pester bombs.
default: true
fg.zapper:
description: Allows a player to get and throw zappers.
default: true
fg.decay:
description: Allows a player to get and throw death and decay.
default: true
fg.acme:
description: Allows a player to get and throw ACME holes.
default: true
commands:
fg.give:
description: Gives a player grenades, used just like the /give command
usage: /<command> player type amount
fg.reload:
description: Reloads the FunGrenades configs.
usage: /<command>


Loading

0 comments on commit 4d4c6b3

Please sign in to comment.