diff --git a/resources/config/v12/de/config.yml b/resources/config/v12/de/config.yml index c232ab4..7d2b47d 100644 --- a/resources/config/v12/de/config.yml +++ b/resources/config/v12/de/config.yml @@ -76,11 +76,119 @@ updateCheck: true # Autosave Intervall in Minuten [3] autosave: 3 +# Debug Nachrichten im Log anzeigen [false] +debug: false + # Config Version version: '1.8' oldMat: true + +# -- Eigene Items Definieren -- +# Die festgelegte id kann dann in einem Rezept verwendet werden + +# matchAny: true wenn es schon reicht wenn eine der Angaben zutrifft +# material: Welche Art das Item haben muss +# name: Welchen Namen das Item haben muss (Farbcodes möglich: z.b. &6) +# lore: Was in der Lore des Items stehen muss + +customItems: + bsp-item: + # Ein Bedrock Item das Mauer heißt und in der Lore die angegebene Zeile hat + material: BEDROCK + name: 'Mauer' + lore: + - '&7Besonders gut geschützt' + + bsp-item2: + # Mit matchAny muss nur eine der Angaben zutreffen. + # Hier also eine der Türarten, oder ein Item namens Buchenholztür, oder ein Item mit 'Eine Tür' in der Lore + matchAny: true + material: + - WOODEN_DOOR + - IRON_DOOR + name: + - 'Buchenholztür' + lore: + - 'Eine Tür' + + himbeere: + name: '&cHimbeere' + + +# -- Zutaten im Kessel -- +# Hier kann angegeben werden welche Zutaten in den Kessel getan werden können und was mit ihnen geschieht. + +# name: Name des Basistrankes der aus dem Kessel kommt (Farbcodes möglich: z.b. &6) +# ingredients: Auflistung von 'Material/Anzahl' +# Halte ein Item in der Hand und benutze /brew ItemName um dessen Material herauszufinden und für ein Rezept zu benutzen +# (Item-ids anstatt Material können in Bukkit nicht mehr benutzt werden) +# Eine Liste von allen Materialien kann hier gefunden werden: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html +# color: Farbe des Trankes der aus dem Kessel kommt +# Benutzbare Farben: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY +# Oder RGB Farben (Hex: also zB '99FF33') (Ohne #) (mit '') (Einfach nach "HTML color" im Internet suchen) +# lore: Auflistung von zusätzlichem Text auf dem Trank. (Farbcodes möglich: z.b. &6) + + +cauldron: + bsp: + name: Beispiel + ingredients: + - BEDROCK/2 + - DIAMOND + color: BLACK + lore: + - Ein Beispiel für einen Basistrank + - So kommt er aus dem Kessel + +# -- Eine Zutat: -- + wheat: + name: Getreideferment + ingredients: WHEAT + + sugarcane: + name: Zuckersud + ingredients: SUGAR_CANE + color: 'f1ffad' # gelbliches grün + + apple: + name: Apfelmost + ingredients: APPLE + + potato: + name: Kartoffelmaische + ingredients: POTATO_ITEM + + grass: + name: Kräuterbrühe + ingredients: LONG_GRASS + color: '99ff66' # helles grün + + rmushroom: + name: Pilzsud + ingredients: RED_MUSHROOM + color: 'ff5c33' # bernsteinrot + + cocoa: + name: Kakaobrühe + ingredients: INK_SACK + color: '804600' # mokka + + milk: + name: Milchiges Wasser + ingredients: MILK_BUCKET + color: BRIGHT_GREY + + # -- Mehrere Zutaten: -- + apfelmet_basis: + name: Apfel-Zuckersud + ingredients: + - SUGAR_CANE/3 + - APPLE + color: 'e1ff4d' # grünliches gelb + + # -- Rezepte für Getränke -- # name: Verschiedene Namen für schlecht/mittel/gut (Farbcodes möglich: z.b. &6) @@ -104,6 +212,10 @@ oldMat: true # alcohol: Alkoholgehalt 0-100 in absoluter Menge bei perfektem Getränk (wird dem Spieler hinzugefügt, bei 100 = tot) # 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. +# servercommands: Liste von Befehlen ausgeführt vom Server wenn der Trank getrunken wird +# playercommands: Liste von Befehlen ausgeführt vom Spieler wenn der Trank getrunken wird +# drinkmessage: Nachricht im Chat beim trinken des Trankes +# drinktitle: Nachricht als Titel auf dem Bildschirm an den Spieler beim trinken des Trankes # effects: Auflistung Effekt/Level/Dauer Besonderere Trank-Effekte beim Trinken, Dauer in sek. # Ein 'X' an den Namen anhängen, um ihn zu verbergen. Bsp: 'POISONX/2/10' (WEAKNESS, INCREASE_DAMAGE, SLOW und SPEED sind immer verborgen.) # Effekte sind ab der 1.9 immer verborgen, wegen Änderungen an den Tränken. @@ -114,7 +226,7 @@ oldMat: true recipes: # Ein vollständiges Beispiel zuerst: - 0: + bsp: name: Schlechtes Beispiel/Beispiel/Gutes Beispiel ingredients: - SUGAR_CANE/5 @@ -123,7 +235,9 @@ recipes: - WOOD,1/8 - BEDROCK/1 # - Jungle Leaves/64 # Nur mit Vault -# - Green Dye/6 # Nur mit Vault + - Brewery:Weißbier/2 +# - ExoticGarden:Grape/3 + - bsp-item/4 cookingtime: 3 distillruns: 2 distilltime: 60 @@ -135,17 +249,23 @@ recipes: lore: - Dies ist ein Beispiel Trank - ++Ganz normales Beispiel - - Man kann ihn nicht brauen - - Aber dies würde auf dem Trank stehen + - Dies würde auf dem Trank stehen - + Riecht eklig - ++ Riecht ganz ok - +++ Riecht richtig gut + servercommands: + - weather clear + playercommands: + - homes + drinkmessage: Schmeckt toll + drinktitle: Wärmt dich von innen effects: - FIRE_RESISTANCE/20 - HEAL/1 - WEAKNESS/2-3/50-60 - POISONX/1-0/20-0 - 1: + + weißbier: name: Ranziges Weißbier/Weißbier/Feines Weißbier ingredients: - WHEAT/3 @@ -156,7 +276,8 @@ recipes: color: BRIGHT_GREY difficulty: 1 alcohol: 5 - 2: + + bier: name: Ranziges Bier/Bier/Feines Bier ingredients: - WHEAT/6 @@ -169,7 +290,8 @@ recipes: lore: - +++ &8Das perlt alcohol: 6 - 3: + + dunkelbier: name: Ranziges Dunkelbier/Dunkelbier/Feines Dunkelbier ingredients: - WHEAT/6 @@ -180,7 +302,8 @@ recipes: color: BLACK difficulty: 2 alcohol: 7 - 4: + + met: name: Scheußlicher Met/Met/&6Goldener Met ingredients: - SUGAR_CANE/6 @@ -193,7 +316,8 @@ recipes: alcohol: 9 lore: - +++ Hat einen goldenen Schein - 5: + + apfelmet: name: Apfelmet/Süßer Apfelmet/&6Goldensüßer Apfelmet ingredients: - SUGAR_CANE/6 @@ -211,7 +335,8 @@ recipes: - +++ Hat eine wunderbare Apfelnote effects: - WATER_BREATHINGX/1-2/150 - 6: + + rum: name: Bitterer Rum/Würziger Rum/&6Goldener Rum ingredients: - SUGAR_CANE/14 @@ -226,7 +351,8 @@ recipes: effects: - FIRE_RESISTANCE/1/20-100 - POISONX/1-0/30-0 - 7: + + vodka: name: Abgeranzter Vodka/Vodka/Russischer Vodka ingredients: - POTATO_ITEM/10 @@ -241,7 +367,8 @@ recipes: effects: - WEAKNESS/15 - POISON/10 - 8: + + absinth: name: minderwertiger Absinth/Absinth/Starker Absinth ingredients: - LONG_GRASS/15 @@ -253,7 +380,8 @@ recipes: alcohol: 45 effects: - POISON/20-30 - 9: + + kartoffelsuppe: name: Kartoffelsuppe ingredients: - POTATO_ITEM/5 @@ -263,7 +391,8 @@ recipes: difficulty: 1 effects: - HEAL/0-1 - 10: + + kaffee: name: Fader Kaffee/Kaffee/Starker Kaffee ingredients: - INK_SACK,3/12 @@ -281,27 +410,13 @@ recipes: # Der Serveradmin kann neue Rezepte hinzufügen und bestehende ändern, um das Abschauen aus der Standardconfig zu verhindern. -# cooked: ALLE möglichen Zutaten und die nach dem Gähren daraus entstehenden Tranknamen: -# [Beispiel] MATERIAL: Name nach Gähren - -cooked: - WHEAT: Getreideferment - SUGAR_CANE: Zuckersud - APPLE: Apfelmost - POTATO_ITEM: Kartoffelmaische - LONG_GRASS: Kräuterbrühe - RED_MUSHROOM: Pilzsud - INK_SACK: Farbige Brühe - MILK_BUCKET: Milchiges Wasser - - - # -- Plugin Kompatiblität -- # Andere Plugins (wenn installiert) nach Rechten zum öffnen von Fässern checken [true] useWorldGuard: true useLWC: true useGriefPrevention: true +useGMInventories: true useCitadel: true # Änderungen an Fassinventaren mit LogBlock aufzeichen [true] diff --git a/resources/config/v12/en/config.yml b/resources/config/v12/en/config.yml index 1845a69..d16df4b 100644 --- a/resources/config/v12/en/config.yml +++ b/resources/config/v12/en/config.yml @@ -50,6 +50,12 @@ hangoverDays: 7 colorInBarrels: true colorInBrewer: true +# Always show the 1-5 stars on the item depending on the quality. If false, they will only appear when brewing [true] +alwaysShowQuality: true + +# Always show the alcohol content on the item. If false, it will only show in the brewing stand [false] +alwaysShowAlc: 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 @@ -71,11 +77,119 @@ updateCheck: true # Autosave interval in minutes [3] autosave: 3 +# Show debug messages in log [false] +debug: false + # Config Version version: '1.8' oldMat: true + +# -- 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 Bedrock item called Wall and has the given line in its lore + material: BEDROCK + 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: + - WOODEN_DOOR + - IRON_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_ITEM + + grass: + name: Boiled herbs + ingredients: LONG_GRASS + color: '99ff66' # bright green + + rmushroom: + name: Mushroom brew + ingredients: RED_MUSHROOM + color: 'ff5c33' # amber red + + cocoa: + name: Chocolately brew + ingredients: INK_SACK + 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) @@ -97,6 +211,12 @@ oldMat: true # Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet) # 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) +# 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. +# servercommands: List of Commands executed by the Server when drinking the brew +# playercommands: List of Commands executed by the Player when drinking the brew +# drinkmessage: Chat-message to the Player when drinking the Brew +# drinktitle: Title on Screen to the Player when drinking the Brew # effects: List of effect/level/duration Special potion-effect when drinking, duration in sek. # Suffix name with 'X' to hide effect from label. Sample: 'POISONX/2/10' (WEAKNESS, INCREASE_DAMAGE, SLOW and SPEED are always hidden.) # Effects are always hidden in 1.9 and newer, because of changes in the potion mechanics. @@ -107,13 +227,14 @@ oldMat: true recipes: # Example Recipe with every possible entry first: - 0: + ex: name: Bad Example/Example/Good Example ingredients: - - SUGAR_CANE/5 - DIAMOND/1 - INK_SACK,3/20 - WOOD,1/8 + - Brewery:Wheatbeer/2 +# - ExoticGarden:Grape/3 - BEDROCK/1 # - Jungle Leaves/64 # Only with Vault # - Green Dye/6 # Only with Vault @@ -125,12 +246,26 @@ recipes: 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 + servercommands: + - weather clear + playercommands: + - homes + drinkmessage: Tastes good + drinktitle: Warms you from inside effects: - FIRE_RESISTANCE/20 - HEAL/1 - WEAKNESS/2-3/50-60 - POISONX/1-0/20-0 - 1: + + wheatbeer: name: Skunky Wheatbeer/Wheatbeer/Fine Wheatbeer ingredients: - WHEAT/3 @@ -141,7 +276,8 @@ recipes: color: BRIGHT_GREY difficulty: 1 alcohol: 5 - 2: + + beer: name: Skunky Beer/Beer/Fine Beer ingredients: - WHEAT/6 @@ -151,8 +287,11 @@ recipes: age: 3 color: ORANGE difficulty: 1 + lore: + - +++ &8Crisp taste alcohol: 6 - 3: + + darkbeer: name: Skunky Darkbeer/Darkbeer/Fine Darkbeer ingredients: - WHEAT/6 @@ -162,8 +301,11 @@ recipes: age: 8 color: BLACK difficulty: 2 + lore: + - +++ &8Roasted taste alcohol: 7 - 4: + + mead: name: Awkward Mead/Mead/&6Golden Mead ingredients: - SUGAR_CANE/6 @@ -173,8 +315,11 @@ recipes: age: 4 color: ORANGE difficulty: 2 + lore: + - +++ Has a golden shine alcohol: 9 - 5: + + ap_mead: name: Apple Mead/Sweet Apple Mead/&6Sweet Golden Apple Mead ingredients: - SUGAR_CANE/6 @@ -186,9 +331,14 @@ recipes: color: ORANGE difficulty: 4 alcohol: 12 + lore: + - +Is there any Apple in this? + - ++Refreshing taste of Apple + - +++Sweetest hint of Apple effects: - WATER_BREATHINGX/1-2/150 - 6: + + rum: name: Bitter Rum/Spicy Rum/&6Golden Rum ingredients: - SUGAR_CANE/14 @@ -203,7 +353,8 @@ recipes: effects: - FIRE_RESISTANCE/1/20-100 - POISONX/1-0/30-0 - 7: + + vodka: name: Lousy Vodka/Vodka/Russian Vodka ingredients: - POTATO_ITEM/10 @@ -213,10 +364,12 @@ recipes: color: BRIGHT_GREY difficulty: 4 alcohol: 20 + lore: +&8Almost undrinkable effects: - WEAKNESS/15 - POISON/10 - 8: + + absinthe: name: Poor Absinthe/Absinthe/Strong Absinthe ingredients: - LONG_GRASS/15 @@ -228,7 +381,8 @@ recipes: alcohol: 45 effects: - POISON/20-30 - 9: + + potato_soup: name: Potato soup ingredients: - POTATO_ITEM/5 @@ -238,7 +392,8 @@ recipes: difficulty: 1 effects: - HEAL/0-1 - 10: + + coffee: name: Stale Coffee/Coffee/Strong Coffee ingredients: - INK_SACK,3/12 @@ -246,6 +401,7 @@ recipes: cookingtime: 2 color: BLACK difficulty: 3 + lore: + &8Probably a week old effects: - REGENERATION/1/2-5 - SPEED/1/30-140 @@ -255,28 +411,13 @@ recipes: # 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_ITEM: Potatomash - LONG_GRASS: Boiled herbs - RED_MUSHROOM: Mushroom brew - INK_SACK: Colored brew - MILK_BUCKET: Milky water - - - # -- Plugin Compatibility -- # Enable checking of other Plugins (if installed) for Barrel Permissions [true] useWorldGuard: true useLWC: true useGriefPrevention: true +useGMInventories: true useCitadel: true # Enable the Logging of Barrel Inventories to LogBlock [true] @@ -285,8 +426,7 @@ useLogBlock: true # -- Chat Distortion Settings -- -# If written Chat is distorted when the Player is Drunk, -# so that it looks like drunk writing +# If written Chat is distorted when the Player is Drunk, so that it looks like drunk writing # How much the chat is distorted depends on how drunk the Player is # Below are settings for what and how changes in chat occur enableChatDistortion: true diff --git a/resources/config/v12/fr/config.yml b/resources/config/v12/fr/config.yml index 82cd49e..5015706 100644 --- a/resources/config/v12/fr/config.yml +++ b/resources/config/v12/fr/config.yml @@ -1,6 +1,7 @@ # config for Brewery.jar +# Quelques traductions en français ont été faites avec DeepL # -- Paramètres -- # Les paramètres par défaut sont entre [] @@ -50,17 +51,23 @@ hangoverDays: 7 colorInBarrels: true colorInBrewer: true +# Toujours montrer les 1-5 étoiles sur les objets en fonction de leur qualité. S'ils sont faux, ils n'apparaîtront que lors de l'infusion. [true] +alwaysShowQuality: true + +# Toujours indiquer la teneur en alcool sur les objets. S'il est false, il n'apparaîtra que dans le stand de brassage. [false] +alwaysShowAlc: false + # Si le grand tonneau peut être ouvert en cliquant sur n'importe quel bloc, non seulement le robinet ou le panneau. Toujours "true" pour les petits tonneaux. [true] openLargeBarrelEverywhere: true -# How many Brewery drinks can be put into the Minecraft barrels [6] +# Combien de boissons de brasserie peuvent être mises dans les barils Minecraft [6] maxBrewsInMCBarrels: 6 -# The used Ingredients and other brewing-data is saved to all Brewery Items. To prevent -# hacked clients from reading what exactly was used to brew an item, the data can be encoded/scrambled. -# This is a fast process to stop players from hacking out recipes, once they get hold of a brew. -# Only drawback: brew items can only be used on another server with the same encodeKey. -# So enable this if you want to make recipe cheating harder, but don't share any brews by world download, schematics, or other means. [false] +# Les ingrédients et autres données de brassage utilisés sont sauvegardés dans tous les articles de brasserie. [false] +# Pour empêcher les clients piratés de lire exactement ce qui a été utilisé pour infuser un élément, les données peuvent être encodées/brouillées. +# Il s'agit d'un processus rapide pour empêcher les joueurs de pirater des recettes, une fois qu'ils mettent la main sur une bière. +# Seul inconvénient: Les boissons brassicoles ne peuvent être utilisés que sur un autre serveur avec la même clé de chiffrement. +# Activez cette option si vous voulez rendre la tricherie des recettes plus difficile, mais ne partagez pas les infusions par téléchargement mondial, schémas ou autres moyens. enableEncode: false encodeKey: 0 @@ -71,33 +78,150 @@ updateCheck: true # Intervale de la sauvegarde automatique en minutes [3] autosave: 3 +# Show debug messages in log [false] +debug: false + # Version de configuration version: '1.8' oldMat: true + +# -- Définir des objets personnalisés -- +# L'id défini peut ensuite être utilisé dans les recettes + +# matchAny: si c'est déjà assez si l'une des infos correspond +# material: le type d'article à utiliser +# name: Quel nom l'article doit porter (codes de formatage possibles : tels que &6) +# lore: Ce qui doit être dans la lore de l'objet + +customItems: + ex-item: + # Un objet Barrière appelé "Wall" et qui a la ligne donnée dans sa lore + material: BEDROCK + name: 'Wall' + lore: + - '&7Very well protected' + + ex-item2: + # En utilisant matchAny, un seul des éléments suivants doit correspondre. + # Dans ce cas, l'un des types de porte, ou un article appelé "Beechwood Door", ou un objet avec "A door" dans sa lore. + matchAny: true + material: + - WOODEN_DOOR + - IRON_DOOR + name: + - 'Beechwood Door' + lore: + - 'A door' + + rasp: + name: '&cRaspberry' + + +# -- Ingrédients dans le chaudron -- +# Quels sont les ingrédients acceptés par le chaudron et la potion de base qui en résulte + +# name: Nom de la potion de base qui sort du chaudron (codes de formatage possibles : tels que &6) +# ingredients: Liste des 'matériaux/montant' +# Avec un objet en main, utilisez /brew ItemName pour obtenir son matériau pour une recette de cuisine +# (Les id d'objets à la place des matériaux sont obsolètes pour bukkit) +# Une liste des matériaux peuvent-être trouvés ici: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html +# color : Couleur de la potion provenant d'un chaudron. +# Couleurs disponibles : DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY +# (Dans l'ordre : Rouge foncé, Rouge, Rouge clair, Orange, Rose, Bleu, Cyan, Eau, Vert, Noir, Gris, Gris clair) +# Ou couleurs RGB (hex: par exemple '99FF33') (avec '') (recherche de "HTML color" sur internet) +# lore: Liste de texte supplémentaire sur la potion de base. (Formatting codes possible: such as &6) + +cauldron: + ex: + name: Exemple + ingredients: + - BEDROCK/2 + - DIAMOND + color: BLACK + lore: + - Un exemple pour une potion de base + - Voici comment il sort d'un chaudron + + # -- Un ingrédient: -- + wheat: + name: Blé fermenté + ingredients: WHEAT + + sugarcane: + name: Sucre fermenté + ingredients: SUGAR_CANE + color: 'f1ffad' # yellowish green + + apple: + name: Cidre de pommes + ingredients: APPLE + + potato: + name: Purée de Pommes de Terre + ingredients: POTATO_ITEM + + grass: + name: Herbes bouillies + ingredients: LONG_GRASS + color: '99ff66' # bright green + + rmushroom: + name: Champignons fermentés + ingredients: RED_MUSHROOM + color: 'ff5c33' # amber red + + cocoa: + name: Infusion au chocolat + ingredients: INK_SACK + color: '804600' # mocca + + milk: + name: Eau laiteuse + ingredients: MILK_BUCKET + color: BRIGHT_GREY + + # -- Ingrédients multiples: -- + apfelmet_base: + name: Brassée pomme-sucre + ingredients: + - SUGAR_CANE/3 + - APPLE + color: 'e1ff4d' # greenish yellow + + # -- Recette pour les boissons -- # name: Différents noms pour la mauvaise/moyen/bonne qualité (Les codes de mise en forme sont pris en charge: comme par exemple &6 pour la couleur Or.) -# ingredients: Liste des 'matériaux,data/montant' -# With an item in your hand, use /brew ItemName to get its material for use in a recipe -# (Les id d'objets à la place des matériaux sont obsolètes pour bukkit et pourraient ne pas fonctionner dans le futur!) -# Ex: 'SUGAR_CANE' +# ingredients: Liste des 'matériaux/montant' +# Avec un objet en main, utilisez /brew ItemName pour obtenir son matériau pour une recette de cuisine +# (Les id d'objets à la place des matériaux sont obsolètes pour bukkit) +# Ex: 'Sugar_Cane' # Une liste des matériaux peuvent-être trouvés ici: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html # Vous pouvez spécifier une data (Ex: 5,3 -> Planche de bois de jungle), si vous ne le faites pas la data ne sera pas prise en compte (Ex : 5 -> Bois en général) # If Vault is installed normal names can be used instead of material or id, so using Vault is highly recommended. # Vault will recognize things like "Jungle Leaves" instead of "5,3" +# Plugin items avec 'plugin:id' (Actuellement supporté ExoticGarden, Slimefun, MMOItems, Brewery) +# Ou un élément personnalisé défini ci-dessus # cookingtime: Temps en minutes réelles durant lesquelles les ingrédients devront bouillir # distillruns: Combien de fois le breuvage devra être distillé pour un alcool de qualité (0=Ne pas distiller) -# distilltime: How long (in seconds) one distill-run takes (0=Default time of 40 sec) MC Default would be 20 sec +# distilltime: Combien de temps (en secondes) dure une distillation (0=Temps par défaut de 40 secondes) MC Par défaut serait de 20 secondes # wood: Type de bois du baril 0=aucun 1=Bouleau 2=Chêne 3=Jungle 4=Pin 5=Acacia 6=Chêne Noir -# The Minecraft barrel is made of oak +# Le tonneau Minecraft est en chêne. # age: Temps en jours de Minecraft, la potion devra être âgée dans un baril. 0=Pas besoin d'âge # color: Couleur de la potion après distillation/avoir laissé vieillir. -# Couleurs disponibles: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY (Dans l'ordre : Rouge foncé, Rouge, Rouge clair, Orange, Rose, Bleu, Cyan, Eau, Vert, Noir, Gris, Gris clair) -# Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet) +# Couleurs disponibles: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY +# (Dans l'ordre : Rouge foncé, Rouge, Rouge clair, Orange, Rose, Bleu, Cyan, Eau, Vert, Noir, Gris, Gris clair) +# Ou couleurs RGB (hex: par exemple '99FF33') (avec '') (recherche de "HTML color" sur internet) # difficulty: 1-10 précision nécessaire pour obtenir une bonne qualité (1 = imprécis/facile, 10 = très précis/difficile) # alcohol: Le montant d'alcool absolu dans une boisson parfaite (cela sera ajouté directement au joueur, où 100% entraînera l'évanouissement), un degré d'alcooléisme en fait +# lore: Liste des textes supplémentaires sur le breuvage fini. (Codes de formatage possibles : tels que &6) +# Texte spécifique de qualité possible, en utilisant + mauvais, ++ normal, +++ bon, ajouté à l'avant de la ligne. +# servercommands: Liste des commandes exécutées par le serveur lors de la consommation de la potion +# playercommands: Liste des commandes exécutées par le joueur lors de la consommation de la potion +# drinkmessage: Chat-message au joueur lorsqu'il boit la potion +# drinktitle: Titre à l'écran du joueur lorsqu'il boit la potion # effects: Liste des effets/durée en secondes lors de la consommation. # Rajouter le suffixe 'X' pour le cacher du label. Exemple: POISONX/10 # (WEAKNESS, INCREASE_DAMAGE, SLOW et SPEED sont toujours cachés.) @@ -115,10 +239,11 @@ recipes: 0: name: Mauvais Exemple/Exemple/Bonne Exemple ingredients: - - SUGAR_CANE/5 - - 264/1 + - DIAMOND/1 - INK_SACK,3/20 - - 5,1/8 + - WOOD,1/8 + - Brewery:Wheatbeer/2 +# - ExoticGarden:Grape/3 - BEDROCK/1 # - Jungle Leaves/64 # Only with Vault # - Green Dye/6 # Only with Vault @@ -130,11 +255,25 @@ recipes: color: DARK_RED difficulty: 3 alcohol: 23 + lore: + - C'est un breuvage d'exemple + - ++Juste un exemple normal + - Ce texte serait sur le breuvage + - + Ça sent dégueulasse. + - ++ Ça sent bon + - +++ Ça sent vraiment bon + servercommands: + - weather clear + playercommands: + - homes + drinkmessage: C'est bon au goût + drinktitle: vous réchauffe à l'intérieur effects: - FIRE_RESISTANCE/20 - HEAL/1 - WEAKNESS/2-3/50-60 - POISONX/1-0/20-0 + 1: name: Bière Blanche Fade/Bière Blanche/Bonne Bière Blanche ingredients: @@ -146,6 +285,7 @@ recipes: color: BRIGHT_GREY difficulty: 1 alcohol: 5 + 2: name: Bière Fade/Bière/Bonne Bière ingredients: @@ -157,6 +297,7 @@ recipes: color: ORANGE difficulty: 1 alcohol: 6 + 3: name: Bière Brune Fade/Bière Brune/Bonne Bière Brune ingredients: @@ -168,6 +309,7 @@ recipes: color: BLACK difficulty: 2 alcohol: 7 + 4: name: Hydromel Bizarre/Hydromel/&6Hydromel Doré ingredients: @@ -179,6 +321,7 @@ recipes: color: ORANGE difficulty: 2 alcohol: 9 + 5: name: Hydromel de Pommes/Doux Hydromel de Pommes/&6Doux Hydromel de Pommes Dorées ingredients: @@ -193,6 +336,7 @@ recipes: alcohol: 12 effects: - WATER_BREATHINGX/1-2/150 + 6: name: Rhum Amer/Rhum Epicé/&6Rhum Doré ingredients: @@ -208,6 +352,7 @@ recipes: effects: - FIRE_RESISTANCE/1/20-100 - POISONX/1-0/30-0 + 7: name: Vodka Sale/Vodka/Vodka Russe ingredients: @@ -221,6 +366,7 @@ recipes: effects: - WEAKNESS/15 - POISON/10 + 8: name: Absinthe pauvre/Absinthe/Absinthe forte ingredients: @@ -233,6 +379,7 @@ recipes: alcohol: 45 effects: - POISON/20-30 + 9: name: Potato soup ingredients: @@ -243,6 +390,7 @@ recipes: difficulty: 1 effects: - HEAL/0-1 + 10: name: Café fétide/Café/Café fort ingredients: @@ -260,28 +408,13 @@ recipes: # Ce sera aux Admins des serveurs de changer et d'ajouter les recettes, ainsi les joueurs ne pourront pas tricher avec les configuration de base. - -# cooked: CHAQUE ingrédient possible avec le nom donné après la fermentation (la cuisson): -# [Exemple] MATERIEL: Nom après la cuisson - -cooked: - WHEAT: Blé fermenté - SUGAR_CANE: Sucre fermenté - APPLE: Cidre de pommes - POTATO_ITEM: Purée de Pommes de Terre - LONG_GRASS: Herbes bouillies - RED_MUSHROOM: Champignons fermentés - INK_SACK: Fermentation colorée - MILK_BUCKET: Eau laiteuse - - - # -- Compatibilité entre Plugins -- # Activer la vérification des autres plugins (si installés) pour les permissions des tonneaux. [true] useWorldGuard: true useLWC: true useGriefPrevention: true +useGMInventories: true useCitadel: true # Activer l'historique du contenu des tonneaux avec LogBlock [true] @@ -290,10 +423,9 @@ useLogBlock: true # -- Paramètres de la distorsion du Chat -- -# If written Chat is distorted when the Player is Drunk, -# so that it looks like drunk writing -# How much the chat is distorted depends on how drunk the Player is -# Below are settings for what and how changes in chat occur +# Si le Chat écrit est déformé quand le joueur est ivre, de sorte qu'il ressemble à un chat bourré en train d'écrire +# Le degré de distorsion du chat dépend de l'état d'ébriété du joueur +# Ci-dessous sont les paramètres pour ce qui et comment les changements dans le chat se produisent enableChatDistortion: true # Ecrire dans les "logs" du serveur ce que le joueur devrait dire, à la place de la distorsion. [false] diff --git a/resources/config/v12/it/config.yml b/resources/config/v12/it/config.yml index 335cf03..bc84f0a 100644 --- a/resources/config/v12/it/config.yml +++ b/resources/config/v12/it/config.yml @@ -50,6 +50,12 @@ hangoverDays: 7 colorInBarrels: true colorInBrewer: true +# Always show the 1-5 stars on the item depending on the quality. If false, they will only appear when brewing [true] +alwaysShowQuality: true + +# Always show the alcohol content on the item. If false, it will only show in the brewing stand [false] +alwaysShowAlc: false + # Se un barile grande può essere aperto cliccandoci sopra, non solo sul cartello e sulla staccionata. Questo è sempre true per i barili piccoli. [true] openLargeBarrelEverywhere: true @@ -71,11 +77,117 @@ updateCheck: true # Intervallo di autosalvataggio in minuti [3] autosave: 3 +# Show debug messages in log [false] +debug: false + # Versione del config version: '1.8' oldMat: true + +# -- 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 Bedrock item called Wall and has the given line in its lore + material: BEDROCK + 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: + - WOODEN_DOOR + - IRON_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_ITEM + + grass: + name: Boiled herbs + ingredients: LONG_GRASS + color: '99ff66' # bright green + + rmushroom: + name: Mushroom brew + ingredients: RED_MUSHROOM + color: 'ff5c33' # amber red + + cocoa: + name: Chocolately brew + ingredients: INK_SACK + 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 + # -- Ricette per pozioni -- # name: Tre nomi diversi per diverse qualità (cattivo/normale/buono). I codici come &6 possono essere usati. @@ -86,6 +198,8 @@ oldMat: true # Puoi specificare dei dati dell'oggetto, ma se omesso sarà semplicemente ignorato. # Se Vault è installato i nomi normali possono essere usati invece del materiale o dell'id quindi l'uso di Vault è fortemente consigliato. # Vault riconoscerà cose come "Jungle Leaves" invece di "LEAVES,3". +# Plugin items with 'plugin:id' (Currently supporting ExoticGarden, Slimefun, MMOItems, Brewery) +# Or a custom item defined above # cookingtime: Tempo in minuti richiesto dagli ingredienti per bollire # distillruns: Quanto spesso deve essere distillato per ottenere la versione perfetta con il volume alcolico impostato (0=non serve distillare). # distilltime: How long (in seconds) one distill-run takes (0=Default time of 40 sec) MC Default would be 20 sec @@ -97,6 +211,12 @@ oldMat: true # Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet) # difficoltà: Precisione richiesta per avere la migliore qualità da 1 a 10(1 = spreciso/più facile, 10 = molto preciso/più difficile) # alcohol: Volume alcolico da 0 a 100 nella versione perfetta (sarà aggiunta direttamente al giocatore, dove 100 è la quantità massima di alcohol assorbibile. +# 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. +# servercommands: List of Commands executed by the Server when drinking the brew +# playercommands: List of Commands executed by the Player when drinking the brew +# drinkmessage: Chat-message to the Player when drinking the Brew +# drinktitle: Title on Screen to the Player when drinking the Brew # effects: Eventuali effetti come quelli delle pozioni nel formato di effetto/livello/durata. # Aggiungere il suffisso 'X' per nascondere l'effetto dalla descrizione. Esempio: 'POISONX/2/10' (gli effetti WEAKNESS, INCREASE_DAMAGE, SLOW and SPEED sono sempre nascosti). # Gli effetti sono sempre nascosti dalla 1.9 in poi, per via dei cambiamenti nelle meccaniche delle pozioni. @@ -110,10 +230,11 @@ recipes: 0: name: Cattivo esempio/Esempio/Buon esempio ingredients: - - SUGAR_CANE/5 - - 264/1 + - DIAMOND/1 - INK_SACK,3/20 - - 5,1/8 + - WOOD,1/8 + - Brewery:Wheatbeer/2 +# - ExoticGarden:Grape/3 - BEDROCK/1 # - Jungle Leaves/64 # Solo con Vault # - Green Dye/6 # Solo con Vault @@ -125,11 +246,25 @@ recipes: 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 + servercommands: + - weather clear + playercommands: + - homes + drinkmessage: Tastes good + drinktitle: Warms you from inside effects: - FIRE_RESISTANCE/20 - HEAL/1 - WEAKNESS/2-3/50-60 - POISONX/1-0/20-0 + 1: name: Birra di frumento puzzolente/Birra di frumento/Birra di frumento pregiata ingredients: @@ -141,6 +276,7 @@ recipes: color: BRIGHT_GREY difficulty: 1 alcohol: 5 + 2: name: Birra puzzolente/Birra/Birra pregiata ingredients: @@ -152,6 +288,7 @@ recipes: color: ORANGE difficulty: 1 alcohol: 6 + 3: name: Birra scura puzzolente/Birra scura/Birra scura pregiata ingredients: @@ -163,6 +300,7 @@ recipes: color: BLACK difficulty: 2 alcohol: 7 + 4: name: Idromele scarso/Idromele/&6Idromele dorato ingredients: @@ -174,6 +312,7 @@ recipes: color: ORANGE difficulty: 2 alcohol: 9 + 5: name: Idromele di mele/Idromele di mele dolci/&6Idromele di mele dolci dorato ingredients: @@ -188,6 +327,7 @@ recipes: alcohol: 12 effects: - WATER_BREATHINGX/1-2/150 + 6: name: Rum amaro/Rum speziato/&6Rum dorato ingredients: @@ -203,6 +343,7 @@ recipes: effects: - FIRE_RESISTANCE/1/20-100 - POISONX/1-0/30-0 + 7: name: Vodka schifosa/Vodka/Vodka russa ingredients: @@ -216,6 +357,7 @@ recipes: effects: - WEAKNESS/15 - POISON/10 + 8: name: Assenzio scarso/Assenzio/Assenzio forte ingredients: @@ -228,6 +370,7 @@ recipes: alcohol: 45 effects: - POISON/20-30 + 9: name: Zuppa di patate ingredients: @@ -238,6 +381,7 @@ recipes: difficulty: 1 effects: - HEAL/0-1 + 10: name: Caffè stantio/Caffè/Caffè forte ingredients: @@ -256,27 +400,13 @@ recipes: -# cooked: OGNI possibile ingrediente e i nomi per la pozione originatasi dopo la fermentazione. -# (Esempio) MATERIALE: Nome dopo la cottura - -cooked: - WHEAT: Frumento fermentato - SUGAR_CANE: Miscela zuccherata - APPLE: Sidro di mele - POTATO_ITEM: Purè di patate - LONG_GRASS: Erbe bollite - RED_MUSHROOM: Miscela ai funghi - INK_SACK: Miscela colorata - MILK_BUCKET: Acqua lattea - - - # -- Compatibilità con altri plugin -- # Abilita il controllo della presenza di altri plugin per i permessi relativi ai barili[true] useWorldGuard: true useLWC: true useGriefPrevention: true +useGMInventories: true useCitadel: true # Abilita il logging degli inventari dei barili [true] diff --git a/resources/config/v13/de/config.yml b/resources/config/v13/de/config.yml index cbd5763..38a6d9e 100644 --- a/resources/config/v13/de/config.yml +++ b/resources/config/v13/de/config.yml @@ -83,6 +83,7 @@ debug: false version: '1.8' + # -- Eigene Items Definieren -- # Die festgelegte id kann dann in einem Rezept verwendet werden diff --git a/resources/config/v13/en/config.yml b/resources/config/v13/en/config.yml index 5717cce..2cef828 100644 --- a/resources/config/v13/en/config.yml +++ b/resources/config/v13/en/config.yml @@ -77,13 +77,14 @@ updateCheck: true # Autosave interval in minutes [3] autosave: 3 -# Debug Nachrichten im Log anzeigen [false] +# Show debug messages in log [false] debug: false # Config Version version: '1.8' + # -- Define custom items -- # The defined id can then be used in recipes @@ -210,7 +211,7 @@ cauldron: # 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) # 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. +# Specific lore for quality possible, using + bad, ++ normal, +++ good, added to the front of the line. # servercommands: List of Commands executed by the Server when drinking the brew # playercommands: List of Commands executed by the Player when drinking the brew # drinkmessage: Chat-message to the Player when drinking the Brew @@ -419,8 +420,7 @@ useLogBlock: true # -- Chat Distortion Settings -- -# If written Chat is distorted when the Player is Drunk, -# so that it looks like drunk writing +# If written Chat is distorted when the Player is Drunk, so that it looks like drunk writing # How much the chat is distorted depends on how drunk the Player is # Below are settings for what and how changes in chat occur enableChatDistortion: true diff --git a/resources/config/v13/fr/config.yml b/resources/config/v13/fr/config.yml index 98f15cf..6dac476 100644 --- a/resources/config/v13/fr/config.yml +++ b/resources/config/v13/fr/config.yml @@ -1,6 +1,7 @@ # config for Brewery.jar +# Quelques traductions en français ont été faites avec DeepL # -- Paramètres -- # Les paramètres par défaut sont entre [] @@ -40,8 +41,8 @@ pukeDespawntime: 60 # Consommables Objet/Force. Réduit le montant d'alcool par lors de la consommation. (list) drainItems: -- Bread/4 -- Milk_Bucket/2 + - Bread/4 + - Milk_Bucket/2 # Temps (en jours) pour que les données d'ivresse restent sauvergardées lorsque le joueur est déconnecté, pour appliquer les effets. [7] hangoverDays: 7 @@ -50,17 +51,23 @@ hangoverDays: 7 colorInBarrels: true colorInBrewer: true +# Toujours montrer les 1-5 étoiles sur les objets en fonction de leur qualité. S'ils sont faux, ils n'apparaîtront que lors de l'infusion. [true] +alwaysShowQuality: true + +# Toujours indiquer la teneur en alcool sur les objets. S'il est false, il n'apparaîtra que dans le stand de brassage. [false] +alwaysShowAlc: false + # Si le grand tonneau peut être ouvert en cliquant sur n'importe quel bloc, non seulement le robinet ou le panneau. Toujours "true" pour les petits tonneaux. [true] openLargeBarrelEverywhere: true -# How many Brewery drinks can be put into the Minecraft barrels [6] +# Combien de boissons de brasserie peuvent être mises dans les barils Minecraft [6] maxBrewsInMCBarrels: 6 -# The used Ingredients and other brewing-data is saved to all Brewery Items. To prevent -# hacked clients from reading what exactly was used to brew an item, the data can be encoded/scrambled. -# This is a fast process to stop players from hacking out recipes, once they get hold of a brew. -# Only drawback: brew items can only be used on another server with the same encodeKey. -# So enable this if you want to make recipe cheating harder, but don't share any brews by world download, schematics, or other means. [false] +# Les ingrédients et autres données de brassage utilisés sont sauvegardés dans tous les articles de brasserie. [false] +# Pour empêcher les clients piratés de lire exactement ce qui a été utilisé pour infuser un élément, les données peuvent être encodées/brouillées. +# Il s'agit d'un processus rapide pour empêcher les joueurs de pirater des recettes, une fois qu'ils mettent la main sur une bière. +# Seul inconvénient: Les boissons brassicoles ne peuvent être utilisés que sur un autre serveur avec la même clé de chiffrement. +# Activez cette option si vous voulez rendre la tricherie des recettes plus difficile, mais ne partagez pas les infusions par téléchargement mondial, schémas ou autres moyens. enableEncode: false encodeKey: 0 @@ -71,29 +78,147 @@ updateCheck: true # Intervale de la sauvegarde automatique en minutes [3] autosave: 3 +# Show debug messages in log [false] +debug: false + # Version de configuration version: '1.8' + +# -- Définir des objets personnalisés -- +# L'id défini peut ensuite être utilisé dans les recettes + +# matchAny: si c'est déjà assez si l'une des infos correspond +# material: le type d'article à utiliser +# name: Quel nom l'article doit porter (codes de formatage possibles : tels que &6) +# lore: Ce qui doit être dans la lore de l'objet + +customItems: + ex-item: + # Un objet Barrière appelé "Wall" et qui a la ligne donnée dans sa lore + material: Barrier + name: 'Wall' + lore: + - '&7Very well protected' + + ex-item2: + # En utilisant matchAny, un seul des éléments suivants doit correspondre. + # Dans ce cas, l'un des types de porte, ou un article appelé "Beechwood Door", ou un objet avec "A door" dans sa lore. + matchAny: true + material: + - Acacia_Door + - Oak_Door + - Spruce_Door + name: + - 'Beechwood Door' + lore: + - 'A door' + + rasp: + name: '&cRaspberry' + + +# -- Ingrédients dans le chaudron -- +# Quels sont les ingrédients acceptés par le chaudron et la potion de base qui en résulte + +# name: Nom de la potion de base qui sort du chaudron (codes de formatage possibles : tels que &6) +# ingredients: Liste des 'matériaux/montant' +# Avec un objet en main, utilisez /brew ItemName pour obtenir son matériau pour une recette de cuisine +# (Les id d'objets à la place des matériaux sont obsolètes pour bukkit) +# Une liste des matériaux peuvent-être trouvés ici: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html +# color : Couleur de la potion provenant d'un chaudron. +# Couleurs disponibles : DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY +# (Dans l'ordre : Rouge foncé, Rouge, Rouge clair, Orange, Rose, Bleu, Cyan, Eau, Vert, Noir, Gris, Gris clair) +# Ou couleurs RGB (hex: par exemple '99FF33') (avec '') (recherche de "HTML color" sur internet) +# lore: Liste de texte supplémentaire sur la potion de base. (Formatting codes possible: such as &6) + +cauldron: + ex: + name: Exemple + ingredients: + - Bedrock/2 + - Diamond + color: BLACK + lore: + - Un exemple pour une potion de base + - Voici comment il sort d'un chaudron + + # -- Un ingrédient: -- + wheat: + name: Blé fermenté + ingredients: Wheat + + sugarcane: + name: Sucre fermenté + ingredients: Sugar_Cane + color: 'f1ffad' # yellowish green + + apple: + name: Cidre de pommes + ingredients: Apple + + potato: + name: Purée de Pommes de Terre + ingredients: Potato + + grass: + name: Herbes bouillies + ingredients: Grass + color: '99ff66' # bright green + + rmushroom: + name: Champignons fermentés + ingredients: Red_Mushroom + color: 'ff5c33' # amber red + + cocoa: + name: Infusion au chocolat + ingredients: Cocoa_Beans + color: '804600' # mocca + + milk: + name: Eau laiteuse + ingredients: Milk_Bucket + color: BRIGHT_GREY + + # -- Ingrédients multiples: -- + apfelmet_base: + name: Brassée pomme-sucre + ingredients: + - Sugar_Cane/3 + - Apple + color: 'e1ff4d' # greenish yellow + + # -- Recette pour les boissons -- # name: Différents noms pour la mauvaise/moyen/bonne qualité (Les codes de mise en forme sont pris en charge: comme par exemple &6 pour la couleur Or.) # ingredients: Liste des 'matériaux/montant' -# With an item in your hand, use /brew ItemName to get its material for use in a recipe +# Avec un objet en main, utilisez /brew ItemName pour obtenir son matériau pour une recette de cuisine # (Les id d'objets à la place des matériaux sont obsolètes pour bukkit) # Ex: 'Sugar_Cane' # Une liste des matériaux peuvent-être trouvés ici: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html +# Plugin items avec 'plugin:id' (Actuellement supporté ExoticGarden, Slimefun, MMOItems, Brewery) +# Ou un élément personnalisé défini ci-dessus # cookingtime: Temps en minutes réelles durant lesquelles les ingrédients devront bouillir # distillruns: Combien de fois le breuvage devra être distillé pour un alcool de qualité (0=Ne pas distiller) -# distilltime: How long (in seconds) one distill-run takes (0=Default time of 40 sec) MC Default would be 20 sec +# distilltime: Combien de temps (en secondes) dure une distillation (0=Temps par défaut de 40 secondes) MC Par défaut serait de 20 secondes # wood: Type de bois du baril 0=aucun 1=Bouleau 2=Chêne 3=Jungle 4=Pin 5=Acacia 6=Chêne Noir -# The Minecraft barrel is made of oak +# Le tonneau Minecraft est en chêne. # age: Temps en jours de Minecraft, la potion devra être âgée dans un baril. 0=Pas besoin d'âge # color: Couleur de la potion après distillation/avoir laissé vieillir. -# Couleurs disponibles: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY (Dans l'ordre : Rouge foncé, Rouge, Rouge clair, Orange, Rose, Bleu, Cyan, Eau, Vert, Noir, Gris, Gris clair) -# Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet) +# Couleurs disponibles: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY +# (Dans l'ordre : Rouge foncé, Rouge, Rouge clair, Orange, Rose, Bleu, Cyan, Eau, Vert, Noir, Gris, Gris clair) +# Ou couleurs RGB (hex: par exemple '99FF33') (avec '') (recherche de "HTML color" sur internet) # difficulty: 1-10 précision nécessaire pour obtenir une bonne qualité (1 = imprécis/facile, 10 = très précis/difficile) # alcohol: Le montant d'alcool absolu dans une boisson parfaite (cela sera ajouté directement au joueur, où 100% entraînera l'évanouissement), un degré d'alcooléisme en fait +# lore: Liste des textes supplémentaires sur le breuvage fini. (Codes de formatage possibles : tels que &6) +# Texte spécifique de qualité possible, en utilisant + mauvais, ++ normal, +++ bon, ajouté à l'avant de la ligne. +# servercommands: Liste des commandes exécutées par le serveur lors de la consommation de la potion +# playercommands: Liste des commandes exécutées par le joueur lors de la consommation de la potion +# drinkmessage: Chat-message au joueur lorsqu'il boit la potion +# drinktitle: Titre à l'écran du joueur lorsqu'il boit la potion # effects: Liste des effets/durée en secondes lors de la consommation. # Effets posssible: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html # POUR LES EFFETS EN FONCTIONS DE LA QUALITE : Les Niveaux (I ou II) ou les Intervalles de durées d'effets doivent être spécifiés avec un "-". @@ -105,144 +230,168 @@ version: '1.8' recipes: # Exemple de recette avec tous les paramètres possibles : - 0: - name: Mauvais Exemple/Exemple/Bonne Exemple - ingredients: - - Sugar_Cane/5 + 0: + name: Mauvais Exemple/Exemple/Bonne Exemple + 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 - effects: + - Brewery:Bière Blanche/2 +# - ExoticGarden:Grape/3 + - ex-item/4 + cookingtime: 3 + distillruns: 2 + distilltime: 60 + wood: 4 + age: 11 + color: DARK_RED + difficulty: 3 + alcohol: 23 + lore: + - C'est un breuvage d'exemple + - ++Juste un exemple normal + - Ce texte serait sur le breuvage + - + Ça sent dégueulasse. + - ++ Ça sent bon + - +++ Ça sent vraiment bon + servercommands: + - weather clear + playercommands: + - homes + drinkmessage: C'est bon au goût + drinktitle: vous réchauffe à l'intérieur + effects: - FIRE_RESISTANCE/20 - HEAL/1 - WEAKNESS/2-3/50-60 - POISON/1-0/20-0 - 1: - name: Bière Blanche Fade/Bière Blanche/Bonne Bière Blanche - ingredients: + + 1: + name: Bière Blanche Fade/Bière Blanche/Bonne Bière Blanche + ingredients: - Wheat/3 - cookingtime: 8 - distillruns: 0 - wood: 1 - age: 2 - color: BRIGHT_GREY - difficulty: 1 - alcohol: 5 - 2: - name: Bière Fade/Bière/Bonne Bière - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 1 + age: 2 + color: BRIGHT_GREY + difficulty: 1 + alcohol: 5 + + 2: + name: Bière Fade/Bière/Bonne Bière + ingredients: - Wheat/6 - cookingtime: 8 - distillruns: 0 - wood: 0 - age: 3 - color: ORANGE - difficulty: 1 - alcohol: 6 - 3: - name: Bière Brune Fade/Bière Brune/Bonne Bière Brune - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 0 + age: 3 + color: ORANGE + difficulty: 1 + alcohol: 6 + + 3: + name: Bière Brune Fade/Bière Brune/Bonne Bière Brune + ingredients: - Wheat/6 - cookingtime: 8 - distillruns: 0 - wood: 4 - age: 8 - color: BLACK - difficulty: 2 - alcohol: 7 - 4: - name: Hydromel Bizarre/Hydromel/&6Hydromel Doré - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 4 + age: 8 + color: BLACK + difficulty: 2 + alcohol: 7 + + 4: + name: Hydromel Bizarre/Hydromel/&6Hydromel Doré + ingredients: - Sugar_Cane/6 - cookingtime: 3 - distillruns: 0 - wood: 2 - age: 4 - color: ORANGE - difficulty: 2 - alcohol: 9 - 5: - name: Hydromel de Pommes/Doux Hydromel de Pommes/&6Doux Hydromel de Pommes Dorées - ingredients: + cookingtime: 3 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 2 + alcohol: 9 + + 5: + name: Hydromel de Pommes/Doux Hydromel de Pommes/&6Doux Hydromel de Pommes Dorées + ingredients: - Sugar_Cane/6 - Apple/2 - cookingtime: 4 - distillruns: 0 - wood: 2 - age: 4 - color: ORANGE - difficulty: 4 - alcohol: 12 - effects: + cookingtime: 4 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 4 + alcohol: 12 + effects: - WATER_BREATHING/1-2/150 - 6: - name: Rhum Amer/Rhum Epicé/&6Rhum Doré - ingredients: + + 6: + name: Rhum Amer/Rhum Epicé/&6Rhum Doré + 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: Vodka Sale/Vodka/Vodka Russe - ingredients: + + 7: + name: Vodka Sale/Vodka/Vodka Russe + ingredients: - Potato/10 - cookingtime: 15 - distillruns: 3 - age: 0 - color: BRIGHT_GREY - difficulty: 4 - alcohol: 20 - effects: + cookingtime: 15 + distillruns: 3 + age: 0 + color: BRIGHT_GREY + difficulty: 4 + alcohol: 20 + effects: - WEAKNESS/15 - POISON/10 - 8: - name: Absinthe pauvre/Absinthe/Absinthe forte - ingredients: + + 8: + name: Absinthe pauvre/Absinthe/Absinthe forte + ingredients: - Grass/15 - cookingtime: 3 - distillruns: 6 - distilltime: 80 - color: GREEN - difficulty: 8 - alcohol: 45 - effects: + cookingtime: 3 + distillruns: 6 + distilltime: 80 + color: GREEN + difficulty: 8 + alcohol: 45 + effects: - POISON/20-30 - 9: - name: Potato soup - ingredients: + + 9: + name: Potato soup + ingredients: - Potato/5 - Grass/3 - cookingtime: 3 - color: PINK - difficulty: 1 - effects: + cookingtime: 3 + color: PINK + difficulty: 1 + effects: - HEAL/0-1 - 10: - name: Café fétide/Café/Café fort - ingredients: + + 10: + name: Café fétide/Café/Café fort + ingredients: - Cocoa_Beans/12 - Milk_Bucket/2 - cookingtime: 2 - color: BLACK - difficulty: 3 - effects: + cookingtime: 2 + color: BLACK + difficulty: 3 + effects: - REGENERATION/1/2-5 - SPEED/1/30-140 @@ -251,28 +400,13 @@ recipes: # Ce sera aux Admins des serveurs de changer et d'ajouter les recettes, ainsi les joueurs ne pourront pas tricher avec les configuration de base. - -# cooked: CHAQUE ingrédient possible avec le nom donné après la fermentation (la cuisson): -# [Exemple] MATERIEL: Nom après la cuisson - -cooked: - Wheat: Blé fermenté - Sugar_Cane: Sucre fermenté - Apple: Cidre de pommes - Potato: Purée de Pommes de Terre - Grass: Herbes bouillies - Red_Mushroom: Champignons fermentés - Cocoa_Beans: Fermentation colorée - Milk_Bucket: Eau laiteuse - - - # -- Compatibilité entre Plugins -- # Activer la vérification des autres plugins (si installés) pour les permissions des tonneaux. [true] useWorldGuard: true useLWC: true useGriefPrevention: true +useGMInventories: true # Activer l'historique du contenu des tonneaux avec LogBlock [true] useLogBlock: true @@ -280,10 +414,9 @@ useLogBlock: true # -- Paramètres de la distorsion du Chat -- -# If written Chat is distorted when the Player is Drunk, -# so that it looks like drunk writing -# How much the chat is distorted depends on how drunk the Player is -# Below are settings for what and how changes in chat occur +# Si le Chat écrit est déformé quand le joueur est ivre, de sorte qu'il ressemble à un chat bourré en train d'écrire +# Le degré de distorsion du chat dépend de l'état d'ébriété du joueur +# Ci-dessous sont les paramètres pour ce qui et comment les changements dans le chat se produisent enableChatDistortion: true # Ecrire dans les "logs" du serveur ce que le joueur devrait dire, à la place de la distorsion. [false] diff --git a/resources/config/v13/it/config.yml b/resources/config/v13/it/config.yml index 64895cd..a32eac1 100644 --- a/resources/config/v13/it/config.yml +++ b/resources/config/v13/it/config.yml @@ -40,8 +40,8 @@ pukeDespawntime: 60 # Oggetto consumabile/forza. Questi oggetti se consumati calano il livello di alcool (della "forza" che avevi impsotato) (list) drainItems: -- Bread/4 -- Milk_Bucket/2 + - Bread/4 + - Milk_Bucket/2 # Tempo in giorni che la sbronza resta in memoria dopo che il giocatore va offline, cioè il tempo per cui i postumi della sbornia durano. [7] hangoverDays: 7 @@ -50,6 +50,12 @@ hangoverDays: 7 colorInBarrels: true colorInBrewer: true +# Always show the 1-5 stars on the item depending on the quality. If false, they will only appear when brewing [true] +alwaysShowQuality: true + +# Always show the alcohol content on the item. If false, it will only show in the brewing stand [false] +alwaysShowAlc: false + # Se un barile grande può essere aperto cliccandoci sopra, non solo sul cartello e sulla staccionata. Questo è sempre true per i barili piccoli. [true] openLargeBarrelEverywhere: true @@ -71,10 +77,117 @@ updateCheck: true # Intervallo di autosalvataggio in minuti [3] autosave: 3 +# Show debug messages in log [false] +debug: false + # Versione del config 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 + # -- Ricette per pozioni -- # name: Tre nomi diversi per diverse qualità (cattivo/normale/buono). I codici come &6 possono essere usati. @@ -82,6 +195,8 @@ version: '1.8' # With an item in your hand, use /brew ItemName to get its material for use in a recipe # (Gli id invece dei materiali sono "disapprovati" da Bukkit) # Una lista di materiali può essere trovata qui: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html +# Plugin items with 'plugin:id' (Currently supporting ExoticGarden, Slimefun, MMOItems, Brewery) +# Or a custom item defined above # cookingtime: Tempo in minuti richiesto dagli ingredienti per bollire # distillruns: Quanto spesso deve essere distillato per ottenere la versione perfetta con il volume alcolico impostato (0=non serve distillare). # distilltime: How long (in seconds) one distill-run takes (0=Default time of 40 sec) MC Default would be 20 sec @@ -93,6 +208,12 @@ version: '1.8' # Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet) # difficoltà: Precisione richiesta per avere la migliore qualità da 1 a 10(1 = spreciso/più facile, 10 = molto preciso/più difficile) # alcohol: Volume alcolico da 0 a 100 nella versione perfetta (sarà aggiunta direttamente al giocatore, dove 100 è la quantità massima di alcohol assorbibile. +# 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. +# servercommands: List of Commands executed by the Server when drinking the brew +# playercommands: List of Commands executed by the Player when drinking the brew +# drinkmessage: Chat-message to the Player when drinking the Brew +# drinktitle: Title on Screen to the Player when drinking the Brew # effects: Eventuali effetti come quelli delle pozioni nel formato di effetto/livello/durata. # Lista di effetti possibili: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html # Intervalli di livelli o durate possono essere specificati con un "-", per esempio 'SPEED/1-2/30-40'. Ciò significa nel peggior caso livello 1 e 30 secondi di durata e livello 2 e 40 secondi nel migliore. @@ -100,145 +221,169 @@ version: '1.8' # La durata massima possibile è 1638 secondi. Gli effetti instantaner non hanno bisogno che la durata sia specificata. recipes: -# Ricetta di esempio con ogni opzione possibile: - 0: - name: Cattivo esempio/Esempio/Buon esempio - ingredients: - - Sugar_Cane/5 + # Ricetta di esempio con ogni opzione possibile: + 0: + name: Cattivo esempio/Esempio/Buon esempio + 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 - effects: + - Brewery:Wheatbeer/2 + # - ExoticGarden:Grape/3 + - ex-item/4 + 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 + servercommands: + - weather clear + playercommands: + - homes + drinkmessage: Tastes good + drinktitle: Warms you from inside + effects: - FIRE_RESISTANCE/20 - HEAL/1 - WEAKNESS/2-3/50-60 - POISON/1-0/20-0 - 1: - name: Birra di frumento puzzolente/Birra di frumento/Birra di frumento pregiata - ingredients: + + 1: + name: Birra di frumento puzzolente/Birra di frumento/Birra di frumento pregiata + ingredients: - Wheat/3 - cookingtime: 8 - distillruns: 0 - wood: 1 - age: 2 - color: BRIGHT_GREY - difficulty: 1 - alcohol: 5 - 2: - name: Birra puzzolente/Birra/Birra pregiata - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 1 + age: 2 + color: BRIGHT_GREY + difficulty: 1 + alcohol: 5 + + 2: + name: Birra puzzolente/Birra/Birra pregiata + ingredients: - Wheat/6 - cookingtime: 8 - distillruns: 0 - wood: 0 - age: 3 - color: ORANGE - difficulty: 1 - alcohol: 6 - 3: - name: Birra scura puzzolente/Birra scura/Birra scura pregiata - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 0 + age: 3 + color: ORANGE + difficulty: 1 + alcohol: 6 + + 3: + name: Birra scura puzzolente/Birra scura/Birra scura pregiata + ingredients: - Wheat/6 - cookingtime: 8 - distillruns: 0 - wood: 4 - age: 8 - color: BLACK - difficulty: 2 - alcohol: 7 - 4: - name: Idromele scarso/Idromele/&6Idromele dorato - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 4 + age: 8 + color: BLACK + difficulty: 2 + alcohol: 7 + + 4: + name: Idromele scarso/Idromele/&6Idromele dorato + ingredients: - Sugar_Cane/6 - cookingtime: 3 - distillruns: 0 - wood: 2 - age: 4 - color: ORANGE - difficulty: 2 - alcohol: 9 - 5: - name: Idromele di mele/Idromele di mele dolci/&6Idromele di mele dolci dorato - ingredients: + cookingtime: 3 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 2 + alcohol: 9 + + 5: + name: Idromele di mele/Idromele di mele dolci/&6Idromele di mele dolci dorato + ingredients: - Sugar_Cane/6 - Apple/2 - cookingtime: 4 - distillruns: 0 - wood: 2 - age: 4 - color: ORANGE - difficulty: 4 - alcohol: 12 - effects: + cookingtime: 4 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 4 + alcohol: 12 + effects: - WATER_BREATHING/1-2/150 - 6: - name: Rum amaro/Rum speziato/&6Rum dorato - ingredients: + + 6: + name: Rum amaro/Rum speziato/&6Rum dorato + 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: Vodka schifosa/Vodka/Vodka russa - ingredients: + + 7: + name: Vodka schifosa/Vodka/Vodka russa + ingredients: - Potato/10 - cookingtime: 15 - distillruns: 3 - age: 0 - color: BRIGHT_GREY - difficulty: 4 - alcohol: 20 - effects: + cookingtime: 15 + distillruns: 3 + age: 0 + color: BRIGHT_GREY + difficulty: 4 + alcohol: 20 + effects: - WEAKNESS/15 - POISON/10 - 8: - name: Assenzio scarso/Assenzio/Assenzio forte - ingredients: + + 8: + name: Assenzio scarso/Assenzio/Assenzio forte + ingredients: - Grass/15 - cookingtime: 3 - distillruns: 6 - distilltime: 80 - color: GREEN - difficulty: 8 - alcohol: 45 - effects: + cookingtime: 3 + distillruns: 6 + distilltime: 80 + color: GREEN + difficulty: 8 + alcohol: 45 + effects: - POISON/20-30 - 9: - name: Zuppa di patate - ingredients: + + 9: + name: Zuppa di patate + ingredients: - Potato/5 - Grass/3 - cookingtime: 3 - color: PINK - difficulty: 1 - effects: + cookingtime: 3 + color: PINK + difficulty: 1 + effects: - HEAL/0-1 - 10: - name: Caffè stantio/Caffè/Caffè forte - ingredients: + + 10: + name: Caffè stantio/Caffè/Caffè forte + ingredients: - Cocoa_Beans,3/12 - Milk_Bucket/2 - cookingtime: 2 - color: BLACK - difficulty: 3 - effects: + cookingtime: 2 + color: BLACK + difficulty: 3 + effects: - REGENERATION/1/2-5 - SPEED/1/30-140 @@ -248,27 +393,13 @@ recipes: -# cooked: OGNI possibile ingrediente e i nomi per la pozione originatasi dopo la fermentazione. -# (Esempio) MATERIALE: Nome dopo la cottura - -cooked: - Wheat: Frumento fermentato - Sugar_Cane: Miscela zuccherata - Apple: Sidro di mele - Potato: Purè di patate - Grass: Erbe bollite - Red_Mushroom: Miscela ai funghi - Cocoa_Beans: Miscela colorata - Milk_Bucket: Acqua lattea - - - # -- Compatibilità con altri plugin -- # Abilita il controllo della presenza di altri plugin per i permessi relativi ai barili[true] useWorldGuard: true useLWC: true useGriefPrevention: true +useGMInventories: true # Abilita il logging degli inventari dei barili [true] useLogBlock: true diff --git a/resources/config/v13/zh/config.yml b/resources/config/v13/zh/config.yml index b1dfda5..8c5d79a 100644 --- a/resources/config/v13/zh/config.yml +++ b/resources/config/v13/zh/config.yml @@ -52,6 +52,12 @@ hangoverDays: 7 colorInBarrels: true colorInBrewer: true +# Always show the 1-5 stars on the item depending on the quality. If false, they will only appear when brewing [true] +alwaysShowQuality: true + +# Always show the alcohol content on the item. If false, it will only show in the brewing stand [false] +alwaysShowAlc: false + # 大型熟成木桶可以通过右击桶身任意一个位置来打开, 而不需要专门右击其龙头. 这一操作对小型酒桶总为真.[true] openLargeBarrelEverywhere: false @@ -73,10 +79,119 @@ updateCheck: true # 自动保存时间间隔, 单位:分钟.[3] autosave: 3 +# Show debug messages in log [false] +debug: false + # 配置文件版本 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: 发酵麦汁 + ingredients: Wheat + + sugarcane: + name: 糖浆 + ingredients: Sugar_Cane + color: 'f1ffad' # yellowish green + + apple: + name: 苹果汁 + ingredients: Apple + + potato: + name: 土豆泥 + ingredients: Potato + + grass: + name: 蒸煮过的药草 + ingredients: Grass + color: '99ff66' # bright green + + rmushroom: + name: 蘑菇酿 + ingredients: Red_Mushroom + color: 'ff5c33' # amber red + + cocoa: + name: 上了色的水 + ingredients: Cocoa_Beans + color: '804600' # mocca + + milk: + name: 乳浊液体 + ingredients: Milk_Bucket + color: BRIGHT_GREY + + # -- Multiple Ingredients: -- + apfelmet_base: + name: Apple-Sugar brew + ingredients: + - Sugar_Cane/3 + - Apple + color: 'e1ff4d' # greenish yellow + + + # -- 饮品配方列表 -- # name: 饮品名称, 可以为 劣质/普通/优质 三种质量的饮品命名(可插入样式代码, 如:&6). @@ -84,6 +199,8 @@ version: '1.8' # 手中持有物品的时候, 可以使用/brew ItemName来获取其物品id, 便于增改配方 # (请勿使用物品ID, 物品ID已被弃用, 使用材料名称是唯一支持的做法.) # 材料名称列表详见此处: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html (可能需要挂梯子进行浏览) +# Plugin items with 'plugin:id' (Currently supporting ExoticGarden, Slimefun, MMOItems, Brewery) +# Or a custom item defined above # cookingtime: 原料需要在炼药锅内烹制发酵的时间, 单位为现实分钟. # distillruns: 饮品需要在酿造台上蒸馏的次数(0=无需蒸馏). # distilltime: 每次蒸馏所需要耗费的时间(0=默认值, 即40秒), MC默认则为20秒/ @@ -96,6 +213,12 @@ version: '1.8' # 也可以使用RGB颜色(十六进制, 如'99FF33', 必须包含两个单引号)(在线搜索"HTML 颜色"或者其他颜色库即刻获得你需要的颜色的十六进制表示) # difficulty: 酿制难度, 1 = 不需要非常精确的操作就可以制出优质饮品, 10 = 需要非常精确的操作才可以制出优质饮品. # alcohol: 完美质量的饮品所含有的酒精度(百分数, 会被直接添加到玩家身上, 100意为直接昏迷) +# 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. +# servercommands: List of Commands executed by the Server when drinking the brew +# playercommands: List of Commands executed by the Player when drinking the brew +# drinkmessage: Chat-message to the Player when drinking the Brew +# drinktitle: Title on Screen to the Player when drinking the Brew # effects: 饮用后能够获得的药效的列表. 格式为"药效/强度/时长(秒)". # 药效列表: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html # 药效强度与时长可以用"-"划分区间, 如: "SPEED/1-2/30-40" = 最劣质情况下的饮品会给予速度1三十秒, 最优质则会给予速度2四十秒. @@ -103,145 +226,170 @@ version: '1.8' # 时长极限为1638秒. 药效强度极限为255级. 瞬间型药效无需附加时长. recipes: -# 例: - 0: - name: 劣质的 范例饮品/范例饮品/优质的 范例饮品 - ingredients: - - Sugar_Cane/5 + # 例: + + 0: + name: 劣质的 范例饮品/范例饮品/优质的 范例饮品 + 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 - effects: + - Brewery:Wheatbeer/2 +# - ExoticGarden:Grape/3 + - ex-item/4 + 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 + servercommands: + - weather clear + playercommands: + - homes + drinkmessage: Tastes good + drinktitle: Warms you from inside + effects: - FIRE_RESISTANCE/20 - HEAL/1 - WEAKNESS/2-3/50-60 - POISON/1-0/20-0 - 1: - name: 劣质麦啤/麦啤/优质麦啤 - ingredients: + + 1: + name: 劣质麦啤/麦啤/优质麦啤 + ingredients: - Wheat/3 - cookingtime: 8 - distillruns: 0 - wood: 1 - age: 2 - color: BRIGHT_GREY - difficulty: 1 - alcohol: 5 - 2: - name: 劣质啤酒/啤酒/鲜啤 - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 1 + age: 2 + color: BRIGHT_GREY + difficulty: 1 + alcohol: 5 + + 2: + name: 劣质啤酒/啤酒/鲜啤 + ingredients: - Wheat/6 - cookingtime: 8 - distillruns: 0 - wood: 0 - age: 3 - color: ORANGE - difficulty: 1 - alcohol: 6 - 3: - name: 劣质黑啤/黑啤/精制黑啤 - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 0 + age: 3 + color: ORANGE + difficulty: 1 + alcohol: 6 + + 3: + name: 劣质黑啤/黑啤/精制黑啤 + ingredients: - Wheat/6 - cookingtime: 8 - distillruns: 0 - wood: 4 - age: 8 - color: BLACK - difficulty: 2 - alcohol: 7 - 4: - name: 粗制蜜酒/蜜酒/黄金蜜酒 - ingredients: + cookingtime: 8 + distillruns: 0 + wood: 4 + age: 8 + color: BLACK + difficulty: 2 + alcohol: 7 + + 4: + name: 粗制蜜酒/蜜酒/黄金蜜酒 + ingredients: - Sugar_Cane/6 - cookingtime: 3 - distillruns: 0 - wood: 2 - age: 4 - color: ORANGE - difficulty: 2 - alcohol: 9 - 5: - name: 苹果蜜酒/甜苹果蜜酒/甘醇黄金苹果蜜酒 - ingredients: + cookingtime: 3 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 2 + alcohol: 9 + + 5: + name: 苹果蜜酒/甜苹果蜜酒/甘醇黄金苹果蜜酒 + ingredients: - Sugar_Cane/6 - Apple/2 - cookingtime: 4 - distillruns: 0 - wood: 2 - age: 4 - color: ORANGE - difficulty: 4 - alcohol: 12 - effects: + cookingtime: 4 + distillruns: 0 + wood: 2 + age: 4 + color: ORANGE + difficulty: 4 + alcohol: 12 + effects: - WATER_BREATHING/1-2/150 - 6: - name: 苦涩的朗姆/辛辣的朗姆/金品朗姆 - ingredients: + + 6: + name: 苦涩的朗姆/辛辣的朗姆/金品朗姆 + 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: 劣质伏特加/伏特加/纯正俄式风味伏特加 - ingredients: + + 7: + name: 劣质伏特加/伏特加/纯正俄式风味伏特加 + ingredients: - Potato/10 - cookingtime: 15 - distillruns: 3 - age: 0 - color: BRIGHT_GREY - difficulty: 4 - alcohol: 20 - effects: + cookingtime: 15 + distillruns: 3 + age: 0 + color: BRIGHT_GREY + difficulty: 4 + alcohol: 20 + effects: - WEAKNESS/15 - POISON/10 - 8: - name: 劣质苦艾酒/苦艾酒/劲猛苦艾酒 - ingredients: + + 8: + name: 劣质苦艾酒/苦艾酒/劲猛苦艾酒 + ingredients: - Grass/15 - cookingtime: 3 - distillruns: 6 - distilltime: 80 - color: GREEN - difficulty: 8 - alcohol: 45 - effects: + cookingtime: 3 + distillruns: 6 + distilltime: 80 + color: GREEN + difficulty: 8 + alcohol: 45 + effects: - POISON/20-30 - 9: - name: 土豆汤 - ingredients: + + 9: + name: 土豆汤 + ingredients: - Potato/5 - Grass/3 - cookingtime: 3 - color: PINK - difficulty: 1 - effects: + cookingtime: 3 + color: PINK + difficulty: 1 + effects: - HEAL/0-1 - 10: - name: 平淡的咖啡/咖啡/浓苦黑咖 - ingredients: + + 10: + name: 平淡的咖啡/咖啡/浓苦黑咖 + ingredients: - Cocoa_Beans/12 - Milk_Bucket/2 - cookingtime: 2 - color: BLACK - difficulty: 3 - effects: + cookingtime: 2 + color: BLACK + difficulty: 3 + effects: - REGENERATION/1/2-5 - SPEED/1/30-140 @@ -250,30 +398,13 @@ recipes: # 插件的本意是让玩家自行实验饮品制造配方, 所以未来的新配方由服管决定是否加入. - - -# cooked: 炼药锅中烹制发酵过后的液体名称, 由一个饮品中的第一个原料决定. -# [例] 原料名称: 烹制后的名称 - -cooked: - Wheat: 发酵麦汁 - Sugar_Cane: 糖浆 - Apple: 苹果汁 - Potato: 土豆泥 - Grass: 蒸煮过的药草 - Red_Mushroom: 蘑菇酿 - Cocoa_Beans: 上了色的水 - Milk_Bucket: 乳浊液体 - - - - # -- 插件兼容性 -- # 检查插件以进行权限配置[true] useWorldGuard: true useLWC: true useGriefPrevention: true +useGMInventories: true # 对LogBlock启用方块数据录入[true] useLogBlock: true diff --git a/resources/languages/de.yml b/resources/languages/de.yml index 366ba89..b4f009a 100644 --- a/resources/languages/de.yml +++ b/resources/languages/de.yml @@ -31,24 +31,17 @@ CMD_Static: '&aTrank ist nun unveränderlich und kann nicht weiter gereift oder CMD_NonStatic: '&eTrank ist wieder veränderlich und kann normal gereift oder destilliert werden' # Error +Error_ConfigUpdate: 'Unbekannte Brewery Config Version: v&v1, Config wurde nicht geupdated!' Error_ItemNotPotion: '&cDas Item in deiner Hand konnte nicht als Trank identifiziert werden' +Error_NoBarrelAccess: '&cDu hast keine Rechte dieses Fass zu öffnen!' Error_NoBrewName: '&cKein Rezept mit Namen: "&v1&c" gefunden!' +Error_NoPermissions: '&cDu hast keine Rechte dies zu tun!' Error_PlayerCommand: '&cDieser Befehl kann nur als Spieler ausgeführt werden' Error_Recipeload: '&cEs konnten nicht alle Rezepte wiederhergesellt werden: Siehe Serverlog!' Error_ShowHelp: 'Benutze &6/brew help &fum die Hilfe anzuzeigen' Error_UnknownCommand: Unbekannter Befehl -Error_ConfigUpdate: 'Unbekannte Brewery Config Version: v&v1, Config wurde nicht geupdated!' Error_YmlRead: 'config.yml konnte nicht gelesen werden, ist die Datei im korrekten yml-Format (korrekte Leerzeichen usw.)?' -# Permission -Error_NoPermissions: '&cDu hast keine Rechte dies zu tun!' -Error_NoBarrelAccess: '&cDu hast keine Rechte dieses Fass zu öffnen!' -Perms_NoBarrelCreate: '&cDu hast keine Rechte Fässer zu erstellen!' -Perms_NoSmallBarrelCreate: '&cDu kast keine Rechte kleine Fässer zu erstellen!' -Perms_NoBigBarrelCreate: '&cDu kast keine Rechte große Fässer zu erstellen!' -Perms_NoCauldronInsert: '&cDu hast keine Rechte Zutaten in Bottiche zu tun!' -Perms_NoCauldronFill: '&cDu hast keine Rechte Flaschen von diesem Bottich abzufüllen!' - # Etc Etc_Page: Seite Etc_Usage: 'Benutzung:' @@ -73,6 +66,13 @@ Help_WakeupRemove: '&6/brew Wakeup Remove &9Entfernt einen Aufwachpunkt' Help_Static: '&6/brew Static &9Trank unveränderlich machen -> Kein weiteres reifen oder destillieren möglich' Help_Create: '&6/brew Create [Qualität] [Spieler] &9Erstellt einen Trank mit optionaler Qualität (1-10)' +# Permission +Perms_NoBarrelCreate: '&cDu hast keine Rechte Fässer zu erstellen!' +Perms_NoSmallBarrelCreate: '&cDu kast keine Rechte kleine Fässer zu erstellen!' +Perms_NoBigBarrelCreate: '&cDu kast keine Rechte große Fässer zu erstellen!' +Perms_NoCauldronInsert: '&cDu hast keine Rechte Zutaten in Bottiche zu tun!' +Perms_NoCauldronFill: '&cDu hast keine Rechte Flaschen von diesem Bottich abzufüllen!' + # Player Player_BarrelCreated: Fass erfolgreich erstellt Player_BarrelFull: '&cHier passen nicht mehr Getränke hinein' diff --git a/resources/languages/fr.yml b/resources/languages/fr.yml index 4a57aca..8a5ecb1 100644 --- a/resources/languages/fr.yml +++ b/resources/languages/fr.yml @@ -5,7 +5,7 @@ Brew_BarrelRiped: Baril âgé Brew_DistillUndefined: Distillation indéfinie Brew_Distilled: Distillé Brew_HundredsOfYears: Centaines d´années -Brew_Ingredients: Ingredients +Brew_Ingredients: Ingrédients Brew_MinutePluralPostfix: s Brew_OneYear: Un an Brew_ThickBrew: Breuvage boueux @@ -14,6 +14,7 @@ Brew_Woodtype: Type de bois Brew_Years: Années Brew_fermented: fermenté Brew_minute: minute +Brew_Alc: Alc &v1ml # CMD CMD_Copy_Error: '&6&v1 &cCes potions ne rentrent pas dans votre inventaire.' @@ -23,8 +24,9 @@ CMD_NonStatic: '&eLa boisson n´est plus statique et vieillira normalement dans CMD_Player: '&a&v1 est maintenant &6&v2% &aivre, avec une qualité de &6&v3' CMD_Player_Error: '&cLa qualité doit être comprise entre 1 et 10 !' CMD_Reload: '&aLa config a été reload avec succès.' +CMD_Created: '&aBrew créé' CMD_Configname: '&aName for the Config is: &f&v1' -CMD_Configname_Error: '&cCould not find item in your hand' +CMD_Configname_Error: '&cN´a pas pu trouver d´objet dans votre main' CMD_Static: '&aLa boisson est maintenant statique et ne changera pas dans les barils ou les stands d´alchimie.' CMD_UnLabel: '&aLabel supprimé!' diff --git a/resources/languages/it.yml b/resources/languages/it.yml index 136de93..524571b 100755 --- a/resources/languages/it.yml +++ b/resources/languages/it.yml @@ -14,6 +14,7 @@ Brew_Woodtype: Tipo di legno Brew_Years: Anni Brew_fermented: fermentata Brew_minute: minuto +Brew_Alc: Alc &v1ml # Comandi CMD_Copy_Error: '&6&v1 &cLe copie di questa pozione non stavano nell''inventario.' @@ -23,6 +24,7 @@ CMD_NonStatic: '&eLa pozione non è più statica ed invecchierà normalmente nei CMD_Player: '&a&v1 è ora &6&v2% &asbronzo, con una qualità di &6&v3' CMD_Player_Error: '&cLa qualità deve essere fra 1 e 10!' CMD_Reload: '&aLa configurazione è stata ricaricata con successo' +CMD_Created: '&aBrew Created' CMD_Configname: '&aName for the Config is: &f&v1' CMD_Configname_Error: '&cCould not find item in your hand' CMD_Static: '&aLa pozione è ora statica e non cambierà né nei barili né negli alambicchi.' diff --git a/resources/languages/tw.yml b/resources/languages/tw.yml index 2ba1665..39c5298 100644 --- a/resources/languages/tw.yml +++ b/resources/languages/tw.yml @@ -14,6 +14,7 @@ Brew_Woodtype: 木材質 Brew_Years: 年 Brew_fermented: 發酵 Brew_minute: 分鐘 +Brew_Alc: Alc &v1ml # CMD CMD_Copy_Error: '&6&v1 &c藥水不適合你的庫存' @@ -23,6 +24,7 @@ CMD_NonStatic: '&e藥水不再是靜止的,會在桶木中老化.' CMD_Player: '&a&v1 現在是 &6&v2% &a醉酒,酒的品質為 &6&v3' CMD_Player_Error: '&c酒的品質必須在1到10之間!' CMD_Reload: '&a設定檔已成功重新加載' +CMD_Created: '&aBrew Created' CMD_Configname: '&aName for the Config is: &f&v1' CMD_Configname_Error: '&cCould not find item in your hand' CMD_Static: '&a藥水現在是靜止的,不會在桶或釀造台上變化.' diff --git a/resources/languages/zh.yml b/resources/languages/zh.yml index 36f7891..c64a3cb 100644 --- a/resources/languages/zh.yml +++ b/resources/languages/zh.yml @@ -14,6 +14,7 @@ Brew_Woodtype: 木头种类 Brew_Years: 年 Brew_fermented: 炖煮发酵 Brew_minute: 分钟 +Brew_Alc: Alc &v1ml # CMD CMD_Copy_Error: '&6&v1&r, &c你的背包塞不下了.' @@ -23,6 +24,7 @@ CMD_NonStatic: '&e饮品已被取消静滞, 现在可以正常地进行蒸馏或 CMD_Player: '&a&v1醉酒程度为&6&v2%&f, 醉酒质量为&6&v3.' CMD_Player_Error: '&c醉酒质量必须在1到10之间.' CMD_Reload: '&a配置文件重载成功.' +CMD_Created: '&aBrew Created' CMD_Configname: '配置文件中&aName的名字是: &f&v1' CMD_Configname_Error: '&c无法找到物品名称' CMD_Static: '&a饮品已被静滞, 现在其无法被蒸馏或进行木桶熟成.' diff --git a/src/com/dre/brewery/filedata/BConfig.java b/src/com/dre/brewery/filedata/BConfig.java index 3c698dd..7a9dc9f 100644 --- a/src/com/dre/brewery/filedata/BConfig.java +++ b/src/com/dre/brewery/filedata/BConfig.java @@ -81,8 +81,9 @@ public class BConfig { private static boolean checkConfigs() { File cfg = new File(p.getDataFolder(), "config.yml"); if (!cfg.exists()) { - p.errorLog("No config.yml found, creating default file! You may want to choose a config according to your language!"); - p.errorLog("You can find them in plugins/Brewery/configs/"); + p.log("§1§lNo config.yml found, creating default file! You may want to choose a config according to your language!"); + p.log("§1§lYou can find them in plugins/Brewery/configs/"); + p.log("§1§lJust copy the config for your language into the Brewery folder and /brew reload"); InputStream defconf = p.getResource("config/" + (P.use1_13 ? "v13/" : "v12/") + "en/config.yml"); if (defconf == null) { p.errorLog("default config file not found, your jarfile may be corrupt. Disabling Brewery!"); @@ -111,9 +112,10 @@ public class BConfig { File lfold = new File(configs, l); try { BUtil.saveFile(p.getResource("config/" + (P.use1_13 ? "v13/" : "v12/") + l + "/config.yml"), lfold, "config.yml", overwrite); - BUtil.saveFile(p.getResource("languages/" + l + ".yml"), languages, l + ".yml", false); // Never overwrite languages for now + BUtil.saveFile(p.getResource("languages/" + l + ".yml"), languages, l + ".yml", false); // Never overwrite languages, they get updated with their updater } catch (IOException e) { if (!(l.equals("zh") || l.equals("tw"))) { + // zh and tw not available for some versions e.printStackTrace(); } }