Last active
October 12, 2015 10:57
-
-
Save jamietech/4015971 to your computer and use it in GitHub Desktop.
Selective Death Drops default configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Items that will ALWAYS DROP when a player dies (whitelist: items not on this list will NOT drop) | |
always_drop: | |
- 0 # Air | |
- 1 # Stone | |
- 2 # Grass | |
- 3 # Dirt | |
- 4 # Cobblestone | |
- 5 # Wood | |
- 6 # Sapling | |
- 7 # Bedrock | |
- 8 # Water | |
- 9 # Stationary Water | |
- 10 # Lava | |
- 11 # Stationary Lava | |
- 12 # Sand | |
- 13 # Gravel | |
- 14 # Gold Ore | |
- 15 # Iron Ore | |
- 16 # Coal Ore | |
- 17 # Log | |
- 18 # Leaves | |
- 19 # Sponge | |
- 20 # Glass | |
- 21 # Lapis Ore | |
- 22 # Lapis Block | |
- 23 # Dispenser | |
- 24 # Sandstone | |
- 25 # Note Block | |
- 26 # Bed Block | |
- 27 # Powered Rail | |
- 28 # Detector Rail | |
- 29 # Piston Sticky Base | |
- 30 # Web | |
- 31 # Long Grass | |
- 32 # Dead Bush | |
- 33 # Piston Base | |
- 34 # Piston Extension | |
- 35 # Wool | |
- 36 # Piston Moving Piece | |
- 37 # Yellow Flower | |
- 38 # Red Rose | |
- 39 # Brown Mushroom | |
- 40 # Red Mushroom | |
- 41 # Gold Block | |
- 42 # Iron Block | |
- 43 # Double Step | |
- 44 # Step | |
- 45 # Brick | |
- 46 # Tnt | |
- 47 # Bookshelf | |
- 48 # Mossy Cobblestone | |
- 49 # Obsidian | |
- 50 # Torch | |
- 51 # Fire | |
- 52 # Mob Spawner | |
- 53 # Wood Stairs | |
- 54 # Chest | |
- 55 # Redstone Wire | |
- 56 # Diamond Ore | |
- 57 # Diamond Block | |
- 58 # Workbench | |
- 59 # Crops | |
- 60 # Soil | |
- 61 # Furnace | |
- 62 # Burning Furnace | |
- 63 # Sign Post | |
- 64 # Wooden Door | |
- 65 # Ladder | |
- 66 # Rails | |
- 67 # Cobblestone Stairs | |
- 68 # Wall Sign | |
- 69 # Lever | |
- 70 # Stone Plate | |
- 71 # Iron Door Block | |
- 72 # Wood Plate | |
- 73 # Redstone Ore | |
- 74 # Glowing Redstone Ore | |
- 75 # Redstone Torch Off | |
- 76 # Redstone Torch On | |
- 77 # Stone Button | |
- 78 # Snow | |
- 79 # Ice | |
- 80 # Snow Block | |
- 81 # Cactus | |
- 82 # Clay | |
- 83 # Sugar Cane Block | |
- 84 # Jukebox | |
- 85 # Fence | |
- 86 # Pumpkin | |
- 87 # Netherrack | |
- 88 # Soul Sand | |
- 89 # Glowstone | |
- 90 # Portal | |
- 91 # Jack O Lantern | |
- 92 # Cake Block | |
- 93 # Diode Block Off | |
- 94 # Diode Block On | |
- 95 # Locked Chest | |
- 95 # Stained Glass | |
- 96 # Trap Door | |
- 97 # Monster Eggs | |
- 98 # Smooth Brick | |
- 99 # Huge Mushroom 1 | |
- 100 # Huge Mushroom 2 | |
- 101 # Iron Fence | |
- 102 # Thin Glass | |
- 103 # Melon Block | |
- 104 # Pumpkin Stem | |
- 105 # Melon Stem | |
- 106 # Vine | |
- 107 # Fence Gate | |
- 108 # Brick Stairs | |
- 109 # Smooth Stairs | |
- 110 # Mycel | |
- 111 # Water Lily | |
- 112 # Nether Brick | |
- 113 # Nether Fence | |
- 114 # Nether Brick Stairs | |
- 115 # Nether Warts | |
- 116 # Enchantment Table | |
- 117 # Brewing Stand | |
- 118 # Cauldron | |
- 119 # Ender Portal | |
- 120 # Ender Portal Frame | |
- 121 # Ender Stone | |
- 122 # Dragon Egg | |
- 123 # Redstone Lamp Off | |
- 124 # Redstone Lamp On | |
- 125 # Wood Double Step | |
- 126 # Wood Step | |
- 127 # Cocoa | |
- 128 # Sandstone Stairs | |
- 129 # Emerald Ore | |
- 130 # Ender Chest | |
- 131 # Tripwire Hook | |
- 132 # Tripwire | |
- 133 # Emerald Block | |
- 134 # Spruce Wood Stairs | |
- 135 # Birch Wood Stairs | |
- 136 # Jungle Wood Stairs | |
- 137 # Command | |
- 138 # Beacon | |
- 139 # Cobble Wall | |
- 140 # Flower Pot | |
- 141 # Carrot | |
- 142 # Potato | |
- 143 # Wood Button | |
- 144 # Skull | |
- 145 # Anvil | |
- 146 # Trapped Chest | |
- 147 # Gold Plate | |
- 148 # Iron Plate | |
- 149 # Redstone Comparator Off | |
- 150 # Redstone Comparator On | |
- 151 # Daylight Detector | |
- 152 # Redstone Block | |
- 153 # Quartz Ore | |
- 154 # Hopper | |
- 155 # Quartz Block | |
- 156 # Quartz Stairs | |
- 157 # Activator Rail | |
- 158 # Dropper | |
- 159 # Stained Clay | |
- 160 # Stained Glass Pane | |
- 161 # Leaves 2 | |
- 162 # Log 2 | |
- 163 # Acacia Stairs | |
- 164 # Dark Oak Stairs | |
- 170 # Hay Block | |
- 171 # Carpet | |
- 172 # Hard Clay | |
- 173 # Coal Block | |
- 174 # Packed Ice | |
- 175 # Double Plant | |
- 256 # Iron Spade | |
- 257 # Iron Pickaxe | |
- 258 # Iron Axe | |
- 259 # Flint And Steel | |
- 260 # Apple | |
- 261 # Bow | |
- 262 # Arrow | |
- 263 # Coal | |
- 264 # Diamond | |
- 265 # Iron Ingot | |
- 266 # Gold Ingot | |
- 267 # Iron Sword | |
- 268 # Wood Sword | |
- 269 # Wood Spade | |
- 270 # Wood Pickaxe | |
- 271 # Wood Axe | |
- 272 # Stone Sword | |
- 273 # Stone Spade | |
- 274 # Stone Pickaxe | |
- 275 # Stone Axe | |
- 276 # Diamond Sword | |
- 277 # Diamond Spade | |
- 278 # Diamond Pickaxe | |
- 279 # Diamond Axe | |
- 280 # Stick | |
- 281 # Bowl | |
- 282 # Mushroom Soup | |
- 283 # Gold Sword | |
- 284 # Gold Spade | |
- 285 # Gold Pickaxe | |
- 286 # Gold Axe | |
- 287 # String | |
- 288 # Feather | |
- 289 # Sulphur | |
- 290 # Wood Hoe | |
- 291 # Stone Hoe | |
- 292 # Iron Hoe | |
- 293 # Diamond Hoe | |
- 294 # Gold Hoe | |
- 295 # Seeds | |
- 296 # Wheat | |
- 297 # Bread | |
- 298 # Leather Helmet | |
- 299 # Leather Chestplate | |
- 300 # Leather Leggings | |
- 301 # Leather Boots | |
- 302 # Chainmail Helmet | |
- 303 # Chainmail Chestplate | |
- 304 # Chainmail Leggings | |
- 305 # Chainmail Boots | |
- 306 # Iron Helmet | |
- 307 # Iron Chestplate | |
- 308 # Iron Leggings | |
- 309 # Iron Boots | |
- 310 # Diamond Helmet | |
- 311 # Diamond Chestplate | |
- 312 # Diamond Leggings | |
- 313 # Diamond Boots | |
- 314 # Gold Helmet | |
- 315 # Gold Chestplate | |
- 316 # Gold Leggings | |
- 317 # Gold Boots | |
- 318 # Flint | |
- 319 # Pork | |
- 320 # Grilled Pork | |
- 321 # Painting | |
- 322 # Golden Apple | |
- 323 # Sign | |
- 324 # Wood Door | |
- 325 # Bucket | |
- 326 # Water Bucket | |
- 327 # Lava Bucket | |
- 328 # Minecart | |
- 329 # Saddle | |
- 330 # Iron Door | |
- 331 # Redstone | |
- 332 # Snow Ball | |
- 333 # Boat | |
- 334 # Leather | |
- 335 # Milk Bucket | |
- 336 # Clay Brick | |
- 337 # Clay Ball | |
- 338 # Sugar Cane | |
- 339 # Paper | |
- 340 # Book | |
- 341 # Slime Ball | |
- 342 # Storage Minecart | |
- 343 # Powered Minecart | |
- 344 # Egg | |
- 345 # Compass | |
- 346 # Fishing Rod | |
- 347 # Watch | |
- 348 # Glowstone Dust | |
- 349 # Raw Fish | |
- 350 # Cooked Fish | |
- 351 # Ink Sack | |
- 352 # Bone | |
- 353 # Sugar | |
- 354 # Cake | |
- 355 # Bed | |
- 356 # Diode | |
- 357 # Cookie | |
- 358 # Map | |
- 359 # Shears | |
- 360 # Melon | |
- 361 # Pumpkin Seeds | |
- 362 # Melon Seeds | |
- 363 # Raw Beef | |
- 364 # Cooked Beef | |
- 365 # Raw Chicken | |
- 366 # Cooked Chicken | |
- 367 # Rotten Flesh | |
- 368 # Ender Pearl | |
- 369 # Blaze Rod | |
- 370 # Ghast Tear | |
- 371 # Gold Nugget | |
- 372 # Nether Stalk | |
- 373 # Potion | |
- 374 # Glass Bottle | |
- 375 # Spider Eye | |
- 376 # Fermented Spider Eye | |
- 377 # Blaze Powder | |
- 378 # Magma Cream | |
- 379 # Brewing Stand Item | |
- 380 # Cauldron Item | |
- 381 # Eye Of Ender | |
- 382 # Speckled Melon | |
- 383 # Monster Egg | |
- 384 # Exp Bottle | |
- 385 # Fireball | |
- 386 # Book And Quill | |
- 387 # Written Book | |
- 388 # Emerald | |
- 389 # Item Frame | |
- 390 # Flower Pot Item | |
- 391 # Carrot Item | |
- 392 # Potato Item | |
- 393 # Baked Potato | |
- 394 # Poisonous Potato | |
- 395 # Empty Map | |
- 396 # Golden Carrot | |
- 397 # Skull Item | |
- 398 # Carrot Stick | |
- 399 # Nether Star | |
- 400 # Pumpkin Pie | |
- 401 # Firework | |
- 402 # Firework Charge | |
- 403 # Enchanted Book | |
- 404 # Redstone Comparator | |
- 405 # Nether Brick Item | |
- 406 # Quartz | |
- 407 # Explosive Minecart | |
- 408 # Hopper Minecart | |
- 417 # Iron Barding | |
- 418 # Gold Barding | |
- 419 # Diamond Barding | |
- 420 # Leash | |
- 421 # Name Tag | |
- 422 # Command Minecart | |
- 2256 # Gold Record | |
- 2257 # Green Record | |
- 2258 # Record 3 | |
- 2259 # Record 4 | |
- 2260 # Record 5 | |
- 2261 # Record 6 | |
- 2262 # Record 7 | |
- 2263 # Record 8 | |
- 2264 # Record 9 | |
- 2265 # Record 10 | |
- 2266 # Record 11 | |
- 2267 # Record 12 | |
# Items that will persist in the players inventory when they die (they are re-added to their inventory upon respawn) | |
always_keep: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tk.nekotech.generate; | |
import org.bukkit.Material; | |
public class SelectiveDeathDropsConfig { | |
public static void main(final String args[]) { | |
new SelectiveDeathDropsConfig().run(); | |
} | |
private String prettyName(final Material m) { | |
String ret = ""; | |
boolean first = true; | |
for (final char c : m.name().toCharArray()) { | |
if (first) { | |
ret += c; | |
first = false; | |
} else { | |
if (c == '_') { | |
first = true; | |
ret += " "; | |
} else { | |
ret += String.valueOf(c).toLowerCase(); | |
} | |
} | |
} | |
return ret; | |
} | |
public void run() { | |
System.out.println("# Items that will ALWAYS DROP when a player dies (whitelist: items not on this list will NOT drop)"); | |
System.out.println("always_drop:"); | |
for (final Material m : Material.values()) { | |
System.out.println(" - " + m.getId() + " # " + this.prettyName(m)); | |
} | |
System.out.println("# Items that will persist in the players inventory when they die (they are re-added to their inventory upon respawn)"); | |
System.out.println("always_keep: []"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment