mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-02-01 22:51:20 +01:00
Pack all resources and languages with jar
This commit is contained in:
parent
a8720e01c0
commit
9f563669e2
2
pom.xml
2
pom.xml
@ -19,7 +19,7 @@
|
||||
<!-- Static resources -->
|
||||
<resource>
|
||||
<filtering>false</filtering>
|
||||
<directory>${project.basedir}</directory>
|
||||
<directory>${project.basedir}/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.yml</include>
|
||||
</includes>
|
||||
|
515
resources/config/de/config.yml
Normal file
515
resources/config/de/config.yml
Normal file
@ -0,0 +1,515 @@
|
||||
# config für Brewery.jar
|
||||
|
||||
|
||||
# -- Verschiedene Einstellungen --
|
||||
# Standardeinstellungen sind in [] angegeben
|
||||
# Löschen einzelner Einstellungen deaktiviert sie
|
||||
|
||||
# Sprachedatei die genutzt werden sollte (befindet sich in plugins/Brewery/languages)
|
||||
language: de
|
||||
|
||||
# Ob der Spieler beim nächsten Einloggen nach starker Trunkenheit am nächsten morgen Zuhause "aufwacht" (Ein home Plugin muss installiert sein!) [true]
|
||||
enableHome: true
|
||||
|
||||
# Art des Nachhause-teleports: ['cmd: home']
|
||||
# bed = Spieler wird zu seinem Spawn Bett teleportiert
|
||||
# SamplePlugin = installiertes home plugin. Unterstützt: ManagerXL. Wenn dies nicht geht:
|
||||
# 'cmd: home' = /home wird vom Spieler ausgelöst. Es sollte kein Verzögerungs, etc. plugin installiert sein!
|
||||
# 'cmd: spawn' = /spawn wird vom Spieler ausgelöst
|
||||
# 'cmd: whatever' = /whatever wird vom Spieler ausgelöst
|
||||
homeType: 'cmd: home'
|
||||
|
||||
# Ob der Spieler nach etwas kürzerem Ausloggen an einem zufälligen Ort "aufwacht" (diese müssen durch '/br Wakeup add' von einem Admin festgelegt werden)
|
||||
# Der Spieler wacht an dem nähesten zweier zufälliger Orte aus seiner Welt auf. [true]
|
||||
enableWake: true
|
||||
|
||||
# Ob der Spieler sich bei großer Trunkenheit teilweise nicht einloggen kann und kurz warten muss, da sein Charakter nicht reagiert [true]
|
||||
enableLoginDisallow: true
|
||||
|
||||
# Ob der Spieler sich übertrinken kann und dann in Ohnmacht fällt (gekickt wird) und sich für einige Minuten nicht einloggen kann [true]
|
||||
enableKickOnOverdrink: true
|
||||
|
||||
# Ob der Spieler sich bei großer Trunkenheit übergibt (unten definiertes Item aus dem Mund fallen lässt) [true]
|
||||
# Das Item kann nicht aufgesammelt werden und bleibt bis zum Despawnen liegen. (Achtung: Kann nach Serverrestart aufgesammelt werden!)
|
||||
enablePuke: true
|
||||
|
||||
# Item das beim Erbrechen mehrfach unaufsammelbar fallen gelassen wird [SOUL_SAND]
|
||||
pukeItem: SOUL_SAND
|
||||
|
||||
# Konsumierbares Item/Stärke. Senkt den Alkoholpegel um <Stärke> wenn konsumiert.
|
||||
drainItems:
|
||||
- BREAD/4
|
||||
- MILK_BUCKET/2
|
||||
|
||||
# Zeit (in Tagen) die Trunkenheitsdaten nach offlinegehen eines Spielers im Speicher verbleiben, um z.B. Kater-Effekte anzuwenden. [7]
|
||||
hangoverDays: 7
|
||||
|
||||
# Färben der Iteminformationen je nach Qualität während sie sich 1. im Fass und/oder 2. im Braustand befinden [true, false]
|
||||
colorInBarrels: true
|
||||
colorInBrewer: false
|
||||
|
||||
# Ob große Fässer an jedem Block geöffnet werden können, nicht nur an Zapfhahn und Schild. Bei kleinen Fässern geht dies immer. [true]
|
||||
openLargeBarrelEverywhere: true
|
||||
|
||||
# In den Serverlog loggen was der Spieler tatsächlich geschrieben hat, bevor seine Worte verändert wurden [false]
|
||||
logRealChat: false
|
||||
|
||||
# Aktiviert das Suchen nach Updates für Brewery mit der curseforge api [true]
|
||||
# Wenn ein Update gefunden wurde, wird dies bei Serverstart im log angezeigt, sowie ops benachrichtigt
|
||||
updateCheck: true
|
||||
|
||||
# Autosave Intervall in Minuten [3]
|
||||
autosave: 3
|
||||
|
||||
# Config Version
|
||||
version: '1.3.1'
|
||||
|
||||
|
||||
# -- Rezepte für Getränke --
|
||||
|
||||
# name: Verschiedene Namen für schlecht/mittel/gut (Farbcodes möglich: z.b. &6)
|
||||
# ingredients: Auflistung von 'Material oder ID,Data/Anzahl'
|
||||
# (Item-ids anstatt Material werden von Bukkit nicht mehr unterstützt und funktionieren möglicherweise in Zukunft nicht mehr!)
|
||||
# Eine Liste von allen Materialien kann hier gefunden werden: http://jd.bukkit.org/beta/apidocs/org/bukkit/Material.html
|
||||
# Es kann ein Data-Wert angegeben werden, weglassen ignoriert diesen beim hinzufügen einer Zutat
|
||||
# cookingtime: Zeit in Echtminuten die die Zutaten kochen müssen
|
||||
# distillruns: Wie oft destilliert werden muss für vollen Alkoholgehalt (0=ohne Destillieren)
|
||||
# wood: Holz des Fasses 0=alle Holzsorten 1=Birke 2=Eiche 3=Jungel 4=Fichte 5=Akazie 6=Schwarzeiche
|
||||
# age: Zeit in Minecraft-Tagen, die das Getränk im Fass reifen muss 0= kein reifen
|
||||
# color: Farbe des Getränks nach destillieren/reifen.
|
||||
# Benutzbare Farben: DARK_RED, RED, BRIGHT_RED, ORANGE, PINK, BLUE, CYAN, WATER, GREEN, BLACK, GREY, BRIGHT_GREY
|
||||
# difficulty: 1-10 Genauigkeit der Einhaltung der Vorgaben (1 = ungenau/einfach 10 = sehr genau/schwer)
|
||||
# alcohol: Alkoholgehalt 0-100 in absoluter Menge bei perfektem Getränk (wird dem Spieler hinzugefügt, bei 100 = tot)
|
||||
# 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.)
|
||||
# Mögliche Effekte: http://jd.bukkit.org/rb/apidocs/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
|
||||
# Diese Bereiche funktionieren auch umgekehrt, Bsp: 'POISON/3-1/20-5' für abschwächende Effekte bei guter Qualität
|
||||
# Längste mögliche Effektdauer: 1638 sek. Es muss keine Dauer für Effekte mit sofortiger Wirkung angegeben werden.
|
||||
|
||||
recipes:
|
||||
# Ein vollständiges Beispiel zuerst:
|
||||
0:
|
||||
name: Schlechtes Beispiel/Beispiel/Gutes Beispiel
|
||||
ingredients:
|
||||
- SUGAR_CANE/5
|
||||
- 264/1
|
||||
- INK_SACK,3/20
|
||||
- 5,1/8
|
||||
cookingtime: 3
|
||||
distillruns: 2
|
||||
wood: 4
|
||||
age: 11
|
||||
color: DARK_RED
|
||||
difficulty: 3
|
||||
alcohol: 23
|
||||
effects:
|
||||
- FIRE_RESISTANCE/20
|
||||
- HEAL/1
|
||||
- WEAKNESS/2-3/50-60
|
||||
- POISONX/1-0/20-0
|
||||
1:
|
||||
name: Ranziges Weißbier/Weißbier/Feines Weißbier
|
||||
ingredients:
|
||||
- WHEAT/3
|
||||
cookingtime: 8
|
||||
distillruns: 0
|
||||
wood: 1
|
||||
age: 2
|
||||
color: BRIGHT_GREY
|
||||
difficulty: 1
|
||||
alcohol: 5
|
||||
2:
|
||||
name: Ranziges Bier/Bier/Feines Bier
|
||||
ingredients:
|
||||
- WHEAT/6
|
||||
cookingtime: 8
|
||||
distillruns: 0
|
||||
wood: 0
|
||||
age: 3
|
||||
color: ORANGE
|
||||
difficulty: 1
|
||||
alcohol: 6
|
||||
3:
|
||||
name: Ranziges Dunkelbier/Dunkelbier/Feines Dunkelbier
|
||||
ingredients:
|
||||
- WHEAT/6
|
||||
cookingtime: 8
|
||||
distillruns: 0
|
||||
wood: 4
|
||||
age: 8
|
||||
color: BLACK
|
||||
difficulty: 2
|
||||
alcohol: 7
|
||||
4:
|
||||
name: Scheußlicher Met/Met/&6Goldener Met
|
||||
ingredients:
|
||||
- SUGAR_CANE/6
|
||||
cookingtime: 3
|
||||
distillruns: 0
|
||||
wood: 2
|
||||
age: 4
|
||||
color: ORANGE
|
||||
difficulty: 2
|
||||
alcohol: 9
|
||||
5:
|
||||
name: Apfelmet/Süßer Apfelmet/&6Goldensüßer Apfelmet
|
||||
ingredients:
|
||||
- SUGAR_CANE/6
|
||||
- APPLE/2
|
||||
cookingtime: 4
|
||||
distillruns: 0
|
||||
wood: 2
|
||||
age: 4
|
||||
color: ORANGE
|
||||
difficulty: 4
|
||||
alcohol: 12
|
||||
effects:
|
||||
- WATER_BREATHINGX/1-2/150
|
||||
6:
|
||||
name: Bitterer Rum/Würziger Rum/&6Goldener Rum
|
||||
ingredients:
|
||||
- SUGAR_CANE/14
|
||||
cookingtime: 5
|
||||
distillruns: 2
|
||||
wood: 2
|
||||
age: 14
|
||||
color: DARK_RED
|
||||
difficulty: 6
|
||||
alcohol: 30
|
||||
effects:
|
||||
- FIRE_RESISTANCE/1/20-100
|
||||
- POISONX/1-0/30-0
|
||||
7:
|
||||
name: Abgeranzter Vodka/Vodka/Russischer Vodka
|
||||
ingredients:
|
||||
- POTATO_ITEM/10
|
||||
cookingtime: 15
|
||||
distillruns: 3
|
||||
age: 0
|
||||
color: BRIGHT_GREY
|
||||
difficulty: 4
|
||||
alcohol: 20
|
||||
effects:
|
||||
- WEAKNESS/15
|
||||
- POISON/10
|
||||
8:
|
||||
name: minderwertiger Absinth/Absinth/Starker Absinth
|
||||
ingredients:
|
||||
- LONG_GRASS/15
|
||||
cookingtime: 3
|
||||
distillruns: 6
|
||||
color: GREEN
|
||||
difficulty: 8
|
||||
alcohol: 45
|
||||
effects:
|
||||
- POISON/20-30
|
||||
9:
|
||||
name: Kartoffelsuppe
|
||||
ingredients:
|
||||
- POTATO_ITEM/5
|
||||
- LONG_GRASS/3
|
||||
cookingtime: 3
|
||||
color: PINK
|
||||
difficulty: 1
|
||||
effects:
|
||||
- HEAL/0-1
|
||||
10:
|
||||
name: Fader Kaffee/Kaffee/Starker Kaffee
|
||||
ingredients:
|
||||
- INK_SACK,3/12
|
||||
- MILK_BUCKET/2
|
||||
cookingtime: 2
|
||||
color: BLACK
|
||||
difficulty: 3
|
||||
effects:
|
||||
- REGENERATION/1/2-5
|
||||
- SPEED/1/30-140
|
||||
|
||||
# Mehr Ideen für Rezepte: Cachaca, Gin, Whiskey, Tequila, Cidre, etc, sowie Rezeptvarianten wie Goldener Vodka etc.
|
||||
# Ich werde keine weiteren Rezepte zu dieser Standardconfig hinzufügen, da diese öffentlich und für Spieler zum Abschauen einsehbar wären
|
||||
# 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_oder_id: 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
|
||||
|
||||
# Änderungen an Fassinventaren mit LogBlock aufzeichen [true]
|
||||
useLogBlock: true
|
||||
|
||||
|
||||
# -- Chat Veränderungs Einstellungen --
|
||||
|
||||
# Text nach den angegebenen Kommandos wird bei Trunkenheit ebenfalls Verändert (Liste) [- /gl]
|
||||
distortCommands:
|
||||
- /gl
|
||||
- /global
|
||||
- /fl
|
||||
- /s
|
||||
- /letter
|
||||
- /g
|
||||
- /l
|
||||
- /lokal
|
||||
- /local
|
||||
- /mail send
|
||||
- /m
|
||||
- /msg
|
||||
- /w
|
||||
- /whisper
|
||||
- /reply
|
||||
- /r
|
||||
|
||||
# Geschriebenen Text auf Schildern bei Trunkenheit verändern [false]
|
||||
distortSignText: false
|
||||
|
||||
# Text, der zwischen diesen Buchstaben steht, wird nicht verändert ("," als Trennung verwenden) (Liste) [- '[,]']
|
||||
distortBypass:
|
||||
- '*,*'
|
||||
- '[,]'
|
||||
|
||||
# words: Wörter und Buchstaben die bei Chatten während Trunkenheit ersetzt werden sollen.
|
||||
# Diese werden von oben nach unten gelesen und in dieser Reihenfolge wird ein geschriebener Satz dann verändert.
|
||||
|
||||
# replace: Zu ersetzendes Wort oder Buchstabe. (Besondere: "-space": ersetzt Leerzeichen, "-random": Einfügen in zufällige Position, "-all": Alles, "-start": Ganz am Anfang, "-end": Ganz ans Ende.)
|
||||
# to: In welches Wort es ersetzt werden soll.
|
||||
# pre: Wörter und Buchstaben vor dem gesuchten Wort (durch "," getrennt)
|
||||
# match: true = eines der "pre"-Wörter muss vor dem gesuchten Wort stehen, false = keines der "pre" Wörter darf vor dem gesuchten stehen
|
||||
# alcohol: 1-100 Trunkenheit ab der die Wörter ersetzt werden
|
||||
# percentage: Wahrscheinlichkeit des Ersetzen eines Wortes in Prozent
|
||||
|
||||
words:
|
||||
- replace: ch
|
||||
to: sch
|
||||
pre: u,s,o,a
|
||||
match: false
|
||||
alcohol: 10
|
||||
percentage: 70
|
||||
|
||||
- replace: h
|
||||
to: hh
|
||||
pre: sch,h,t
|
||||
match: false
|
||||
percentage: 60
|
||||
alcohol: 20
|
||||
|
||||
- replace: u
|
||||
to: uuh
|
||||
percentage: 20
|
||||
|
||||
- replace: u
|
||||
to: uo
|
||||
pre: u
|
||||
match: false
|
||||
percentage: 60
|
||||
|
||||
- replace: das
|
||||
to: dass
|
||||
percentage: 20
|
||||
alcohol: 40
|
||||
|
||||
- replace: p
|
||||
to: b
|
||||
percentage: 30
|
||||
|
||||
- replace: p
|
||||
to: b
|
||||
percentage: 70
|
||||
alcohol: 60
|
||||
|
||||
- replace: up
|
||||
to: ubb
|
||||
percentage: 80
|
||||
|
||||
- replace: o
|
||||
to: oh
|
||||
percentage: 20
|
||||
|
||||
- replace: ei
|
||||
to: i
|
||||
percentage: 15
|
||||
|
||||
- replace: b
|
||||
to: bb
|
||||
percentage: 80
|
||||
alcohol: 40
|
||||
|
||||
- replace: '!!!'
|
||||
to: '!!!111!!!einself!1!'
|
||||
pre: '!'
|
||||
match: false
|
||||
percentage: 20
|
||||
alcohol: 70
|
||||
|
||||
- replace: '!'
|
||||
to: '!!'
|
||||
pre: '!'
|
||||
match: false
|
||||
percentage: 90
|
||||
|
||||
- replace: betrunken
|
||||
to: brhetriunkhn
|
||||
pre: bist,seid
|
||||
match: false
|
||||
percentage: 70
|
||||
alcohol: 65
|
||||
|
||||
- replace: laufen
|
||||
to: lnhfeeehn
|
||||
pre: kannst,kannst noch,kannst nicht
|
||||
match: false
|
||||
percentage: 80
|
||||
alcohol: 30
|
||||
|
||||
- replace: gehen
|
||||
to: hgheehn
|
||||
pre: kannst,kannst noch,kannst nicht
|
||||
match: false
|
||||
percentage: 80
|
||||
alcohol: 40
|
||||
|
||||
- replace: wtf
|
||||
to: wft
|
||||
percentage: 20
|
||||
alcohol: 40
|
||||
|
||||
- replace: lol
|
||||
to: loool
|
||||
percentage: 80
|
||||
alcohol: 10
|
||||
|
||||
- replace: afk
|
||||
to: aafka
|
||||
percentage: 20
|
||||
alcohol: 30
|
||||
|
||||
- replace: schreiben
|
||||
to: schribeen
|
||||
pre: kannst,kannst noch,kannst nicht
|
||||
match: false
|
||||
percentage: 80
|
||||
alcohol: 50
|
||||
|
||||
- replace: trinken
|
||||
to: saufen
|
||||
percentage: 80
|
||||
alcohol: 70
|
||||
|
||||
- replace: '?'
|
||||
to: '????'
|
||||
pre: '?'
|
||||
match: false
|
||||
percentage: 80
|
||||
alcohol: 40
|
||||
|
||||
- replace: -space
|
||||
to: ''
|
||||
pre: h,g,w
|
||||
match: true
|
||||
alcohol: 10
|
||||
|
||||
- replace: -space
|
||||
to: ''
|
||||
percentage: 30
|
||||
alcohol: 35
|
||||
|
||||
- replace: -space
|
||||
to: ''
|
||||
percentage: 10
|
||||
|
||||
- replace: -start
|
||||
to: dho
|
||||
percentage: 15
|
||||
alcohol: 50
|
||||
|
||||
- replace: -start
|
||||
to: hhn
|
||||
percentage: 10
|
||||
alcohol: 50
|
||||
|
||||
- replace: -random
|
||||
to: lug
|
||||
percentage: 10
|
||||
|
||||
- replace: -random
|
||||
to: lu
|
||||
percentage: 20
|
||||
alcohol: 40
|
||||
|
||||
- replace: -random
|
||||
to: blub
|
||||
percentage: 20
|
||||
alcohol: 70
|
||||
|
||||
- replace: -random
|
||||
to: lerg
|
||||
percentage: 40
|
||||
alcohol: 75
|
||||
|
||||
- replace: -random
|
||||
to: gul
|
||||
percentage: 50
|
||||
alcohol: 80
|
||||
|
||||
- replace: -random
|
||||
to: ' '
|
||||
percentage: 100
|
||||
alcohol: 70
|
||||
|
||||
- replace: -random
|
||||
to: ' '
|
||||
percentage: 60
|
||||
alcohol: 40
|
||||
|
||||
- replace: -random
|
||||
to: ' '
|
||||
percentage: 50
|
||||
alcohol: 30
|
||||
|
||||
- replace: -end
|
||||
to: '!'
|
||||
percentage: 40
|
||||
alcohol: 30
|
||||
|
||||
- replace: -random
|
||||
to: ' *hicks* '
|
||||
percentage: 80
|
||||
alcohol: 70
|
||||
|
||||
- replace: -random
|
||||
to: ' *hicks* '
|
||||
percentage: 15
|
||||
alcohol: 40
|
||||
|
||||
- replace: -space
|
||||
to: ' *hicks* '
|
||||
percentage: 5
|
||||
alcohol: 20
|
||||
|
||||
- replace: -end
|
||||
to: ' *hicks*'
|
||||
percentage: 70
|
||||
alcohol: 50
|
||||
|
||||
- replace: -all
|
||||
to: '*rülps*'
|
||||
percentage: 3
|
||||
alcohol: 60
|
546
resources/config/fr/config.yml
Normal file
546
resources/config/fr/config.yml
Normal file
@ -0,0 +1,546 @@
|
||||
# config for Brewery.jar
|
||||
|
||||
|
||||
# -- Paramètres --
|
||||
# Les paramètres par défaut sont entre []
|
||||
# Supprimer un paramètre le désactive
|
||||
|
||||
# Fichier de langage utilisé (trouvable dans plugins/Brewery/languages)
|
||||
language: fr
|
||||
|
||||
# Si le joueur se réveille à son /home lors de sa connexion après un excès alcool (Un plugin de /home est nécessaire!) [true]
|
||||
enableHome: true
|
||||
|
||||
# Type de la téléportation /home: ['cmd: home']
|
||||
# bed = Le joueur se téléportera à son lit de réapparition.
|
||||
# SamplePlugin = Le plugin /home installé. Supporte: ManagerXL. Si non disponible:
|
||||
# 'cmd: home' = /home sera exécuté par le joueur. Il devra avoir la permission sans le délai pour y parvenir!
|
||||
# 'cmd: spawn' = /spawn sera exécuté par le joueur.
|
||||
# 'cmd: whatever' = /whatever sera exécuté par le joueur. (Peu importe)
|
||||
homeType: 'cmd: home'
|
||||
|
||||
# Si le joueur se "réveille" à un point aléatoire sur la carte à sa connexion, pendant un excès d'alccol (Les points de réveil doivent être ajoutés avec '/br Wakeup add' via un administrateur.)
|
||||
# Le joueur se réveillera aléatoirement parmis les deux points de "réveil" les plus proches de lui [true]
|
||||
enableWake: true
|
||||
|
||||
# Si le joueur reçoit des connexions refusées au serveur s'il est ivre.[true]
|
||||
enableLoginDisallow: false
|
||||
|
||||
# Si le joueur s'évanouit (il sera kické) lorsqu'il boit trop d'alcool[true]
|
||||
enableKickOnOverdrink: false
|
||||
|
||||
# Si le joueur vomit en cas d'alcoolémie élevée (Le type d'objet "droppé" est configurable en dessous) [true]
|
||||
# L'objet ne peut pas être collecté et reste sur le sol jusqu'à ce qu'il disparaisse (ATTENTION: Peut être collecté si le serveur redémarre!)
|
||||
enablePuke: true
|
||||
|
||||
# L'objet utilisé pour représenter le vomit [SOUL_SAND]
|
||||
pukeItem: SOUL_SAND
|
||||
|
||||
# Consommables Objet/Force. Réduit le montant d'alcool par <Force> lors de la consommation. (list)
|
||||
drainItems:
|
||||
- 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
|
||||
|
||||
# Colorer les informations d'objets (lore) au dépend de la qualité dans un tonneau et/ou dans un stand de brassage (l'alambic) [true, false]
|
||||
colorInBarrels: true
|
||||
colorInBrewer: 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
|
||||
|
||||
# Intervale de la sauvegarde automatique en minutes [3]
|
||||
autosave: 3
|
||||
|
||||
# Version de configuration
|
||||
version: '1.3'
|
||||
|
||||
|
||||
# -- 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 ou id,data/montant'
|
||||
# (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'
|
||||
# Une liste des matériaux peuvent-être trouvés ici: http://jd.bukkit.org/beta/apidocs/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)
|
||||
# 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)
|
||||
# wood: Type de bois du baril 0=aucun 1=Bouleau 2=Chêne 3=Jungle 4=Pin 5=Acacia 6=Chêne Noir
|
||||
# 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)
|
||||
# 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
|
||||
# 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.)
|
||||
# Effets posssible: http://jd.bukkit.org/rb/apidocs/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 "-".
|
||||
# Ex: 'SPEED/1-2/30-40' => Vitesse niveau 1 et durée de 30 sec pour la pire qualité, et niveau 2 et durée de 40 sec pour la meilleure.
|
||||
# Il est aussi possible de faire l'inverse, c'est à dire que le schéma "Meilleure qualité, meilleur effets" soit "Meilleure qualité, effets moins puissants.
|
||||
# Cela peut-être utile pour des potions avec l'effet poison pour empoisonner moins avec une bonne qualité.
|
||||
# Ex: 'POISON/3-1/20-5' => Poison de niveau 3 durant 20 sec à la moins bonne qualité et de niveau 1 et de durée 5 sec à la meilleure.
|
||||
# Durées possibles maximum: 1638 sec. Les effets instantanés n'ont pas besoin d'avoir une durée spécifiée (Ex : Les potions de Soin instantané).
|
||||
|
||||
recipes:
|
||||
# Exemple de recette avec tous les paramètres possibles :
|
||||
0:
|
||||
name: Mauvais Exemple/Exemple/Bonne Exemple
|
||||
ingredients:
|
||||
- SUGAR_CANE/5
|
||||
- 264/1
|
||||
- INK_SACK,3/20
|
||||
- 5,1/8
|
||||
cookingtime: 3
|
||||
distillruns: 2
|
||||
wood: 4
|
||||
age: 11
|
||||
color: DARK_RED
|
||||
difficulty: 3
|
||||
alcohol: 23
|
||||
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:
|
||||
- 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:
|
||||
- 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:
|
||||
- WHEAT/6
|
||||
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:
|
||||
- SUGAR_CANE/6
|
||||
- APPLE/2
|
||||
cookingtime: 4
|
||||
distillruns: 0
|
||||
wood: 2
|
||||
age: 4
|
||||
color: ORANGE
|
||||
difficulty: 4
|
||||
alcohol: 12
|
||||
effects:
|
||||
- WATER_BREATHINGX/1-2/150
|
||||
6:
|
||||
name: Rhum Amer/Rhum Epicé/&6Rhum Doré
|
||||
ingredients:
|
||||
- SUGAR_CANE/14
|
||||
cookingtime: 5
|
||||
distillruns: 2
|
||||
wood: 2
|
||||
age: 14
|
||||
color: DARK_RED
|
||||
difficulty: 6
|
||||
alcohol: 30
|
||||
effects:
|
||||
- FIRE_RESISTANCE/1/20-100
|
||||
- POISONX/1-0/30-0
|
||||
7:
|
||||
name: Vodka Sale/Vodka/Vodka Russe
|
||||
ingredients:
|
||||
- POTATO_ITEM/10
|
||||
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:
|
||||
- LONG_GRASS/15
|
||||
cookingtime: 3
|
||||
distillruns: 6
|
||||
color: GREEN
|
||||
difficulty: 8
|
||||
alcohol: 45
|
||||
effects:
|
||||
- POISON/20-30
|
||||
9:
|
||||
name: Potato soup
|
||||
ingredients:
|
||||
- POTATO_ITEM/5
|
||||
- LONG_GRASS/3
|
||||
cookingtime: 3
|
||||
color: PINK
|
||||
difficulty: 1
|
||||
effects:
|
||||
- HEAL/0-1
|
||||
10:
|
||||
name: Café fétide/Café/Café fort
|
||||
ingredients:
|
||||
- INK_SACK,3/12
|
||||
- MILK_BUCKET/2
|
||||
cookingtime: 2
|
||||
color: BLACK
|
||||
difficulty: 3
|
||||
effects:
|
||||
- REGENERATION/1/2-5
|
||||
- SPEED/1/30-140
|
||||
|
||||
# Plus d'idées de recettes: Cachaça, Gin, Whisky, Tequila, Cidre, etc. et abréviations de haute qualité comme la vodka dorée etc.
|
||||
# Je n'ajouterai pas plus de recettes à la configuration par défaut, car elles seront publiques et visibles par tous les utilisateurs et parce que les joueurs pourraient tricher en les voyant.
|
||||
# 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_ou_id: 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
|
||||
|
||||
# Activer l'historique du contenu des tonneaux avec LogBlock [true]
|
||||
useLogBlock: true
|
||||
|
||||
|
||||
# -- Paramètres de la distorsion du Chat --
|
||||
|
||||
# Ecrire dans les "logs" du serveur ce que le joueur devrait dire, à la place de la distorsion. [false]
|
||||
logRealChat: false
|
||||
|
||||
# Distordre le texte dans le Chat après les commandes spécifiées (list) [- /gl]
|
||||
distortCommands:
|
||||
- /gl
|
||||
- /global
|
||||
- /fl
|
||||
- /s
|
||||
- /letter
|
||||
- /g
|
||||
- /l
|
||||
- /lokal
|
||||
- /local
|
||||
- /mail send
|
||||
- /m
|
||||
- /msg
|
||||
- /w
|
||||
- /whisper
|
||||
- /reply
|
||||
- /r
|
||||
|
||||
# Distordre le texte sur les panneaux pendant l'ivresse [false]
|
||||
distortSignText: false
|
||||
|
||||
# Entourer les textes avec ces caractères pour ignorer la distorsion (Utilisez "," comme un séparateur) (list) [- '[,]']
|
||||
distortBypass:
|
||||
- '*,*'
|
||||
- '[,]'
|
||||
|
||||
# words: Les mots et les lettres altérées dans le chat lors d'un état d'ivresse.
|
||||
# Commence du haut jusqu'au bas. Les phrases sont altérées par l'ordre écrit.
|
||||
|
||||
# replace: Mot ou lettre à remplacer (Spécial: "-space": remplace les espaces, "-random": s'insère dans une position aléatoire, "-all": Toute la ligne, "-start": Au début, "-end": A la fin.)
|
||||
# to: Ce qui remplacera.
|
||||
# pre: Les mots et les lettres avant le mot désiré (séparez avec ",")
|
||||
# match: true = Si un des "Pre-Mots" est nécessaire avant le mot désiré, false = Aucun des "Pre-Mots" n'est autorisé avant le mot désiré.
|
||||
# alcohol: 1-100 Le montant minimal d'alcool pour que la distorsion fonctionne.
|
||||
# percentage: Probabilité en pourcentage que le mot soit remplacé.
|
||||
|
||||
words:
|
||||
- replace: s
|
||||
to: sh
|
||||
percentage: 90
|
||||
alcohol: 30
|
||||
|
||||
- replace: ch
|
||||
to: sh
|
||||
pre: u,s,o,a
|
||||
match: false
|
||||
alcohol: 10
|
||||
percentage: 70
|
||||
|
||||
- replace: h
|
||||
to: hh
|
||||
pre: sch,h,t
|
||||
match: false
|
||||
percentage: 60
|
||||
alcohol: 20
|
||||
|
||||
- replace: th
|
||||
to: thl
|
||||
percentage: 40
|
||||
alcohol: 30
|
||||
|
||||
- replace: sch
|
||||
to: shk
|
||||
percentage: 60
|
||||
alcohol: 40
|
||||
|
||||
- replace: u
|
||||
to: uuh
|
||||
percentage: 20
|
||||
|
||||
- replace: y
|
||||
to: yy
|
||||
percentage: 60
|
||||
alcohol: 15
|
||||
|
||||
- replace: e
|
||||
to: ee
|
||||
percentage: 40
|
||||
alcohol: 15
|
||||
|
||||
- replace: toi
|
||||
to: twa
|
||||
percentage: 40
|
||||
|
||||
- replace: u
|
||||
to: uo
|
||||
pre: u
|
||||
match: false
|
||||
percentage: 60
|
||||
|
||||
- replace: ça
|
||||
to: sha
|
||||
percentage: 20
|
||||
alcohol: 40
|
||||
|
||||
- replace: p
|
||||
to: b
|
||||
percentage: 30
|
||||
|
||||
- replace: p
|
||||
to: b
|
||||
percentage: 70
|
||||
alcohol: 60
|
||||
|
||||
- replace: up
|
||||
to: ubb
|
||||
percentage: 80
|
||||
alcohol: 25
|
||||
|
||||
- replace: o
|
||||
to: oh
|
||||
percentage: 20
|
||||
|
||||
- replace: ei
|
||||
to: i
|
||||
percentage: 30
|
||||
alcohol: 15
|
||||
|
||||
- replace: b
|
||||
to: bb
|
||||
percentage: 80
|
||||
alcohol: 40
|
||||
|
||||
- replace: '!!!'
|
||||
to: '!!!?!???!?!?!!!'
|
||||
pre: '!'
|
||||
match: false
|
||||
percentage: 20
|
||||
alcohol: 70
|
||||
|
||||
- replace: '!'
|
||||
to: '!!'
|
||||
pre: '!'
|
||||
match: false
|
||||
percentage: 90
|
||||
|
||||
- replace: ivre
|
||||
to: shaoul
|
||||
pre: es, êtes
|
||||
match: false
|
||||
percentage: 70
|
||||
alcohol: 65
|
||||
|
||||
- replace: marcher
|
||||
to: mrashere
|
||||
pre: tu peux, vous pouvez, tu ne peux pas, vous ne pouvez pas
|
||||
match: false
|
||||
percentage: 80
|
||||
alcohol: 30
|
||||
|
||||
- replace: wtf
|
||||
to: wft
|
||||
percentage: 20
|
||||
alcohol: 40
|
||||
|
||||
- replace: lol
|
||||
to: loool
|
||||
percentage: 80
|
||||
alcohol: 10
|
||||
|
||||
- replace: afk
|
||||
to: aaAAaafffFFFfffKAAAAAA
|
||||
percentage: 30
|
||||
alcohol: 30
|
||||
|
||||
- replace: écrire
|
||||
to: ekrir
|
||||
pre: tu peux, vous pouvez, tu ne peux pas, vous ne pouvez pas
|
||||
match: false
|
||||
percentage: 80
|
||||
alcohol: 50
|
||||
|
||||
- replace: drink
|
||||
to: booze
|
||||
percentage: 80
|
||||
alcohol: 70
|
||||
|
||||
- replace: '?'
|
||||
to: '????'
|
||||
pre: '?'
|
||||
match: false
|
||||
percentage: 80
|
||||
alcohol: 40
|
||||
|
||||
- replace: -space
|
||||
to: ''
|
||||
pre: h,g,w
|
||||
match: true
|
||||
alcohol: 10
|
||||
|
||||
- replace: -space
|
||||
to: ''
|
||||
percentage: 30
|
||||
alcohol: 35
|
||||
|
||||
- replace: -space
|
||||
to: ''
|
||||
percentage: 10
|
||||
|
||||
- replace: -start
|
||||
to: dho
|
||||
percentage: 15
|
||||
alcohol: 50
|
||||
|
||||
- replace: -start
|
||||
to: hhn
|
||||
percentage: 10
|
||||
alcohol: 50
|
||||
|
||||
- replace: -random
|
||||
to: lu
|
||||
percentage: 10
|
||||
|
||||
- replace: -random
|
||||
to: lug
|
||||
percentage: 10
|
||||
alcohol: 50
|
||||
|
||||
- replace: -random
|
||||
to: blub
|
||||
percentage: 20
|
||||
alcohol: 80
|
||||
|
||||
- replace: -random
|
||||
to: lerg
|
||||
percentage: 40
|
||||
alcohol: 85
|
||||
|
||||
- replace: -random
|
||||
to: gul
|
||||
percentage: 40
|
||||
alcohol: 80
|
||||
|
||||
- replace: -random
|
||||
to: ' '
|
||||
percentage: 100
|
||||
alcohol: 70
|
||||
|
||||
- replace: -random
|
||||
to: ' '
|
||||
percentage: 60
|
||||
alcohol: 40
|
||||
|
||||
- replace: -random
|
||||
to: ' '
|
||||
percentage: 50
|
||||
alcohol: 30
|
||||
|
||||
- replace: -end
|
||||
to: '!'
|
||||
percentage: 40
|
||||
alcohol: 30
|
||||
|
||||
- replace: -random
|
||||
to: ' *hic* '
|
||||
percentage: 80
|
||||
alcohol: 70
|
||||
|
||||
- replace: -random
|
||||
to: ' *hic* '
|
||||
percentage: 15
|
||||
alcohol: 40
|
||||
|
||||
- replace: -space
|
||||
to: ' *hic* '
|
||||
percentage: 5
|
||||
alcohol: 20
|
||||
|
||||
- replace: -end
|
||||
to: ' *hic*'
|
||||
percentage: 70
|
||||
alcohol: 50
|
||||
|
||||
- replace: -all
|
||||
to: '*burp*'
|
||||
percentage: 3
|
||||
alcohol: 60
|
||||
|
||||
- replace: -all
|
||||
to: '*burp*'
|
||||
percentage: 6
|
||||
alcohol: 80
|
97
resources/languages/de.yml
Normal file
97
resources/languages/de.yml
Normal file
@ -0,0 +1,97 @@
|
||||
# Brew
|
||||
Brew_-times: -fach
|
||||
Brew_BadPotion: Verdorbenes Getränk
|
||||
Brew_BarrelRiped: Fassgereift
|
||||
Brew_DistillUndefined: Undefinierbares Destillat
|
||||
Brew_Distilled: Destilliert
|
||||
Brew_HundredsOfYears: Hunderte Jahre
|
||||
Brew_Ingredients: Zutaten
|
||||
Brew_MinutePluralPostfix: n
|
||||
Brew_OneYear: Ein Jahr
|
||||
Brew_ThickBrew: Schlammiger Sud
|
||||
Brew_Undefined: Undefinierbarer Sud
|
||||
Brew_Woodtype: Holzart
|
||||
Brew_Years: Jahre
|
||||
Brew_fermented: gegärt
|
||||
Brew_minute: minute
|
||||
|
||||
# CMD
|
||||
CMD_Copy_Error: '&6&v1 &cTränke haben nicht mehr in das Inventar gepasst'
|
||||
CMD_Info_Drunk: '&v1 ist &6&v2% &fbetrunken, mit einer Qualität von &6&v3'
|
||||
CMD_Info_NotDrunk: '&v1 ist nicht betrunken'
|
||||
CMD_Player: '&a&v1 ist nun &6&v2% &abetrunken, mit einer Qualität von &6&v3'
|
||||
CMD_Player_Error: '&cDie Qualität muss zwischen 1 und 10 liegen!'
|
||||
CMD_Reload: '&aConfig wurde neu eingelesen'
|
||||
CMD_UnLabel: '&aDas Label wurde entfernt'
|
||||
CMD_Persistent: '&aTrankdaten sind nun permanent und unveränderlich und so kann der Trank nun wie jedes andere Item kopiert werden'
|
||||
CMD_PersistRemove: '&cPermanente Tränke können nicht aus der Datenbank gelöscht werden, evtl. Kopien würden sonst unbrauchbar werden!'
|
||||
CMD_UnPersist: '&aTrankdaten nicht mehr permanent und unveränderlich. &ePotentielle Kopien dieses Trankes, die nicht mit "/brew copy" gemacht wurden, könnten nun unbrauchbar werden!'
|
||||
CMD_CopyNotPersistent: '&eDiese Kopien dieses Trankes werden nicht die permanenten und unveränderlichen Trankdaten haben!'
|
||||
CMD_Static: '&aTrank ist nun unveränderlich und kann nicht weiter gereift oder destilliert werden.'
|
||||
CMD_NonStatic: '&eTrank ist wieder veränderlich und kann normal gereift oder destilliert werden'
|
||||
|
||||
# Error
|
||||
Error_ItemNotPotion: '&cDas Item in deiner Hand konnte nicht als Trank identifiziert werden'
|
||||
Error_NoBrewName: '&cKein Rezept mit Namen: "&v1&c" gefunden!'
|
||||
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_PersistStatic: '&cTränke mit permanenten Trankdaten sind immer unveränderlich!'
|
||||
|
||||
# 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:'
|
||||
Etc_Barrel: Fass
|
||||
|
||||
# Help
|
||||
Help_Copy: '&6/brew Copy <Anzahl>&9 Kopiert den Trank in deiner Hand'
|
||||
Help_Delete: '&6/brew Delete &9Entfernt den Trank in deiner Hand'
|
||||
Help_Help: '&6/brew help <Seite> &9Zeigt eine bestimmte Hilfeseite an'
|
||||
Help_Info: '&6/brew Info&9 Zeigt deine aktuelle Trunkenheit und Qualität an'
|
||||
Help_InfoOther: '&6/brew Info <Spieler>&9 Zeigt die aktuelle Trunkenheit und Qualität von <Spieler> an'
|
||||
Help_Player: '&6/brew <Spieler> <%Trunkenheit> <Qualität>&9 Setzt Trunkenheit (und Qualität) eines Spielers'
|
||||
Help_Reload: '&6/brew reload &9Config neuladen'
|
||||
Help_UnLabel: '&6/brew UnLabel &9Entfernt die genaue Beschriftung des Trankes'
|
||||
Help_Wakeup: '&6/brew Wakeup List <Seite>&9 Listet alle Aufwachpunkte auf'
|
||||
Help_WakeupAdd: '&6/brew Wakeup Add &9Setzt einen Aufwachpunkt and deiner Position'
|
||||
Help_WakeupCheck: '&6/brew Wakeup Check &9Teleportiert zu allen Aufwachpunkten'
|
||||
Help_WakeupCheckSpecific: '&6/brew Wakeup Check <id> &9Teleportiert zu einem Aufwachpunkt'
|
||||
Help_WakeupList: '&6/brew Wakeup List <Seite> <Welt>&9 Listet die Aufwachpunkte einer Welt auf'
|
||||
Help_WakeupRemove: '&6/brew Wakeup Remove <id> &9Entfernt einen Aufwachpunkt'
|
||||
Help_Persist: '&6/brew Persist &9Trankdaten permanent machen -> Kopierbar durch andere Plugins'
|
||||
Help_Static: '&6/brew Static &9Trank unveränderlich machen -> Kein weiteres reifen oder destillieren möglich'
|
||||
Help_Create: '&6/brew Create <Rezept> <Qualität> &9Erstellt einen Trank mit optionaler Qualität (1-10)'
|
||||
|
||||
# Player
|
||||
Player_BarrelCreated: Fass erfolgreich erstellt
|
||||
Player_CantDrink: Du kannst nicht mehr trinken
|
||||
Player_CauldronInfo1: Dieser Kessel siedet nun seit &v1 Minuten
|
||||
Player_CauldronInfo2: Dieser Kessel siedet seit weniger als einer Minute
|
||||
Player_DrunkPassOut: Du hast zu viel getrunken und bist in Ohnmacht gefallen!
|
||||
Player_LoginDeny: Dein Charakter ist betrunken und reagiert nicht. Versuch es noch einmal!
|
||||
Player_LoginDenyLong: Dein Charakter ist sturzbesoffen und ohne Besinnung. Versuch es in 10 Minuten noch einmal!
|
||||
Player_TriedToSay: '&v1 versuchte zu sagen: &0&v2'
|
||||
Player_Wake: Ohh nein! Ich kann mich nicht erinnern, wie ich hierhergekommen bin...
|
||||
Player_WakeAlreadyDeleted: '&cDer Aufwachpunkt mit der id: &6&v1 &cwurde bereits gelöscht!'
|
||||
Player_WakeCancel: '&6Aufwachpunkte-Check wurde abgebrochen'
|
||||
Player_WakeCreated: '&aAufwachpunkt mit id: &6&v1 &awurde erfolgreich erstellt!'
|
||||
Player_WakeDeleted: '&aDer Aufwachpunkt mit der id: &6&v1 &awurde erfolgreich gelöscht!'
|
||||
Player_WakeFilled: '&cDer Aufwachpunkt mit der id: &6&v1&c an Position &6&v2 &v3, &v4, &v5&c ist mit Blöcken gefüllt!'
|
||||
Player_WakeHint1: 'Zum nächsten Aufwachpunkt: Mit Faust in die Luft schlagen'
|
||||
Player_WakeHint2: 'Zum Abbrechen: &9/brew wakeup cancel'
|
||||
Player_WakeLast: '&aDies war der letzte Aufwachpunkt'
|
||||
Player_WakeNoCheck: '&cEs läuft kein Aufwachpunkte-Check'
|
||||
Player_WakeNoPoints: '&cEs wurden noch keine Aufwachpunkte erstellt!'
|
||||
Player_WakeNotExist: '&cDer Aufwachpunkt mit der id: &6&v1 &cexistiert nicht!'
|
||||
Player_WakeTeleport: 'Teleport zu Aufwachpunkt mit der id: &6&v1&f An Position: &6&v2 &v3, &v4, &v5'
|
97
resources/languages/en.yml
Normal file
97
resources/languages/en.yml
Normal file
@ -0,0 +1,97 @@
|
||||
# Brew
|
||||
Brew_-times: -times
|
||||
Brew_BadPotion: Ruined Potion
|
||||
Brew_BarrelRiped: Barrel aged
|
||||
Brew_DistillUndefined: Indefinable Distillate
|
||||
Brew_Distilled: Distilled
|
||||
Brew_HundredsOfYears: Hundreds of Years
|
||||
Brew_Ingredients: Ingredients
|
||||
Brew_MinutePluralPostfix: s
|
||||
Brew_OneYear: One Year
|
||||
Brew_ThickBrew: Muddy Brew
|
||||
Brew_Undefined: Indefinable Brew
|
||||
Brew_Woodtype: Woodtype
|
||||
Brew_Years: Years
|
||||
Brew_fermented: fermented
|
||||
Brew_minute: minute
|
||||
|
||||
# CMD
|
||||
CMD_CopyNotPersistent: '&eThese copies of this Brew will not be persistent or static!'
|
||||
CMD_Copy_Error: '&6&v1 &cPotions did not fit into your inventory'
|
||||
CMD_Info_Drunk: '&v1 is &6&v2% &fdrunk, with a quality of &6&v3'
|
||||
CMD_Info_NotDrunk: '&v1 is not drunk'
|
||||
CMD_NonStatic: '&ePotion is not static anymore and will normally age in barrels.'
|
||||
CMD_PersistRemove: '&cPersistent Brews cannot be removed from the Database. It would render any copies of them useless!'
|
||||
CMD_Persistent: '&aPotion is now Persistent and Static and may now be copied like any other item. You can remove the persistence with the same command.'
|
||||
CMD_Player: '&a&v1 is now &6&v2% &adrunk, with a quality of &6&v3'
|
||||
CMD_Player_Error: '&cThe quality has to be between 1 and 10!'
|
||||
CMD_Reload: '&aConfig was successfully reloaded'
|
||||
CMD_Static: '&aPotion is now static and will not change in barrels or brewing stands.'
|
||||
CMD_UnLabel: '&aLabel removed!'
|
||||
CMD_UnPersist: '&aPersistence and static Removed. &eEvery Potential copy NOT made with ''/brew copy'' could become useless now!'
|
||||
|
||||
# Error
|
||||
Error_ConfigUpdate: 'Unknown Brewery config version: v&v1, config was not updated!'
|
||||
Error_ItemNotPotion: '&cThe item in your hand could not be identified as a potion!'
|
||||
Error_NoBarrelAccess: '&cYou don''t have permissions to access this barrel!'
|
||||
Error_NoBrewName: '&cNo Recipe with Name: ''&v1&c'' found!'
|
||||
Error_NoPermissions: '&cYou don''t have permissions to do this!'
|
||||
Error_PersistStatic: '&cPersistent potions are always static!'
|
||||
Error_PlayerCommand: '&cThis command can only be executed as a player!'
|
||||
Error_Recipeload: '&cNot all recipes could be restored: More information in the server log!'
|
||||
Error_ShowHelp: Use &6/brew help &fto display the help
|
||||
Error_UnknownCommand: Unknown Command
|
||||
|
||||
# Etc
|
||||
Etc_Barrel: Barrel
|
||||
Etc_Page: Page
|
||||
Etc_Usage: 'Usage:'
|
||||
|
||||
# Help
|
||||
Help_Copy: '&6/brew copy <Quanitiy>&9 Copies the potion in your hand'
|
||||
Help_Create: '&6/brew create <Recipe> <Quality> &9Create a Brew with optional quality (1-10)'
|
||||
Help_Delete: '&6/brew delete &9Deletes the potion in your hand'
|
||||
Help_Help: '&6/brew help <Page> &9Shows a specific help-page'
|
||||
Help_Info: '&6/brew info&9 Displays your current Drunkeness and Quality'
|
||||
Help_InfoOther: '&6/brew info <Player>&9 Displays the current Drunkeness and Quality of <Player>'
|
||||
Help_Persist: '&6/brew persist &9Make Brew persistent -> copyable by any plugin and technique'
|
||||
Help_Player: '&6/brew <Player> <%Drunkeness> <Quality>&9 Sets Drunkeness (and Quality) of a Player'
|
||||
Help_Reload: '&6/brew reload &9Reload config'
|
||||
Help_Static: '&6/brew static &9Make Brew static -> No further ageing or distilling'
|
||||
Help_UnLabel: '&6/brew unlabel &9Removes the detailled label of a potion'
|
||||
Help_Wakeup: '&6/brew wakeup list <Page>&9 Lists all wakeup points'
|
||||
Help_WakeupAdd: '&6/brew wakeup add &9Adds a wakeup point at your current position'
|
||||
Help_WakeupCheck: '&6/brew wakeup check &9Teleports to all wakeup points'
|
||||
Help_WakeupCheckSpecific: '&6/brew wakeup check <id> &9Teleports to the wakeup point with <id>'
|
||||
Help_WakeupList: '&6/brew wakeup list <Page> <World>&9 Lists all wakeup points of <world>'
|
||||
Help_WakeupRemove: '&6/brew wakeup remove <id> &9Removes the wakeup point with <id>'
|
||||
|
||||
# Perms
|
||||
Perms_NoBarrelCreate: '&cYou don''t have permissions to create barrels!'
|
||||
Perms_NoBigBarrelCreate: '&cYou don''t have permissions to create big barrels!'
|
||||
Perms_NoCauldronFill: '&cYou don''t have permissions to fill bottles from this cauldron!'
|
||||
Perms_NoCauldronInsert: '&cYou don''t have permissions to put ingredients into cauldrons!'
|
||||
Perms_NoSmallBarrelCreate: '&cYou don''t have permissions to create small barrels!'
|
||||
|
||||
# Player
|
||||
Player_BarrelCreated: Barrel created
|
||||
Player_CantDrink: You can't drink any more.
|
||||
Player_CauldronInfo1: This cauldron has been boiling for &v1 minutes.
|
||||
Player_CauldronInfo2: This cauldron has just started boiling.
|
||||
Player_DrunkPassOut: You drank too much and passed out.
|
||||
Player_LoginDeny: Your character tries to log in, but is too drunk to find the server. Try again!
|
||||
Player_LoginDenyLong: Your character is really drunk and has passed out. Try again in 10 minutes!
|
||||
Player_TriedToSay: '&v1 tried to say: &0&v2'
|
||||
Player_Wake: Ohh no! I cannot remember how I got here...
|
||||
Player_WakeAlreadyDeleted: '&cThe Wakeup Point with the id: &6&v1 &chas already been deleted!'
|
||||
Player_WakeCancel: '&6Wakeup Point Check was cancelled'
|
||||
Player_WakeCreated: '&aWakeup Point with id: &6&v1 &awas created successfully!'
|
||||
Player_WakeDeleted: '&aThe Wakeup Point with the id: &6&v1 &awas successfully deleted!'
|
||||
Player_WakeFilled: '&cThe Wakeup Point with the id: &6&v1&c at position &6&v2 &v3, &v4, &v5&c is filled with Blocks!'
|
||||
Player_WakeHint1: 'To Next Wakeup Point: Punch your fist in the air'
|
||||
Player_WakeHint2: 'To Cancel: &9/br wakeup cancel'
|
||||
Player_WakeLast: '&aThis was the last Wakeup Point'
|
||||
Player_WakeNoCheck: '&cNo Wakeup Point Check is currently active'
|
||||
Player_WakeNoPoints: '&cThere are no Wakeup Points!'
|
||||
Player_WakeNotExist: '&cThe Wakeup Point with the id: &6&v1 &cdoesn''t exist!'
|
||||
Player_WakeTeleport: 'Teleport to Wakeup Point with the id: &6&v1&f At position: &6&v2 &v3, &v4, &v5'
|
97
resources/languages/fr.yml
Normal file
97
resources/languages/fr.yml
Normal file
@ -0,0 +1,97 @@
|
||||
# Fermentation
|
||||
Brew_-times: -fois
|
||||
Brew_BadPotion: Potion ruinée
|
||||
Brew_BarrelRiped: Baril âgé
|
||||
Brew_DistillUndefined: Distillation indéfinie
|
||||
Brew_Distilled: Distillé
|
||||
Brew_HundredsOfYears: Centaines d´années
|
||||
Brew_Ingredients: Ingredients
|
||||
Brew_MinutePluralPostfix: s
|
||||
Brew_OneYear: Un an
|
||||
Brew_ThickBrew: Breuvage boueux
|
||||
Brew_Undefined: Breuvage indéfini
|
||||
Brew_Woodtype: Type de bois
|
||||
Brew_Years: Années
|
||||
Brew_fermented: fermenté
|
||||
Brew_minute: minute
|
||||
|
||||
# CMD
|
||||
CMD_CopyNotPersistent: '&eLes copies de cette boisson ne seront pas persistantes ou statiques!'
|
||||
CMD_Copy_Error: '&6&v1 &cCes potions ne rentrent pas dans votre inventaire.'
|
||||
CMD_Info_Drunk: '&v1 est &6&v2% &fivre, avec une qualité de &6&v3'
|
||||
CMD_Info_NotDrunk: '&v1 nest pas ivre'
|
||||
CMD_NonStatic: '&eLa boisson n´est plus statique et vieillira normalement dans les barils.'
|
||||
CMD_PersistRemove: '&cLes boissons persisitantes ne peuvent pas être supprimées de la base de donnée. Cela rendrait toute copie inutile!'
|
||||
CMD_Persistent: '&aLa boisson est maintenant Persistante et Statique et peut être copiée comme n´importe quel autre objet. Vous pouvez enlever la persistance avec la même commande.'
|
||||
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_Static: '&aLa boisson est maintenant statique et ne changera pas dans les barils ou les stands d´alchimie.'
|
||||
CMD_UnLabel: '&aLabel supprimé!'
|
||||
CMD_UnPersist: '&aPersistance et staticité supprimées. &eChaque copie potentionelle NON crée avec /brew copy deviendra inutile maintenant!'
|
||||
|
||||
# Erreurs
|
||||
Error_ConfigUpdate: 'La version de la configuration de Brewery est inconnue: v&v1, la config n´a pas été mise à jour !'
|
||||
Error_ItemNotPotion: '&cL´item dans votre main n´a pas pu être identifié comme une potion !'
|
||||
Error_NoBarrelAccess: '&cVous n´avez pas la permission d´acceder à ce baril !'
|
||||
Error_NoBrewName: '&cAucune recette avec le nom: &v1&c n´a été trouvée!'
|
||||
Error_NoPermissions: '&cVous ne pouvez pas faire ça !'
|
||||
Error_PersistStatic: '&cLes boissons persistantes sont toujours statiques!'
|
||||
Error_PlayerCommand: '&cCette commande ne peut être executée que par un joueur !'
|
||||
Error_Recipeload: '&cToutes les recettes n´ont pu être restaurées: Plus d´informations dans les logs du serveur !'
|
||||
Error_ShowHelp: Utilisez &6/brew help &fpour regarder l´aide
|
||||
Error_UnknownCommand: Commande inconnue
|
||||
|
||||
# Etc
|
||||
Etc_Barrel: Baril
|
||||
Etc_Page: Page
|
||||
Etc_Usage: 'Utilise:'
|
||||
|
||||
# Aide
|
||||
Help_Copy: '&6/brew copy <Quanitiy>&9 Copie la potion qui est dans votre main'
|
||||
Help_Create: '&6/brew create <Recipe> <Quality> &9Crée une boisson avec une qualité optionelle (1-10)'
|
||||
Help_Delete: '&6/brew delete &9Supprime la potion qui est dans votre main'
|
||||
Help_Help: '&6/brew help <Page> &9Affiche une page spécifique de l´aide'
|
||||
Help_Info: '&6/brew info&9 Affiche votre ivresse actuelle ainsi que sa qualité'
|
||||
Help_InfoOther: '&6/brew info <Player>&9 Affiche l´ivresse actuelle de <PLAYER>, cette commande affiche aussi sa qualité.<Player>'
|
||||
Help_Persist: '&6/brew persist &9Crée une boisson persistante -> peut être copiée par n´importe quel plugin et technique'
|
||||
Help_Player: '&6/brew <Player> <%Drunkeness> <Quality>&9 Définit l´ivresse (et la qualité) du joueur'
|
||||
Help_Reload: '&6/brew reload &9Reload la config'
|
||||
Help_Static: '&6/brew static &9Rend une boisson statique -> Plus affectée par l´âge ou la distillation'
|
||||
Help_UnLabel: '&6/brew unlabel &9Supprime l´étiquette détaillée d´une potion'
|
||||
Help_Wakeup: '&6/brew wakeup list <Page>&9 Affiche une liste de tous les points de réveil'
|
||||
Help_WakeupAdd: '&6/brew wakeup add &9Ajoute un point de réveil à votre position'
|
||||
Help_WakeupCheck: '&6/brew wakeup check &9Téléportation vers tous les points de réveil'
|
||||
Help_WakeupCheckSpecific: '&6/brew wakeup check <id> &9Téléportation vers le point de réveil avec l´ID <id>'
|
||||
Help_WakeupList: '&6/brew wakeup list <Page> <World>&9 Affiche une liste de tous les points de réveil de <world>'
|
||||
Help_WakeupRemove: '&6/brew wakeup remove <id> &9Enlève le point de réveil avec l´ID <id>'
|
||||
|
||||
# Permissions
|
||||
Perms_NoBarrelCreate: '&cVous n´avez pas la permission de créer des barils !'
|
||||
Perms_NoBigBarrelCreate: '&cVous n´avez pas la permission de créer des gros barils !'
|
||||
Perms_NoCauldronFill: '&cVous n´avez pas la permission de remplir les bouteilles de ce chaudron !'
|
||||
Perms_NoCauldronInsert: '&cVous n´avez pas la permission de mettre des ingrédients dans le chaudron !'
|
||||
Perms_NoSmallBarrelCreate: '&cVous n´avez pas la permission de créer de petits barils !'
|
||||
|
||||
# Joueur
|
||||
Player_BarrelCreated: Baril créé
|
||||
Player_CantDrink: Vous ne pouvez pas boire plus.
|
||||
Player_CauldronInfo1: Ce chaudron a été en ébullition durant &v1 minutes.
|
||||
Player_CauldronInfo2: Ce chaudron est tout juste à ébullition.
|
||||
Player_DrunkPassOut: Vous avez trop bu et perdu connaissance..
|
||||
Player_LoginDeny: Votre personnage tente de se connecter, mais il est trop ivre pour trouver le serveur. Essayez à nouveau!
|
||||
Player_LoginDenyLong: Votre personnage est vraiment ivre et a perdu connaissance. Essayez à nouveau dans 10 minutes!
|
||||
Player_TriedToSay: '&v1 essaie de dire: &0&v2'
|
||||
Player_Wake: Oh non ! Je ne me souviens pas comment je suis arrivé ici...
|
||||
Player_WakeAlreadyDeleted: '&cLe point de réveil avec l´ID : &6&v1 &cha déjà été supprimé !'
|
||||
Player_WakeCancel: '&6Le point de réveil a été annulé'
|
||||
Player_WakeCreated: '&aLe point de réveil avec l´ID: &6&v1 &aa été créé avec succès!'
|
||||
Player_WakeDeleted: '&aLe point de réveil avec l´ID : &6&v1 &aa été supprimé avec succès !'
|
||||
Player_WakeFilled: '&cLe point de réveil avec l´ID: &6&v1&c et la position &6&v2 &v3, &v4, &v5&c est rempli de blocs !'
|
||||
Player_WakeHint1: 'Le prochain point de réveil: Tapez dans l´air'
|
||||
Player_WakeHint2: 'Pour annuler : &9/brew wakeup cancel'
|
||||
Player_WakeLast: '&aC´était le dernier point de réveil.'
|
||||
Player_WakeNoCheck: '&cAucun point de réveil n´est actif pour le moment !'
|
||||
Player_WakeNoPoints: '&cIl n´y a pas de point de réveil !'
|
||||
Player_WakeNotExist: '&cLe point de réveil avec l´ID: &6&v1 &cdn´existe pas !'
|
||||
Player_WakeTeleport: 'Téléportation vers le point de réveil avec l´ID : &6&v1&f A la position: &6&v2 &v3, &v4, &v5'
|
74
resources/languages/no.yml
Normal file
74
resources/languages/no.yml
Normal file
@ -0,0 +1,74 @@
|
||||
Brew_-times: -times
|
||||
Brew_BadPotion: Ruined Potion
|
||||
Brew_BarrelRiped: Barrel aged
|
||||
Brew_DistillUndefined: Indefinable Distillate
|
||||
Brew_Distilled: Distilled
|
||||
Brew_HundredsOfYears: Hundreds of Years
|
||||
Brew_Ingredients: Ingredients
|
||||
Brew_MinutePluralPostfix: s
|
||||
Brew_OneYear: One Year
|
||||
Brew_ThickBrew: Muddy Brewxxxxx
|
||||
Brew_Undefined: Indefinable Brew
|
||||
Brew_Woodtype: Woodtype
|
||||
Brew_Years: Years
|
||||
Brew_fermented: fermented
|
||||
Brew_minute: minute
|
||||
CMD_Copy_Error: '&6&v1 &cPotions did not fit into your inventory'
|
||||
CMD_Info_Drunk: '&v1 is &6&v2% &fdrunk, with a quality of &6&v3'
|
||||
CMD_Info_NotDrunk: '&v1 is not drunk'
|
||||
CMD_Player: '&a&v1 is now &6&v2% &adrunk, with a quality of &6&v3'
|
||||
CMD_Player_Error: '&cThe Quality has to be between 1 and 10!'
|
||||
CMD_Reload: '&aConfig was successfully reloaded'
|
||||
CMD_UnLabel: '&aLabel removed!'
|
||||
Error_ConfigUpdate: 'Unknown Brewery Config version: v&v1, Config was not Updated!'
|
||||
Error_ItemNotPotion: '&cThe Item in your hand could not be identified as Potion'
|
||||
Error_NoPermissions: '&cYou have no permission to do this!'
|
||||
Error_PlayerCommand: '&cThis command can only be executed as player'
|
||||
Error_Recipeload: '&cNot all recipes could be restored: More information in the Serverlog!'
|
||||
Error_ShowHelp: use &6/brew help &fto display the help
|
||||
Error_UnknownCommand: Unknown Command
|
||||
Etc_Barrel: Barrel
|
||||
Etc_Page: Page
|
||||
Etc_Usage: 'Usage:'
|
||||
Help_Copy: '&6/brew Copy <Quanitiy>&9 Copies the Potion in your Hand'
|
||||
Help_Delete: '&6/brew Delete &9Deletes the Potion in your Hand'
|
||||
Help_Help: '&6/brew help <Page> &9Shows a specific help-page'
|
||||
Help_Info: '&6/brew Info&9 Displays your current Drunkeness and Quality'
|
||||
Help_InfoOther: '&6/brew Info <Player>&9 Displays the current Drunkeness and Quality
|
||||
of <Player>'
|
||||
Help_Player: '&6/brew <Player> <%Drunkeness> <Quality>&9 Sets Drunkeness (and Quality)
|
||||
of a Player'
|
||||
Help_Reload: '&6/brew reload &9Reload config'
|
||||
Help_UnLabel: '&6/brew UnLabel &9Removes the detailled label of a Potion'
|
||||
Help_Wakeup: '&6/brew Wakeup List <Page>&9 Lists all Wakeup Points'
|
||||
Help_WakeupAdd: '&6/brew Wakeup Add &9Adds a Wakeup Point at your current Position'
|
||||
Help_WakeupCheck: '&6/brew Wakeup Check &9Teleports to all Wakeup Points'
|
||||
Help_WakeupCheckSpecific: '&6/brew Wakeup Check <id> &9Teleports to the Wakeup Point
|
||||
with <id>'
|
||||
Help_WakeupList: '&6/brew Wakeup List <Page> <World>&9 Lists all Wakeup Points of a
|
||||
World'
|
||||
Help_WakeupRemove: '&6/brew Wakeup Remove <id> &9Removes the Wakeup Point with <id>'
|
||||
Player_BarrelCreated: Barrel created
|
||||
Player_CantDrink: You can't drink any more
|
||||
Player_CauldronInfo1: This Cauldron seethes since &v1 minutes
|
||||
Player_CauldronInfo2: This Cauldron seethes since less than one minute
|
||||
Player_DrunkPassOut: You have drunken too much and fainted!
|
||||
Player_LoginDeny: Your character is drunk and does not react. Try again!
|
||||
Player_LoginDenyLong: Your character is really drunk and unconscious. Try again in 10 minutes!
|
||||
Player_TriedToSay: '&v1 tried to say: &0&v2'
|
||||
Player_Wake: Ohh no! I cannot remember how I got here...
|
||||
Player_WakeAlreadyDeleted: '&cThe Wakeup Point with the id: &6&v1 &chas already been
|
||||
deleted!'
|
||||
Player_WakeCancel: '&6Wakeup Point Check was cancelled'
|
||||
Player_WakeCreated: '&aWakeup Point with id: &6&v1 &awas created successfully!'
|
||||
Player_WakeDeleted: '&aThe Wakeup Point with the id: &6&v1 &awas successfully deleted!'
|
||||
Player_WakeFilled: '&cThe Wakeup Point with the id: &6&v1&c at position &6&v2 &v3,
|
||||
&v4, &v5&c is filled with Blocks!'
|
||||
Player_WakeHint1: 'To Next Wakeup Point: Punch your fist in the air'
|
||||
Player_WakeHint2: 'To Cancel: &9/brew wakeup cancel'
|
||||
Player_WakeLast: '&aThis was the last Wakeup Point'
|
||||
Player_WakeNoCheck: '&cNo Wakeup Point Check is currently active'
|
||||
Player_WakeNoPoints: '&cThere are no Wakeup Points!'
|
||||
Player_WakeNotExist: '&cThe Wakeup Point with the id: &6&v1 &cdoesn''t exist!'
|
||||
Player_WakeTeleport: 'Teleport to Wakeup Point with the id: &6&v1&f At position: &6&v2
|
||||
&v3, &v4, &v5'
|
@ -1,113 +1,113 @@
|
||||
name: Brewery
|
||||
version: 1.3.1
|
||||
main: com.dre.brewery.P
|
||||
authors: [Milan Albrecht, Frank Baumann]
|
||||
softdepend: [LWC, LogBlock, WorldGuard, GriefPrevention]
|
||||
commands:
|
||||
brewery:
|
||||
description: Command for Administration
|
||||
aliases: [brew]
|
||||
permissions:
|
||||
# -- Groups --
|
||||
# User
|
||||
brewery.user:
|
||||
description: Access to everything needed for brewing
|
||||
default: true
|
||||
children:
|
||||
brewery.cmd.unlabel: true
|
||||
brewery.createbarrel: true
|
||||
brewery.openbarrel: true
|
||||
brewery.cauldron.time: true
|
||||
brewery.cauldron.insert: true
|
||||
brewery.cauldron.fill: true
|
||||
# Mod
|
||||
brewery.mod:
|
||||
description: Allow to maintain Wakeup Points and to login even if overdrunken
|
||||
children:
|
||||
brewery.user: true
|
||||
brewery.cmd.wakeup: true
|
||||
brewery.bypass.logindeny: true
|
||||
# Admin
|
||||
brewery.admin:
|
||||
description: Gives access to Every Command and most bypasses
|
||||
default: op
|
||||
children:
|
||||
brewery.user: true
|
||||
brewery.mod: true
|
||||
brewery.cmd.info: true
|
||||
brewery.cmd.infoOther: true
|
||||
brewery.cmd.player: true
|
||||
brewery.cmd.create: true
|
||||
brewery.cmd.copy: true
|
||||
brewery.cmd.delete: true
|
||||
brewery.cmd.persist: true
|
||||
brewery.cmd.static: true
|
||||
brewery.cmd.reload: true
|
||||
# *
|
||||
brewery.*:
|
||||
description: Gives Access to every Permission, including bypasses and overrides
|
||||
children:
|
||||
brewery.user: true
|
||||
brewery.mod: true
|
||||
brewery.admin: true
|
||||
brewery.bypass.overdrink: true
|
||||
brewery.bypass.teleport: true
|
||||
|
||||
# -- Commands --
|
||||
brewery.cmd.unlabel:
|
||||
description: Remove Parts of the Potionlabel
|
||||
brewery.cmd.info:
|
||||
description: Information about your own drunkeness
|
||||
brewery.cmd.infoOther:
|
||||
description: Information about the drunkeness of another Player
|
||||
brewery.cmd.player:
|
||||
description: Set Player-values
|
||||
brewery.cmd.wakeup:
|
||||
description: Set, Check and Remove Wakeup Points
|
||||
brewery.cmd.copy:
|
||||
description: Copy Potions
|
||||
brewery.cmd.delete:
|
||||
description: Delete Potions
|
||||
brewery.cmd.persist:
|
||||
description: Make Potions Persistent
|
||||
brewery.cmd.static:
|
||||
description: Make Potions Static
|
||||
brewery.cmd.reload:
|
||||
description: Reload config
|
||||
|
||||
# -- Barrel --
|
||||
brewery.createbarrel:
|
||||
description: Allow to create all types of Barrels
|
||||
children:
|
||||
brewery.createbarrel.small: true
|
||||
brewery.createbarrel.big: true
|
||||
brewery.createbarrel.small:
|
||||
description: Allow to create small Barrels
|
||||
brewery.createbarrel.big:
|
||||
description: Allow to create big Barrels
|
||||
|
||||
brewery.openbarrel:
|
||||
description: Allow to open all types of Barrels
|
||||
children:
|
||||
brewery.openbarrel.small: true
|
||||
brewery.openbarrel.big: true
|
||||
brewery.openbarrel.small:
|
||||
description: Allow to open small Barrels
|
||||
brewery.openbarrel.big:
|
||||
description: Allow to open big Barrels
|
||||
|
||||
# -- Cauldron --
|
||||
brewery.cauldron.time:
|
||||
description: View the current Cooking time of a cauldron with a watch
|
||||
brewery.cauldron.insert:
|
||||
description: Add Ingredients to the Cauldron
|
||||
brewery.cauldron.fill:
|
||||
description: Fill a Bottle from a Cauldron with a brewery brew
|
||||
|
||||
# -- Bypasses --
|
||||
brewery.bypass.logindeny:
|
||||
description: Can always login, even with extreme drunkeness
|
||||
brewery.bypass.overdrink:
|
||||
description: Will despite config-setting not be kicked on overdrink
|
||||
brewery.bypass.teleport:
|
||||
name: Brewery
|
||||
version: 1.3.1
|
||||
main: com.dre.brewery.P
|
||||
authors: [Milan Albrecht, Frank Baumann]
|
||||
softdepend: [LWC, LogBlock, WorldGuard, GriefPrevention]
|
||||
commands:
|
||||
brewery:
|
||||
description: Command for Administration
|
||||
aliases: [brew]
|
||||
permissions:
|
||||
# -- Groups --
|
||||
# User
|
||||
brewery.user:
|
||||
description: Access to everything needed for brewing
|
||||
default: true
|
||||
children:
|
||||
brewery.cmd.unlabel: true
|
||||
brewery.createbarrel: true
|
||||
brewery.openbarrel: true
|
||||
brewery.cauldron.time: true
|
||||
brewery.cauldron.insert: true
|
||||
brewery.cauldron.fill: true
|
||||
# Mod
|
||||
brewery.mod:
|
||||
description: Allow to maintain Wakeup Points and to login even if overdrunken
|
||||
children:
|
||||
brewery.user: true
|
||||
brewery.cmd.wakeup: true
|
||||
brewery.bypass.logindeny: true
|
||||
# Admin
|
||||
brewery.admin:
|
||||
description: Gives access to Every Command and most bypasses
|
||||
default: op
|
||||
children:
|
||||
brewery.user: true
|
||||
brewery.mod: true
|
||||
brewery.cmd.info: true
|
||||
brewery.cmd.infoOther: true
|
||||
brewery.cmd.player: true
|
||||
brewery.cmd.create: true
|
||||
brewery.cmd.copy: true
|
||||
brewery.cmd.delete: true
|
||||
brewery.cmd.persist: true
|
||||
brewery.cmd.static: true
|
||||
brewery.cmd.reload: true
|
||||
# *
|
||||
brewery.*:
|
||||
description: Gives Access to every Permission, including bypasses and overrides
|
||||
children:
|
||||
brewery.user: true
|
||||
brewery.mod: true
|
||||
brewery.admin: true
|
||||
brewery.bypass.overdrink: true
|
||||
brewery.bypass.teleport: true
|
||||
|
||||
# -- Commands --
|
||||
brewery.cmd.unlabel:
|
||||
description: Remove Parts of the Potionlabel
|
||||
brewery.cmd.info:
|
||||
description: Information about your own drunkeness
|
||||
brewery.cmd.infoOther:
|
||||
description: Information about the drunkeness of another Player
|
||||
brewery.cmd.player:
|
||||
description: Set Player-values
|
||||
brewery.cmd.wakeup:
|
||||
description: Set, Check and Remove Wakeup Points
|
||||
brewery.cmd.copy:
|
||||
description: Copy Potions
|
||||
brewery.cmd.delete:
|
||||
description: Delete Potions
|
||||
brewery.cmd.persist:
|
||||
description: Make Potions Persistent
|
||||
brewery.cmd.static:
|
||||
description: Make Potions Static
|
||||
brewery.cmd.reload:
|
||||
description: Reload config
|
||||
|
||||
# -- Barrel --
|
||||
brewery.createbarrel:
|
||||
description: Allow to create all types of Barrels
|
||||
children:
|
||||
brewery.createbarrel.small: true
|
||||
brewery.createbarrel.big: true
|
||||
brewery.createbarrel.small:
|
||||
description: Allow to create small Barrels
|
||||
brewery.createbarrel.big:
|
||||
description: Allow to create big Barrels
|
||||
|
||||
brewery.openbarrel:
|
||||
description: Allow to open all types of Barrels
|
||||
children:
|
||||
brewery.openbarrel.small: true
|
||||
brewery.openbarrel.big: true
|
||||
brewery.openbarrel.small:
|
||||
description: Allow to open small Barrels
|
||||
brewery.openbarrel.big:
|
||||
description: Allow to open big Barrels
|
||||
|
||||
# -- Cauldron --
|
||||
brewery.cauldron.time:
|
||||
description: View the current Cooking time of a cauldron with a watch
|
||||
brewery.cauldron.insert:
|
||||
description: Add Ingredients to the Cauldron
|
||||
brewery.cauldron.fill:
|
||||
description: Fill a Bottle from a Cauldron with a brewery brew
|
||||
|
||||
# -- Bypasses --
|
||||
brewery.bypass.logindeny:
|
||||
description: Can always login, even with extreme drunkeness
|
||||
brewery.bypass.overdrink:
|
||||
description: Will despite config-setting not be kicked on overdrink
|
||||
brewery.bypass.teleport:
|
||||
description: Will despite config-setting not be teleported on login
|
@ -1,5 +1,8 @@
|
||||
package com.dre.brewery;
|
||||
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
@ -67,7 +70,11 @@ public class P extends JavaPlugin {
|
||||
String v = Bukkit.getBukkitVersion();
|
||||
useUUID = !v.matches(".*1\\.[1-6].*") && !v.matches(".*1\\.7\\.[0-5].*");
|
||||
|
||||
readConfig();
|
||||
if (!readConfig()) {
|
||||
p = null;
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
return;
|
||||
}
|
||||
readData();
|
||||
|
||||
// Setup Metrics
|
||||
@ -102,10 +109,14 @@ public class P extends JavaPlugin {
|
||||
public void onDisable() {
|
||||
|
||||
// Disable listeners
|
||||
HandlerList.unregisterAll(p);
|
||||
HandlerList.unregisterAll(this);
|
||||
|
||||
// Stop shedulers
|
||||
p.getServer().getScheduler().cancelTasks(this);
|
||||
getServer().getScheduler().cancelTasks(this);
|
||||
|
||||
if (p == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// save Data to Disk
|
||||
DataSave.save(true);
|
||||
@ -187,10 +198,10 @@ public class P extends JavaPlugin {
|
||||
Bukkit.getConsoleSender().sendMessage(ChatColor.DARK_GREEN + "[Brewery] " + ChatColor.DARK_RED + "ERROR: " + ChatColor.RED + msg);
|
||||
}
|
||||
|
||||
public void readConfig() {
|
||||
public boolean readConfig() {
|
||||
File file = new File(p.getDataFolder(), "config.yml");
|
||||
if (!file.exists()) {
|
||||
saveDefaultConfig();
|
||||
if (!checkConfigs()) {
|
||||
return false;
|
||||
}
|
||||
FileConfiguration config = YamlConfiguration.loadConfiguration(file);
|
||||
|
||||
@ -299,6 +310,8 @@ public class P extends JavaPlugin {
|
||||
|
||||
// telling Words the path, it will load it when needed
|
||||
Words.config = config;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// load all Data
|
||||
@ -521,6 +534,54 @@ public class P extends JavaPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
private boolean checkConfigs() {
|
||||
File cfg = new File(p.getDataFolder(), "config.yml");
|
||||
if (!cfg.exists()) {
|
||||
errorLog("No config.yml found, creating default file! You may want to choose a config according to your language!");
|
||||
InputStream defconf = getResource("config/en/config.yml");
|
||||
if (defconf == null) {
|
||||
errorLog("default config file not found, your jarfile may be corrupt. Disabling Brewery!");
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
saveFile(defconf, getDataFolder(), "config.yml");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!cfg.exists()) {
|
||||
errorLog("default config file could not be copied, your jarfile may be corrupt. Disabling Brewery!");
|
||||
return false;
|
||||
}
|
||||
|
||||
File configs = new File(getDataFolder(), "configs");
|
||||
if (!configs.exists()) {
|
||||
String lang[] = new String[] {"de", "en", "fr"};
|
||||
for (String l : lang) {
|
||||
File lfold = new File(configs, l);
|
||||
try {
|
||||
saveFile(getResource("config/" + l + "/config.yml"), lfold, "config.yml");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File languages = new File(getDataFolder(), "languages");
|
||||
if (!languages.exists()) {
|
||||
String lang[] = new String[] {"de", "en", "fr", "no"};
|
||||
for (String l : lang) {
|
||||
try {
|
||||
saveFile(getResource("languages/" + l + ".yml"), languages, l + ".yml");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Utility
|
||||
|
||||
public int parseInt(String string) {
|
||||
@ -640,6 +701,29 @@ public class P extends JavaPlugin {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public static void saveFile(InputStream in, File dest, String name) throws IOException {
|
||||
if (in == null) return;
|
||||
if (!dest.exists()) {
|
||||
dest.mkdirs();
|
||||
}
|
||||
File result = new File(dest, name);
|
||||
if (result.exists()) {
|
||||
return;
|
||||
}
|
||||
|
||||
OutputStream out = new FileOutputStream(result);
|
||||
byte[] buffer = new byte[1024];
|
||||
|
||||
int length;
|
||||
//copy the file content in bytes
|
||||
while ((length = in.read(buffer)) > 0){
|
||||
out.write(buffer, 0, length);
|
||||
}
|
||||
|
||||
in.close();
|
||||
out.close();
|
||||
}
|
||||
|
||||
// Returns either uuid or Name of player, depending on bukkit version
|
||||
public static String playerString(Player player) {
|
||||
if (useUUID) {
|
||||
|
@ -129,7 +129,7 @@ public class DataSave extends BukkitRunnable {
|
||||
}
|
||||
} else {
|
||||
running = new DataSave(null);
|
||||
running.runTask(P.p);
|
||||
running.run();
|
||||
}
|
||||
P.p.debugLog("saving: " + ((System.nanoTime() - time) / 1000000.0) + "ms");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user