Dateien nach "src/main/resources" hochladen
This commit is contained in:
155
src/main/resources/config.yml
Normal file
155
src/main/resources/config.yml
Normal file
@@ -0,0 +1,155 @@
|
|||||||
|
# Standard config.yml für MysqlEconomyBank
|
||||||
|
# Konfigurationsversion 1.21.5
|
||||||
|
|
||||||
|
database:
|
||||||
|
# Art der Datenbank, Optionen: FlatFile oder MySQL
|
||||||
|
typeOfDatabase: FlatFile
|
||||||
|
# MySQL-Datenbank-Verbindungsdetails
|
||||||
|
mysql:
|
||||||
|
host: 127.0.0.1
|
||||||
|
port: 3306
|
||||||
|
databaseName: 'mydatabase'
|
||||||
|
tableName: 'meb_accounts'
|
||||||
|
user: 'admin'
|
||||||
|
password: 'cheesecake'
|
||||||
|
ssl: false
|
||||||
|
|
||||||
|
# Allgemeine Einstellungen
|
||||||
|
general:
|
||||||
|
# Maximale Geldmenge auf Spieler-Konten
|
||||||
|
maxBankLimitMoney: 10000000
|
||||||
|
# Maximale Geldmenge in der Hosentasche der Spieler
|
||||||
|
maxPocketLimitMoney: 10000000
|
||||||
|
# Wartezeit in Millisekunden (1 Sekunde = 1000 Millisekunden), die ein Spieler zwischen zwei Schild-Interaktionen warten muss
|
||||||
|
timeBetweenTwoInteractions: 1000
|
||||||
|
# Zinseinstellungen
|
||||||
|
interest:
|
||||||
|
# Bankkontenzinsen aktivieren | (true oder false)
|
||||||
|
enabled: false
|
||||||
|
# Zinssatz in Prozent. Beispiel: 0.2% | 2% | 10%
|
||||||
|
percentageAmount: 0.5%
|
||||||
|
# Zeit zwischen Zinsgutschriften in Minuten (Standard 5 Minuten)
|
||||||
|
interestTime: 5
|
||||||
|
|
||||||
|
# Chat-Präfix und Nachrichten
|
||||||
|
chatMessages:
|
||||||
|
# Chat-Präfix - Unterstützt Farb-/Formatcodes - Zum Deaktivieren des Präfix leer lassen: prefix: ''
|
||||||
|
# Farb- und Formatcodes: http://minecraft.gamepedia.com/Classic_server_protocol#Color_Codes
|
||||||
|
prefix: '&3&l[Bank] '
|
||||||
|
|
||||||
|
# Chat-Nachrichten - Unterstützt Farb-/Formatcodes.
|
||||||
|
# Platzhalter %amount wird durch Geldbetrag ersetzt.
|
||||||
|
# Platzhalter %player2 wird durch Spielernamen ersetzt.
|
||||||
|
# Um eine Nachricht zu deaktivieren, auf '' setzen. Beispiel: balance: ''
|
||||||
|
createdSignSuccessfully: '&bSchild erfolgreich erstellt!'
|
||||||
|
notAllowed: '&bDu hast keine Berechtigung.'
|
||||||
|
removedSignSuccessfully: '&bSchild entfernt!'
|
||||||
|
errorWhileCreatingSign: '&bSchild konnte nicht erstellt werden!'
|
||||||
|
balance: '&b%player2:&7 $%balance'
|
||||||
|
depositedSuccessfully: '&bErfolgreich &7$%amount &beingezahlt!'
|
||||||
|
reachedMaximumMoneyInAccount: '&bBankkontolimit erreicht!'
|
||||||
|
notEnoughMoneyInPoket: '&bDu hast nicht genug &7$%amount &bin deiner Hosentasche!'
|
||||||
|
withdrewSuccessfully: '&bErfolgreich &7$%amount &babgehoben!'
|
||||||
|
reachedMaximumMoneyInPocket: '&bLimit für Geld in der Hosentasche erreicht.'
|
||||||
|
notEnoughMoneyInAccount: '&bNicht genug Guthaben auf dem Bankkonto! Kontostand: &7$%amount'
|
||||||
|
accountDoesNotExist: '&7%player2 &bhat kein Konto!'
|
||||||
|
tooFastInteraction: '&bDu kannst nicht so oft mit MysqlEconomyBank interagieren. Bitte warte kurz...'
|
||||||
|
denyIfSneaking: '&bDu kannst die Bankschilder nicht benutzen, während du schleichst.'
|
||||||
|
noPermission: '&bDu hast keine Berechtigung.'
|
||||||
|
reloadFail: '&bKonfiguration konnte nicht neu geladen werden!'
|
||||||
|
reloadComplete: '&bKonfiguration erfolgreich neu geladen!'
|
||||||
|
balanceCommand: '&7%player2 &bKontostand: &7$%amount'
|
||||||
|
balanceCommandFail: '&bSpieler offline oder falsche UUID!'
|
||||||
|
setCommandFail: '&bDer Betrag muss eine Zahl sein!'
|
||||||
|
setCommand: '&7%player2 &bKontostand gesetzt auf: &7$%amount'
|
||||||
|
interest: '&bZinsen gutgeschrieben: &7$%amount'
|
||||||
|
interestCommand: '&bNächste Zinsgutschrift in: &7%time'
|
||||||
|
interestDisabled: '&cZinsfunktion ist deaktiviert!'
|
||||||
|
negativeAmount: '&cDer Betrag muss positiv sein!'
|
||||||
|
invalidSignType: "Dieser Schildtyp ist ungültig."
|
||||||
|
signCreatedSuccessfully: "§aDas Schild wurde erfolgreich erstellt!"
|
||||||
|
signDestroyedSuccessfully: "§cDas Schild wurde erfolgreich entfernt!"
|
||||||
|
|
||||||
|
# Konsolen-Hilfenachrichten - mehrzeilig
|
||||||
|
consoleHelpMsg:
|
||||||
|
- ' '
|
||||||
|
- '&3-=-=-=-=-=-=-=-< &b&lMysqlEconomyBank&3 >-=-=-=-=-=-=-=-=-=-'
|
||||||
|
- ' '
|
||||||
|
- '&b Kontostand anderer Spieler prüfen:'
|
||||||
|
- '&8>> &f/bank balance <SpielerName>&7 - für online Spieler.'
|
||||||
|
- '&8>> &f/bank balance <SpielerUUID>&7 - für offline Spieler.'
|
||||||
|
- '&7 Beispiel: &f/bank balance John&7 oder &f/bank balance f694517d-d6cf-32f1-972b-dfc677ceac45'
|
||||||
|
- ' '
|
||||||
|
- '&b Kontostand anderer Spieler setzen:'
|
||||||
|
- '&8>> &f/bank set <SpielerName> Betrag&7 - für online Spieler.'
|
||||||
|
- '&8>> &f/bank set <SpielerUUID> Betrag&7 - für offline Spieler.'
|
||||||
|
- '&7 Beispiel: &f/bank set John 100&7 oder &f/bank set f694517d-d6cf-32f1-972b-dfc677ceac45 100.5'
|
||||||
|
- ' '
|
||||||
|
- '&b Plugin-Konfiguration neu laden:'
|
||||||
|
- '&8>> &f/bank reload'
|
||||||
|
- ' '
|
||||||
|
- '&3-=-=-=-=-=-=-=-=-< &b&lKonsolen-Hilfe&3 >-=-=-=-=-=-=-=-=-'
|
||||||
|
- ' '
|
||||||
|
|
||||||
|
# Spieler-Hilfenachricht - mehrzeilig
|
||||||
|
playerHelpMessage:
|
||||||
|
Title:
|
||||||
|
- ' '
|
||||||
|
- '&3-=-=-=-=-=-=-=-< &b&lMysqlEconomyBank&3 >-=-=-=-=-=-=-=-=-'
|
||||||
|
Admin:
|
||||||
|
- ' '
|
||||||
|
- '&b Kontostand anderer Spieler prüfen:'
|
||||||
|
- '&8&l>> &f/bank balance <SpielerName>&7 - für online Spieler.'
|
||||||
|
- '&8&l>> &f/bank balance <SpielerUUID>&7 - für offline Spieler.'
|
||||||
|
- '&7 Beispiel: &f/bank balance John&7 oder &f/bank balance f694517d-d6cf-32f1-972b-dfc677ceac45'
|
||||||
|
- ' '
|
||||||
|
- '&b Kontostand anderer Spieler setzen:'
|
||||||
|
- '&8&l>> &f/bank set <SpielerName> Betrag&7 - für online Spieler.'
|
||||||
|
- '&8&l>> &f/bank set <SpielerUUID> Betrag&7 - für offline Spieler.'
|
||||||
|
- '&7 Beispiel: &f/bank set John 100&7 oder &f/bank set f694517d-d6cf-32f1-972b-dfc677ceac45 100.5'
|
||||||
|
- ' '
|
||||||
|
- '&b Plugin-Konfiguration neu laden:'
|
||||||
|
- '&8&l>> &f/bank reload'
|
||||||
|
- ' '
|
||||||
|
- '&3-=-=-=-=-=-=-=-=-< &b&lAdmin Hilfe&3 >-=-=-=-=-=-=-=-=-'
|
||||||
|
BalancePerm:
|
||||||
|
- ' '
|
||||||
|
- '&b Eigenen Kontostand prüfen:'
|
||||||
|
- '&8&l>> &f/bank balance'
|
||||||
|
DepositPerm:
|
||||||
|
- '&b Geld einzahlen:'
|
||||||
|
- '&8&l>> &f/bank deposit <Betrag>'
|
||||||
|
WithdrawPerm:
|
||||||
|
- '&b Geld abheben:'
|
||||||
|
- '&8&l>> &f/bank withdraw <Betrag>'
|
||||||
|
- ' '
|
||||||
|
NoPerms:
|
||||||
|
- ' '
|
||||||
|
- '&7&o>> &f/bank withdraw <Betrag>'
|
||||||
|
- '&7&lPlugin Download:&f http://goo.gl/EPf2R8'
|
||||||
|
- ' '
|
||||||
|
- '&3-=-=-=-=-=-=-=-=-=-< &b&lHilfeseite&3 >-=-=-=-=-=-=-=-=-=-=-'
|
||||||
|
- ' '
|
||||||
|
|
||||||
|
# Action Bar Nachrichten - Benötigt optional TitleManager Plugin.
|
||||||
|
actionBarMessages:
|
||||||
|
# Unterstützt Farb- und Formatcodes.
|
||||||
|
# Platzhalter %bankBalance wird durch deinen Kontostand ersetzt.
|
||||||
|
# Platzhalter %pocketBalance wird durch deinen Geldbetrag in der Tasche ersetzt.
|
||||||
|
# Um Nachrichten zu deaktivieren, auf '' setzen. Beispiel: balance: ''
|
||||||
|
|
||||||
|
# Bei Ein- und Auszahlungen wird der verbleibende Kontostand in der Action Bar angezeigt.
|
||||||
|
balanceLeft: '&3&lKontostand: &7$%bankBalance &f| &3&lHosentasche: &7$%pocketBalance'
|
||||||
|
# Bei Klick auf Bankschilder wird der Kontostand auch in der Action Bar angezeigt.
|
||||||
|
balance: '&3&lKontostand: &7$%bankBalance'
|
||||||
|
|
||||||
|
# Bankschilder anpassen
|
||||||
|
signFormat:
|
||||||
|
# Wörter für Kontostand, Einzahlung und Auszahlung auf Schildern ändern (für Übersetzungen)
|
||||||
|
# Keine Farb- und Formatcodes hier.
|
||||||
|
balance: Kontostand
|
||||||
|
deposit: Einzahlung
|
||||||
|
withdraw: Auszahlung
|
||||||
|
# Farbe der ersten Zeile auf Schildern [Bank] ändern (gilt nur für die erste Zeile)
|
||||||
|
# Farbcode ohne & voranstellen (z.B. &3 wird zu 3). Keine Formatcodes hier.
|
||||||
|
signColor: 3
|
34
src/main/resources/plugin.yml
Normal file
34
src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
name: MysqlEconomyBank
|
||||||
|
main: net.craftersland.money.Money
|
||||||
|
version: 1.21.5 - 1.21.8
|
||||||
|
website: www.m-viper.de
|
||||||
|
load: STARTUP
|
||||||
|
depend: [Vault]
|
||||||
|
softdepend: [TitleManager, PlaceholderAPI]
|
||||||
|
description: Sign Money Bank System.
|
||||||
|
author: M_Viper
|
||||||
|
api-version: 1.13
|
||||||
|
commands:
|
||||||
|
meb:
|
||||||
|
description: The main command.
|
||||||
|
bank:
|
||||||
|
description: The second command.
|
||||||
|
permissions:
|
||||||
|
MysqlEconomyBank.use:
|
||||||
|
description: Allows the use of the MysqlEconomyBank signs.
|
||||||
|
default: true
|
||||||
|
MysqlEconomyBank.admin:
|
||||||
|
description: Allows creating and removing MysqlEconomyBank signs.
|
||||||
|
default: op
|
||||||
|
MysqlEconomyBank.cmd.balance:
|
||||||
|
description: Check bank balance via command
|
||||||
|
default: op
|
||||||
|
MysqlEconomyBank.cmd.deposit:
|
||||||
|
description: Deposit money to your bank via command
|
||||||
|
default: op
|
||||||
|
MysqlEconomyBank.cmd.withdraw:
|
||||||
|
description: Withdraw money to your bank via command
|
||||||
|
default: op
|
||||||
|
MysqlEconomyBank.cmd.interest:
|
||||||
|
description: Check remaining time until next interest.
|
||||||
|
default: op
|
Reference in New Issue
Block a user