Retain cross-version compatibility & cleanup (#374)

This commit is contained in:
ArtelGG
2018-12-17 22:58:55 -05:00
committed by Trent Hensler
parent df624afedc
commit 88e0351826
25 changed files with 160 additions and 238 deletions
+28 -33
View File
@@ -1,60 +1,55 @@
# PlayerVaults by https://github.com/drtshock/PlayerVaults/graphs/contributors
# Spigot page: https://www.spigotmc.org/resources/playervaultsx.51204/
# Made with love :3
# PlayerVaults
# Created by: https://github.com/drtshock/PlayerVaults/graphs/contributors/
# Resource page: https://www.spigotmc.org/resources/51204/
# Discord server: https://discordapp.com/invite/JZcWDEt/
# Made with love <3
# Debug mode
# This will print lots of spammy stuff to console.
# Should probably only enabled this if you're working with drtshock to fix something.
# Debug Mode
# This will print everything the plugin is doing to console.
# You should only enable this if you're working with a contributor to fix something.
debug: false
# Lang files can be found in plugins/PlayerVaults/lang/
# Set the below value to be one of the files in there without .yml
# Currently can use: english, bulgarian, dutch, turkish
# Language
# This determines which language file the plugin will read from.
# Valid options are (don't include .yml): bulgarian, dutch, english, german, turkish
language: english
# Signs
# Do you want to enable signs?
# You can checkout the project page for info on what this is if you don't know.
# This can save some performance on servers with 250+ players if disabled.
# This will determine whether vault signs are enabled.
# If you don't know what this is or if it's for you, see the resource page.
# Reminder: This is only checked during startup.
signs-enabled: false
# Settings here are for economy integration. playervaults.free bypasses it.
# Economy
# These are all of the settings for the economy integration. (Requires Vault)
# Bypass permission is: playervaults.free
economy:
enabled: false
# Cost to create a vault. You can give players playervaults.free to bypass this.
cost-to-create: 100
cost-to-open: 10
refund-on-delete: 50
# Blocked Items
# Here you can block items in vaults.
# You can give player's playervaults.bypassblockeditems permission to bypass this list.
# Ops also have an automatic bypass.
# Use material names. This does not work with ids.
# Should we even use this? If left to false, the list won't do anything.
# This will allow you to block specific materials from vaults.
# Bypass permission is: playervaults.bypassblockeditems
blockitems: true
# Only effective if the above option is true.
# Material list for blocked items (does not support ID's), only effective if the feature is enabled.
# If you don't know material names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
blocked-items:
- PUMPKIN
- DIAMOND_BLOCK
# Cleanup
# Should we cleanup vaults that haven't been used in awhile?
# Only checks on restarts. Runs on another thread so it won't
# lag the server.
#
# This will not touch the backups folder. You will have to delete those yourself.
# Enabling this will purge vaults that haven't been touched in the specified time frame.
# Reminder: This is only checked during startup.
# This will not lag your server or touch the backups folder.
# The time format is in days.
cleanup:
enable: false
# If a file hasn't been edited for this long, we'll clean it up.
# Time is in days.
lastEdit: 30
# Backups
# Enabling this will create backups of vaults automagically.
backups:
# If you don't want any backups created change this to false.
enabled: true
enabled: true
+1 -1
View File
@@ -30,4 +30,4 @@ conversion-complete: "&aConverted %converted players to PlayerVaults"
conversion-background: "&fConversion has been forked to the background. See console for updates."
vaults-locked: "&cVaults are currently locked while conversion occurs. Please try again in a moment!"
help: "/pv <number>"
blocked-item: "&6%m &cis blocked from vaults."
blocked-item: "&6%m &cis blocked from vaults."
+2 -2
View File
@@ -24,10 +24,10 @@ cost-to-create: "&fБяхте таксувани &c%price &fза създава
cost-to-open: "&fБяхте таксувани &c%price &fза отварянето на този сейф."
vault-title: "&4Сейф #%number"
existing-vaults: "&f%p има &a%v &fсейфа"
no-player-found: "&cНе успяхме да намерим &a%p"
no-owner-found: "&cCannot find vault owner: &a%p"
plugin-not-found: "&cНямаме конвертор за този плъгин."
conversion-complete: "&aКонвертирахме %converted играч(а) към PlayerVaults"
conversion-background: "&fЗапочнахме конвертирането на заден план. Следете конзолата за статуса на операцията."
vaults-locked: "&cСейфовете са заключени докато тече конвертиране. Моля, опитайте пак по-късно!"
help: "/pv <номер>"
blocked-item: "&6%m &cне може да се слага в сейфове."
blocked-item: "&6%m &cне може да се слага в сейфове."
+2 -2
View File
@@ -24,10 +24,10 @@ cost-to-create: "&fje bent &c%price aangerekend &fvoor deze vault te creëren."
cost-to-open: "&fJe bent &c%price aangerekend &fvoor het openen van deze vault."
vault-title: "&4Vault #%number"
existing-vaults: "&f%p heeft vault: &a%v"
no-player-found: "&cKan speler &a%p niet vinden"
no-owner-found: "&cCannot find vault owner: &a%p"
plugin-not-found: "&cGeen converter gevonden voor die plugin."
conversion-complete: "&aEr zijn %converted spelers naar PlayerVaults geconverteerd"
conversion-background: "&fHet converteren is naar de achtergrond geplaatst. Check de console voor de status van het converteren"
vaults-locked: "&cVaults zijn op dit moment op slot terwijl het wordt geconverteerd. Probeer het later opnieuw!"
help: "/pv <number>"
blocked-item: "&6%m &cis geblokkeer van vaults."
blocked-item: "&6%m &cis geblokkeer van vaults."
+2 -2
View File
@@ -24,10 +24,10 @@ cost-to-create: "&fYou were charged &c%price &ffor creating that vault."
cost-to-open: "&fYou were charged &c%price &ffor opening that vault."
vault-title: "&4Vault #%number"
existing-vaults: "&f%p has vaults: &a%v"
no-player-found: "&cCannot find player &a%p"
no-owner-found: "&cCannot find vault owner: &a%p"
plugin-not-found: "&cNo converter found for that plugin"
conversion-complete: "&aConverted %converted players to PlayerVaults"
conversion-background: "&fConversion has been forked to the background. See console for updates."
vaults-locked: "&cVaults are currently locked while conversion occurs. Please try again in a moment!"
help: "/pv <number>"
blocked-item: "&6%m &cis blocked from vaults."
blocked-item: "&6%m &cis blocked from vaults."
+2 -2
View File
@@ -24,10 +24,10 @@ cost-to-create: "&fDir wurden &c%price &ffür das Erstellen des Tresors berechne
cost-to-open: "&fDir wurden von &c%price &ffür das Öffnen des Tresors berechnet."
vault-title: "&4Tresor #%number"
existing-vaults: "&f%p hat folgende Tresore: &a%v"
no-player-found: "&cKann Spieler &a%p nicht finden"
no-owner-found: "&cCannot find vault owner: &a%p"
plugin-not-found: "&cKeinen Converter für das Plugin gefunden"
conversion-complete: "&%converted Spieler zu PlayerVaults konvertiert"
conversion-background: "&fKonvertierung wurde im Hintergrund genauer gezeigt. Schaue in die Konsole für mehr Details."
vaults-locked: "&cTresore sind gerade wegen einer Konvertierung verschlossen. Versuche es in einem Moment nocheinmal!"
help: "/pv <number>"
blocked-item: "&6%m &cist von Tresoren geblockt."
blocked-item: "&6%m &cist von Tresoren geblockt."
+2 -3
View File
@@ -6,7 +6,6 @@
# %converted dönüştürülen depo sayısı (uygulanabilir olduğunda)
# %m kara listeye alınmış malzeme ile değiştirilecek (uygulanabilir olduğunda)
# Aşkla yapıldı :)
# Çeviri, @Fix3d tarafından yapılmıştır.
title-name: "&4[&fPlayerVaultsX&4]:"
open-vault: "&a%v. &fdepo açılıyor."
@@ -25,10 +24,10 @@ cost-to-create: "&fBu kasayı oluşturmak için &c%price &födedin."
cost-to-open: "&fDepo açılış ücreti olarak &c%price &födedin."
vault-title: "&4Depo #%number"
existing-vaults: "&f%p oyuncusunun depoları: &a%v"
no-player-found: "&cOyuncu &a%p &cbulunamıyor!"
no-owner-found: "&cCannot find vault owner: &a%p"
plugin-not-found: "&cBu eklenti için dönüştürücü bulunamadı"
conversion-complete: "&a%converted depo PlayerVaults'a dönüştürüldü"
conversion-background: "&fDönüşüm, arka plana aktarıldı. Detaylar için konsola bakın."
vaults-locked: "&cDönüşüm gerçekleştiğinde kasalar kilitlenir. Lütfen biraz sonra tekrar deneyin!"
help: "/pv <numara>"
blocked-item: "&6%m &cdepoda barındırılamaz!"
blocked-item: "&6%m &cdepoda barındırılamaz!"
+10 -9
View File
@@ -1,32 +1,33 @@
name: PlayerVaults
main: com.drtshock.playervaults.PlayerVaults
authors: [drtshock, kashike]
website: ${project.url}
version: ${project.version}
website: https://www.spigotmc.org/resources/51204/
main: com.drtshock.playervaults.PlayerVaults
softdepend: [Vault]
api-version: 1.13
commands:
pv:
description: Open a vault with /pv <number>
description: Open a vault.
aliases: [vault, chest, playervaults, vc]
pvdel:
description: Delete a vault.
aliases: [vaultdel]
pvsign:
description: Do pv signs.
description: Manage vault signs.
aliases: [vaultsign]
pvconvert:
description: Convert other plugins to PlayerVaults
description: Convert other plugins to PlayerVaultsX.
aliases: [vaultconvert]
pvreload:
description: Reload the config and lang files.
description: Reload the configuration and language files.
permission: playervaults.admin
permissions:
playervaults.admin:
description: Admin vault operations.
description: Grants access to admin commands for vaults.
default: op
playervaults.bypassblockeditems:
description: Bypass blocked items.
default: op
description: Grants access to bypass blocked vault items.
default: op