Closed ghost closed 8 years ago
The block that is grown is: melon_block or 103 The melon slices you get from a melon block is: melon or 360
-If you are using ID 360 and trying to add the melon_block to the cauldron then it won't work, use melon slices instead. -It may also be how you did the ingredients in the "cooked:" list below all the recipes. Make sure it is properly done. All new ingredients you want to use need to be listed there. -If you find that you can't put any ingredients into your cauldron,
1: The alignment of Number of the Recipe, is off by one space or more, in relation to the rest of the recipes. 2: Make sure the recipes are numbered properly. If you accidentally skip a number or copied and pasted without renumbering. 3: Make sure you don't leave out a word in the recipe like "effects:" and still list types of effects under it.
Your ingredients in the "cooked:" section should look something like this with # comments to help you remember things:
WHEAT: Fermented wheat SUGAR_CANE: Sugar brew APPLE: Apple cider POTATO_ITEM: Potatomash RED_MUSHROOM: Mushroom brew '#' Melon Slices, 103: Fruity Flavoring '#' Flowers, not including 37 Yellow_flower or tall flowers, 38: Floral Note
Remove the ' from around '#' because that was just to show you on this page without the text getting big.
'#' config for Brewery.jar
'#' -- Settings -- '#' Defaults are written in [] '#' Deleting of single settings disables them
'#' Languagefile to be used (found in plugins/Brewery/languages) language: en
'#' If the player wakes up at /home when logging in after excessive drinking (/home plugin must be installed!) [true] enableHome: true
'#' Type of the home-teleport: ['cmd: home'] '#' bed = Player will be teleported to his spawn bed '#'SamplePlugin = installed home plugin. Supports: ManagerXL. If not available: '#' 'cmd: home' = /home will be executed by the player. He has to have permissions for it without any delay! '#' 'cmd: spawn' = /spawn will be executed by the player. '#' 'cmd: whatever' = /whatever will be executed by the player. homeType: 'cmd: home'
'#' If the player "wakes up" at a random place when offline for some time while drinking (the places have to be defined with '/br Wakeup add' through an admin) '#' The Player wakes at the nearest of two random places of his world [true] enableWake: true
'#' If the Player may get some logins denied, when his character is drunk [true] enableLoginDisallow: true
'#'If the Player faints (gets kicked) for some minutes if he overdrinks [true] enableKickOnOverdrink: true
'#' If the Player vomits on high drunkeness (drops item defined below) [true] '#' The item can not be collected and stays on the ground until it despawns. (Warning: May be collected after Server restart!) enablePuke: true
'#' Item that is dropped multiple times uncollectable when puking [SOUL_SAND] pukeItem: SOUL_SAND
'#' Consumable Item/strength. Decreases the alcohol level by
'#'Time (in days) that drunkeness-data stays in memory after a player goes offline, to apply hangover etc. [7] hangoverDays: 7
'#'Color the Item information (lore) depending on quality while it is 1. in a barrel and/or 2. in a brewing stand [true, false] colorInBarrels: true colorInBrewer: false
'#' If a Large Barrel can be opened by clicking on any of its blocks, not just Spigot or Sign. This is always true for Small Barrels. [true] openLargeBarrelEverywhere: true
'#'Enable checking for Updates, Checks the curseforge api for updates to Brewery [true] '#' If an Update is found a Message is logged on Server-start and displayed to ops joining the game updateCheck: true
'#'Autosave interval in minutes [3] autosave: 3
'#'Config Version version: '1.3.1'
'#'-- Recipes for Potions --
'#' name: Different names for bad/normal/good (Formatting codes possible: such as &6) '#' ingredients: List of 'material or id,data/amount' '#' (Item-ids instead of material are deprecated by bukkit and may not work in the future!) '#' A list of materials can be found here: http://jd.bukkit.org/beta/apidocs/org/bukkit/Material.html '#' You can specify a data value, omitting it will ignore the data value of the added ingredient '#' cookingtime: Time in real minutes ingredients have to boil '#' distillruns: How often it has to be distilled for full alcohol (0=without distilling) '#' wood: Wood of the barrel 0=any 1=Birch 2=Oak 3=Jungle 4=Spruce 5=Acacia 6=Dark Oak '#' age: Time in Minecraft-days, the potion has to age in a barrel 0=no aging '#' color: Color of the potion after distilling/aging. '#' Usable Colors: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY '#' difficulty: 1-10 accuracy needed to get good quality (1 = unaccurate/easy, 10 = very precise/hard) '#' alcohol: Absolute amount of alcohol 0-100 in a perfect potion (will be added directly to the player, where 100 means fainting) '#' effects: List of effect/level/duration Special potion-effect when drinking, duration in seconds. '#' Suffix name with 'X' to hide effect from label. Sample: 'POISONX/2/10' (WEAKNESS, INCREASE_DAMAGE, SLOW and SPEED are always hidden.) '#' Possible Effects: http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffectType.html '#' Level or Duration ranges may be specified with a "-", ex. 'SPEED/1-2/30-40' = level 1 and 30 sec at worst and lvl 2 and 40 sec at best '#' Ranges also work high-low, ex. 'POISON/3-1/20-5' for weaker effects at good quality. '#' 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:
'#' cooked: EVERY possible ingredient and the names for the originating potions after fermenting: '#' [Example] MATERIAL_or_id: Name after cooking
cooked: WHEAT: Fermented wheat SUGAR_CANE: Sugar brew APPLE: Apple cider POTATO_ITEM: Potatomash LONG_GRASS: Boiled herbs RED_MUSHROOM: Mushroom brew INK_SACK: Colored brew MILK_BUCKET: Milky water SUGAR: Sweet Water SNOWBALL: Ice
'#' -- Plugin Compatibility --
'#' Enable checking of other Plugins (if installed) for Barrel Permissions [true] useWorldGuard: true useLWC: true useGriefPrevention: true
'#' Enable the Logging of Barrel Inventories to LogBlock [true] useLogBlock: true
'#' -- Chat Distortion Settings --
'#' Log to the Serverlog what the player actually wrote, before his words were altered [false] logRealChat: false
'#' Text after specified commands will be distorted when drunk (list) [- /gl] distortCommands:
'#' Distort the Text written on a Sign while drunk [false] distortSignText: false
'#' Enclose a text with these Letters to bypass Chat Distortion (Use "," as Separator) (list) [- '[,]'] distortBypass:
'#' words: Words and letters that will be altered when chatting while being drunk. '#' Will be processed from first to last and a written sentece is altered in that order.
'#' replace: Word or letter to be replaced. (Special: "-space": replaces space, "-random": insert into random position, "-all": everything, "-start": At Beginning, "-end": At the End.) '#' to: What to replace it with. '#' pre: Words and Letters before the wanted word (split with ",") '#' match: true = one of the "pre"-Words has to be before the wanted Word, false = none of the "pre" Words is allowed before the wanted Word '#' alcohol: 1-100 minimum drunkeness after which this word ist replaced '#' percentage: Probability of replacing a Word in percent
words:
here is my whole code that I have. I have tried to add these two new recipes in the bottom numbers 11 and 12 and it is not working. The snowballs or the regular plain sugar is not adding itself to the game. I added them into cooked items and did the recipe correctly by what I see. Please help me figure out why it is not working. Thank you so much.
@Annahstas
It is difficult to see the proper format for your config in this type of posting. Being able to discern the spacing is also needed in finding out various bugs. Normally, it is better to upload the config.yml file then link it here. That way people that want to help will be able to help a bit better since they can spot spacing issues.
Are you getting error messages in your server console when it first starts with this config.yml file? If so, what are they specifically?
In regards to "snowball" I use the data value number for it.
In the recipe I use this (example of 9 snowballs being used):
'#' SNOWBALL
- 332/9
In the "cooked" section I use this,
'#' SNOWBALL 332: Shaved Ice
For SUGAR I just use the word "SUGAR".
The biggest problem I see with your new recipes is the short cooking time "cookingtime: 1". In all of my recipes (260 of them so far) I always have a cooking time of 3 minutes or longer. I found that things didn't work quite right when it was set lower than that. If you are not getting invalid ingredient errors in your console, try upping the cooking times to 3+ minutes.
I tried adding a recipe for Tequila using Blue Orchids, Melon, and Sugar Cane. When I loaded it up and tried adding melons and orchids to the cauldron, it wouldn't accept them. What am I doing wrong here?
11: name: Poor Tequila/Tequila/Hard Tequila ingredients:
In place of item ID for the orchid, I also tried "RED_FLOWER,1"
Thanks for the help!