Added Messages and Commands when drinking

This commit is contained in:
Sn0wStorm
2019-11-22 20:00:05 +01:00
parent d0198c9f04
commit fa2a4974d8
7 changed files with 178 additions and 40 deletions
+11 -1
View File
@@ -207,6 +207,10 @@ cauldron:
# 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.
# Mögliche Effekte: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# Minimale und Maximale Level/Dauer können durch "-" festgelegt werden, Bsp: 'SPEED/1-2/30-40' = Level 1 und 30 sek minimal, Level 2 und 40 sek maximal
@@ -223,7 +227,7 @@ recipes:
- Bedrock/1
- Brewery:Weißbier/2
# - ExoticGarden:Grape/3
- bsp-item/1
- bsp-item/4
cookingtime: 3
distillruns: 2
distilltime: 60
@@ -239,6 +243,12 @@ recipes:
- + 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
+11
View File
@@ -208,6 +208,10 @@ cauldron:
# 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.
# Possible Effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# Level or Duration ranges may be specified with a "-", ex. 'SPEED/1-2/30-40' = lvl 1 and 30 sec at worst and lvl 2 and 40 sec at best
@@ -224,6 +228,7 @@ recipes:
- Bedrock/1
- Brewery:Wheatbeer/2
# - ExoticGarden:Grape/3
- ex-item/4
cookingtime: 3
distillruns: 2
distilltime: 60
@@ -239,6 +244,12 @@ recipes:
- + 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