Added Custom Items and Cauldron-Recipes

This commit is contained in:
Sn0wStorm
2019-10-29 16:20:32 +01:00
parent 92977d2c8e
commit d0263c611c
14 changed files with 1420 additions and 650 deletions
+255 -160
View File
@@ -40,8 +40,8 @@ pukeDespawntime: 60
# Consumable Item/strength. Decreases the alcohol level by <strength> when consumed. (list)
drainItems:
- Bread/4
- Milk_Bucket/2
- Bread/4
- Milk_Bucket/2
# Time (in days) that drunkeness-data stays in memory after a player goes offline, to apply hangover etc. [7]
hangoverDays: 7
@@ -81,6 +81,111 @@ autosave: 3
version: '1.8'
# -- Define custom items --
# The defined id can then be used in recipes
# matchAny: true if it is already enough if one of the info matches
# material: Which type the item has to be
# name: Which name the item has to be (Formatting codes possible: such as &6)
# lore: What has to be in the lore of the item
customItems:
ex-item:
# A Barrier item called Wall and has the given line in its lore
material: Barrier
name: 'Wall'
lore:
- '&7Very well protected'
ex-item2:
# Using matchAny only one of the following has to match.
# In this case on of the door types, or an item called Beechwood Door, or an item with 'A door' in its lore
matchAny: true
material:
- Acacia_Door
- Oak_Door
- Spruce_Door
name:
- 'Beechwood Door'
lore:
- 'A door'
rasp:
name: '&cRaspberry'
# -- Ingredients in the Cauldron --
# Which Ingredients are accepted by the Cauldron and the base potion resulting from them
# name: Name of the base potion coming out of the Cauldron (Formatting codes possible: such as &6)
# ingredients: List of 'material/amount'
# With an item in your hand, use /brew ItemName to get its material for use in a recipe
# (Item-ids instead of material are not supported by bukkit anymore and will not work)
# A list of materials can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# color: Color of the potion from a cauldron.
# Usable Colors: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY
# Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet)
# lore: List of additional text on the base potion. (Formatting codes possible: such as &6)
cauldron:
ex:
name: Example
ingredients:
- Bedrock/2
- Diamond
color: BLACK
lore:
- An example for a Base Potion
- This is how it comes out of a Cauldron
# -- One Ingredient: --
wheat:
name: Fermented wheat
ingredients: Wheat
sugarcane:
name: Sugar brew
ingredients: Sugar_Cane
color: 'f1ffad' # yellowish green
apple:
name: Apple cider
ingredients: Apple
potato:
name: Potatomash
ingredients: Potato
grass:
name: Boiled herbs
ingredients: Grass
color: '99ff66' # bright green
rmushroom:
name: Mushroom brew
ingredients: Red_Mushroom
color: 'ff5c33' # amber red
cocoa:
name: Chocolately brew
ingredients: Cocoa_Beans
color: '804600' # mocca
milk:
name: Milky water
ingredients: Milk_Bucket
color: BRIGHT_GREY
# -- Multiple Ingredients: --
apfelmet_base:
name: Apple-Sugar brew
ingredients:
- Sugar_Cane/3
- Apple
color: 'e1ff4d' # greenish yellow
# -- Recipes for Potions --
# name: Different names for bad/normal/good (Formatting codes possible: such as &6)
@@ -101,8 +206,6 @@ version: '1.8'
# alcohol: Absolute amount of alcohol 0-100 in a perfect potion (will be added directly to the player, where 100 means fainting)
# lore: List of additional text on the finished brew. (Formatting codes possible: such as &6)
# Specific lore for quality possible, using + bad, ++ normal, ++ good, added to the front of the line.
# lore: Auflistung von zusätzlichem Text auf dem fertigen Trank. (Farbcodes möglich: z.b. &6)
# Lore nur für bestimmte Qualität möglich mit + Schlecht, ++ Mittel, +++ Gut, vorne anhängen.
# effects: List of effect/level/duration Special potion-effect when drinking, duration in sek.
# Possible Effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# Level or Duration ranges may be specified with a "-", ex. 'SPEED/1-2/30-40' = lvl 1 and 30 sec at worst and lvl 2 and 40 sec at best
@@ -110,188 +213,180 @@ version: '1.8'
# Highest possible Duration: 1638 sec. Instant Effects dont need any duration specified.
recipes:
# Example Recipe with every possible entry first:
0:
name: Bad Example/Example/Good Example
ingredients:
- Sugar_Cane/5
# Example Recipe with every possible entry first:
ex:
name: Bad Example/Example/Good Example
ingredients:
- Diamond/1
- Cocoa_Beans/20
- Spruce_Planks/8
- Bedrock/1
cookingtime: 3
distillruns: 2
distilltime: 60
wood: 4
age: 11
color: DARK_RED
difficulty: 3
alcohol: 23
lore:
- This is an examble brew
- ++Just a normal Example
- This text would be on the brew
- + Smells disgusting
- ++ Smells alright
- +++ Smells really good
effects:
cookingtime: 3
distillruns: 2
distilltime: 60
wood: 4
age: 11
color: DARK_RED
difficulty: 3
alcohol: 23
lore:
- This is an examble brew
- ++Just a normal Example
- This text would be on the brew
- + Smells disgusting
- ++ Smells alright
- +++ Smells really good
effects:
- FIRE_RESISTANCE/20
- HEAL/1
- WEAKNESS/2-3/50-60
- POISON/1-0/20-0
1:
name: Skunky Wheatbeer/Wheatbeer/Fine Wheatbeer
ingredients:
wheatbeer:
name: Skunky Wheatbeer/Wheatbeer/Fine Wheatbeer
ingredients:
- Wheat/3
cookingtime: 8
distillruns: 0
wood: 1
age: 2
color: BRIGHT_GREY
difficulty: 1
alcohol: 5
2:
name: Skunky Beer/Beer/Fine Beer
ingredients:
cookingtime: 8
distillruns: 0
wood: 1
age: 2
color: BRIGHT_GREY
difficulty: 1
alcohol: 5
beer:
name: Skunky Beer/Beer/Fine Beer
ingredients:
- Wheat/6
cookingtime: 8
distillruns: 0
wood: 0
age: 3
color: ORANGE
difficulty: 1
lore:
- +++ &8Crisp taste
alcohol: 6
3:
name: Skunky Darkbeer/Darkbeer/Fine Darkbeer
ingredients:
cookingtime: 8
distillruns: 0
wood: 0
age: 3
color: ORANGE
difficulty: 1
lore:
- +++ &8Crisp taste
alcohol: 6
darkbeer:
name: Skunky Darkbeer/Darkbeer/Fine Darkbeer
ingredients:
- Wheat/6
cookingtime: 8
distillruns: 0
wood: 4
age: 8
color: BLACK
difficulty: 2
lore:
- +++ &8Roasted taste
alcohol: 7
4:
name: Awkward Mead/Mead/&6Golden Mead
ingredients:
cookingtime: 8
distillruns: 0
wood: 4
age: 8
color: BLACK
difficulty: 2
lore:
- +++ &8Roasted taste
alcohol: 7
mead:
name: Awkward Mead/Mead/&6Golden Mead
ingredients:
- Sugar_Cane/6
cookingtime: 3
distillruns: 0
wood: 2
age: 4
color: ORANGE
difficulty: 2
lore:
- +++ Has a golden shine
alcohol: 9
5:
name: Apple Mead/Sweet Apple Mead/&6Sweet Golden Apple Mead
ingredients:
cookingtime: 3
distillruns: 0
wood: 2
age: 4
color: ORANGE
difficulty: 2
lore:
- +++ Has a golden shine
alcohol: 9
ap_mead:
name: Apple Mead/Sweet Apple Mead/&6Sweet Golden Apple Mead
ingredients:
- Sugar_Cane/6
- Apple/2
cookingtime: 4
distillruns: 0
wood: 2
age: 4
color: ORANGE
difficulty: 4
alcohol: 12
lore:
- +Is there any Apple in this?
- ++Refreshing taste of Apple
- +++Sweetest hint of Apple
effects:
cookingtime: 4
distillruns: 0
wood: 2
age: 4
color: ORANGE
difficulty: 4
alcohol: 12
lore:
- +Is there any Apple in this?
- ++Refreshing taste of Apple
- +++Sweetest hint of Apple
effects:
- WATER_BREATHING/1-2/150
6:
name: Bitter Rum/Spicy Rum/&6Golden Rum
ingredients:
rum:
name: Bitter Rum/Spicy Rum/&6Golden Rum
ingredients:
- Sugar_Cane/14
cookingtime: 5
distillruns: 2
distilltime: 30
wood: 2
age: 14
color: DARK_RED
difficulty: 6
alcohol: 30
effects:
cookingtime: 5
distillruns: 2
distilltime: 30
wood: 2
age: 14
color: DARK_RED
difficulty: 6
alcohol: 30
effects:
- FIRE_RESISTANCE/1/20-100
- POISON/1-0/30-0
7:
name: Lousy Vodka/Vodka/Russian Vodka
ingredients:
vodka:
name: Lousy Vodka/Vodka/Russian Vodka
ingredients:
- Potato/10
cookingtime: 15
distillruns: 3
age: 0
color: BRIGHT_GREY
difficulty: 4
alcohol: 20
lore: +&8Almost undrinkable
effects:
cookingtime: 15
distillruns: 3
age: 0
color: BRIGHT_GREY
difficulty: 4
alcohol: 20
lore: +&8Almost undrinkable
effects:
- WEAKNESS/15
- POISON/10
8:
name: Poor Absinthe/Absinthe/Strong Absinthe
ingredients:
- Grass/15
cookingtime: 3
distillruns: 6
distilltime: 80
color: GREEN
difficulty: 8
alcohol: 45
effects:
- POISON/20-30
9:
name: Potato soup
ingredients:
- Potato/5
- Grass/3
cookingtime: 3
color: PINK
difficulty: 1
effects:
- HEAL/0-1
10:
name: Stale Coffee/Coffee/Strong Coffee
ingredients:
- Cocoa_Beans/12
- Milk_Bucket/2
cookingtime: 2
color: BLACK
difficulty: 3
lore: + &8Probably a week old
effects:
- REGENERATION/1/2-5
- SPEED/1/30-140
absinthe:
name: Poor Absinthe/Absinthe/Strong Absinthe
ingredients:
- Grass/15
cookingtime: 3
distillruns: 6
distilltime: 80
color: GREEN
difficulty: 8
alcohol: 45
effects:
- POISON/20-30
potato_soup:
name: Potato soup
ingredients:
- Potato/5
- Grass/3
cookingtime: 3
color: PINK
difficulty: 1
effects:
- HEAL/0-1
coffee:
name: Stale Coffee/Coffee/Strong Coffee
ingredients:
- Cocoa_Beans/12
- Milk_Bucket/2
cookingtime: 2
color: BLACK
difficulty: 3
lore: + &8Probably a week old
effects:
- REGENERATION/1/2-5
- SPEED/1/30-140
# More Recipes ideas: Cachaca, Gin, Whiskey, Tequila, Cider, etc. as well as high quality abbreviations like golden vodka etc.
# I will not add more Recipes to the default config, as they would be public and viewable by users to cheat.
# It is up to the Serveradmin to change and add Recipes, so players cannot cheat from the default config.
# cooked: EVERY possible ingredient and the names for the originating potions after fermenting:
# [Example] MATERIAL: Name after cooking
cooked:
Wheat: Fermented wheat
Sugar_Cane: Sugar brew
Apple: Apple cider
Potato: Potatomash
Grass: Boiled herbs
Red_Mushroom: Mushroom brew
Cocoa_Beans: Colored brew
Milk_Bucket: Milky water
# -- Plugin Compatibility --
# Enable checking of other Plugins (if installed) for Barrel Permissions [true]