diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 526c096bb..cd9f5b53a 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,11 +15,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: Set up JDK 11
- uses: actions/setup-java@v2
- with:
- java-version: '11'
- distribution: 'adopt'
- - name: Build with Maven
- run: mvn -B compile --file pom.xml -Pdebug
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: '16'
+ distribution: 'adopt'
+ - name: Build Integration
+ run: mvn -B install --file src/integration/plotsquared/5/pom.xml
+ - name: Build with Maven
+ run: mvn -B compile --file pom.xml -Pdebug
diff --git a/lib/PlotSquared-Bukkit.jar b/lib/PlotSquared4-Bukkit-4.4.jar
similarity index 100%
rename from lib/PlotSquared-Bukkit.jar
rename to lib/PlotSquared4-Bukkit-4.4.jar
diff --git a/lib/PlotSquared5-Core-5.13.11.jar b/lib/PlotSquared5-Core-5.13.11.jar
new file mode 100644
index 000000000..f5d00bb80
Binary files /dev/null and b/lib/PlotSquared5-Core-5.13.11.jar differ
diff --git a/pom.xml b/pom.xml
index 29690cad5..352b61ab3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
QuickShop
- 4.0.9.2
+ 4.0.9.4org.maxgamer.quickshopGhost-chuUTF-8
@@ -272,7 +272,9 @@
${project.basedir}/target/${artifactId}.jar${project.basedir}/keystore.jksselfsigned
+
${env.quickshop-signer-pwd}
+
${env.quickshop-signer-pwd}
@@ -684,17 +686,24 @@
-
+
+ org.maxgamer.quickshop.integration
+ PlotSquared5
+ 1.1
+
+
+ *
+ *
+
+
+
+
com.plotsquaredPlotSquared-Core
- 5.13.11
+ 6.0.0-SNAPSHOTprovided
-
- worldedit-core
- com.sk89q.worldedit
- snakeyamlorg.yaml
@@ -732,10 +741,10 @@
com.github.intellectualsite
- PlotSquared
+ PlotSquared44system
- ${project.basedir}/lib/PlotSquared-Bukkit.jar
+ ${project.basedir}/lib/PlotSquared4-Bukkit-4.4.jarworldedit-core
@@ -804,6 +813,14 @@
guavacom.google.guava
+
+ paste-gg-api
+ org.kitteh
+
+
+ paperlib
+ io.papermc
+
@@ -896,7 +913,7 @@
me.luckohelper
- 5.6.5
+ 5.6.8compile
diff --git a/src/integration/plotsquared/5/pom.xml b/src/integration/plotsquared/5/pom.xml
new file mode 100644
index 000000000..005849ea4
--- /dev/null
+++ b/src/integration/plotsquared/5/pom.xml
@@ -0,0 +1,69 @@
+
+ 4.0.0
+ org.maxgamer.quickshop.integration
+ PlotSquared5
+ 1.1
+ jar
+
+
+ spigot-repo
+ https://hub.spigotmc.org/nexus/content/repositories/snapshots/
+
+
+ enginehub-repo
+ https://maven.enginehub.org/repo/
+
+
+ CodeMC
+ https://repo.codemc.io/repository/maven-public/
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 8
+ 8
+
+
+
+
+
+
+
+ com.plotsquared
+ PlotSquared5-Core
+ 5
+ system
+ ${project.basedir}/../../../../lib/PlotSquared5-Core-5.13.11.jar
+
+
+ org.maxgamer
+ QuickShop
+ 4.0.9.2
+ provided
+
+
+ org.spigotmc
+ spigot-api
+ 1.17-R0.1-SNAPSHOT
+ provided
+
+
+ com.sk89q.worldedit
+ worldedit-core
+ 7.2.0-SNAPSHOT
+ provided
+
+
+ org.jetbrains
+ annotations
+ 21.0.1
+ provided
+
+
+
\ No newline at end of file
diff --git a/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV5.java b/src/integration/plotsquared/5/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV5.java
similarity index 100%
rename from src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV5.java
rename to src/integration/plotsquared/5/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV5.java
diff --git a/src/main/java/org/maxgamer/quickshop/QuickShop.java b/src/main/java/org/maxgamer/quickshop/QuickShop.java
index 267e1bd9e..b71d3bf1f 100644
--- a/src/main/java/org/maxgamer/quickshop/QuickShop.java
+++ b/src/main/java/org/maxgamer/quickshop/QuickShop.java
@@ -665,6 +665,16 @@ public class QuickShop extends JavaPlugin {
PluginManager pluginManager = getServer().getPluginManager();
try {
File file = Paths.get(getClass().getProtectionDomain().getCodeSource().getLocation().toURI()).toFile();
+ //When quickshop was updated, we need to stop reloading
+ if (getUpdateWatcher() != null) {
+ File updatedJar = getUpdateWatcher().getUpdater().getUpdatedJar();
+ if (updatedJar != null) {
+ throw new IllegalStateException("Failed to reload QuickShop! Please consider restarting the server. (Plugin was updated)");
+ }
+ }
+ if (!file.exists()) {
+ throw new IllegalStateException("Failed to reload QuickShop! Please consider restarting the server. (Failed to find plugin jar)");
+ }
Throwable throwable = PluginUtil.unload(this);
if (throwable != null) {
throw new IllegalStateException("Failed to reload QuickShop! Please consider restarting the server. (Plugin unloading has failed)", throwable);
@@ -1870,6 +1880,7 @@ public class QuickShop extends JavaPlugin {
public void setupBootError(BootError bootError) {
this.bootError = bootError;
HandlerList.unregisterAll(this);
+ Bukkit.getScheduler().cancelTasks(this);
}
public void registerCustomCommands() {
diff --git a/src/main/java/org/maxgamer/quickshop/api/ShopAPI.java b/src/main/java/org/maxgamer/quickshop/api/ShopAPI.java
index ad405654c..6dbc690d3 100644
--- a/src/main/java/org/maxgamer/quickshop/api/ShopAPI.java
+++ b/src/main/java/org/maxgamer/quickshop/api/ShopAPI.java
@@ -25,6 +25,8 @@ import org.bukkit.Chunk;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block.Block;
+import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
import org.maxgamer.quickshop.QuickShop;
import org.maxgamer.quickshop.shop.Shop;
@@ -114,4 +116,37 @@ public class ShopAPI {
public Optional getShop(Location location) {
return Optional.ofNullable(plugin.getShopManager().getShopIncludeAttached(location));
}
+
+ // == Backward compatibility ==
+
+ @Deprecated
+ public @Nullable Shop getShopWithCaching(@NotNull Location location) {
+ if (plugin.getShopCache() == null) {
+ return getShop(location).orElse(null);
+ }
+ return plugin.getShopCache().getCaching(location, false);
+ }
+
+ @Deprecated
+ public @Nullable Shop getShopIncludeAttached(@NotNull Location location) {
+ return plugin.getShopManager().getShopIncludeAttached(location);
+ }
+
+ @Deprecated
+ public @Nullable Shop getShopIncludeAttachedWithCaching(@NotNull Location location) {
+ if (plugin.getShopCache() == null) {
+ return getShopIncludeAttached(location);
+ }
+ return plugin.getShopCache().getCaching(location, true);
+ }
+
+ @Deprecated
+ public @NotNull List getPlayerAllShops(@NotNull UUID uuid) {
+ return new ArrayList<>(plugin.getShopManager().getPlayerAllShops(uuid));
+ }
+
+ @Deprecated
+ public @NotNull List getShopsInWorld(@NotNull World world) {
+ return new ArrayList<>(plugin.getShopManager().getShopsInWorld(world));
+ }
}
diff --git a/src/main/java/org/maxgamer/quickshop/command/CommandManager.java b/src/main/java/org/maxgamer/quickshop/command/CommandManager.java
index 9df5e5b54..68bfa5e3c 100644
--- a/src/main/java/org/maxgamer/quickshop/command/CommandManager.java
+++ b/src/main/java/org/maxgamer/quickshop/command/CommandManager.java
@@ -365,12 +365,16 @@ public class CommandManager implements TabCompleter, CommandExecutor {
@NotNull String commandLabel,
@NotNull String[] cmdArg) {
if (plugin.getBootError() != null) {
- if (cmdArg.length != 1 && !"paste".equalsIgnoreCase(cmdArg[0]) && !"reload".equalsIgnoreCase(cmdArg[0])) {
+ if (cmdArg.length <= 0) {
+ plugin.getBootError().printErrors(sender);
+ return true;
+ }
+ if (!"paste".equalsIgnoreCase(cmdArg[0])) {
plugin.getBootError().printErrors(sender);
return true;
}
}
- if (sender instanceof Player && plugin.getConfig().getBoolean("effect.sound.ontabcomplete")) {
+ if (sender instanceof Player && plugin.getConfig().getBoolean("effect.sound.oncommand")) {
Player player = (Player) sender;
((Player) sender)
.playSound(player.getLocation(), Sound.ENTITY_EXPERIENCE_ORB_PICKUP, 80.0F, 1.0F);
diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java
index 19d1e2a0a..2122a3064 100644
--- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java
+++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java
@@ -26,6 +26,8 @@ import org.maxgamer.quickshop.QuickShop;
import org.maxgamer.quickshop.command.CommandHandler;
import org.maxgamer.quickshop.util.MsgUtil;
+import java.util.logging.Level;
+
@AllArgsConstructor
public class SubCommand_Reload implements CommandHandler {
@@ -35,6 +37,11 @@ public class SubCommand_Reload implements CommandHandler {
public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) {
MsgUtil.sendMessage(sender, "server-crash-warning");
MsgUtil.sendMessage(sender, "command.reloading");
- plugin.reload();
+ try {
+ plugin.reload();
+ } catch (Exception e) {
+ MsgUtil.sendDirectMessage(sender, "A error occurred when reloading, please check console: " + e.getMessage());
+ plugin.getLogger().log(Level.SEVERE, "A error occurred when reloading", e);
+ }
}
}
diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java
index 385872b15..383e97d8b 100644
--- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java
+++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java
@@ -56,7 +56,7 @@ public class SubCommand_SilentUnlimited implements CommandHandler {
MsgUtil.sendMessage(sender, "command.toggle-unlimited.unlimited");
if (plugin.getConfig().getBoolean("unlimited-shop-owner-change")) {
plugin.getShopManager().migrateOwnerToUnlimitedShopOwner(shop);
- MsgUtil.sendMessage(sender, "unlimited-shop-owner-changed");
+ MsgUtil.sendMessage(sender, "unlimited-shop-owner-changed", plugin.getShopManager().getCacheUnlimitedShopAccount().getName());
}
return;
}
diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java
index d2cbea5da..3002fe80b 100644
--- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java
+++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java
@@ -55,7 +55,7 @@ public class SubCommand_Unlimited implements CommandHandler {
MsgUtil.sendMessage(sender, "command.toggle-unlimited.unlimited");
if (plugin.getConfig().getBoolean("unlimited-shop-owner-change")) {
plugin.getShopManager().migrateOwnerToUnlimitedShopOwner(shop);
- MsgUtil.sendMessage(sender, "unlimited-shop-owner-changed");
+ MsgUtil.sendMessage(sender, "unlimited-shop-owner-changed", plugin.getShopManager().getCacheUnlimitedShopAccount().getName());
}
return;
}
diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java
index a33ca2b93..c6cf01888 100644
--- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java
+++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java
@@ -23,6 +23,7 @@ import lombok.AllArgsConstructor;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;
+import org.maxgamer.quickshop.BootError;
import org.maxgamer.quickshop.QuickShop;
import org.maxgamer.quickshop.command.CommandHandler;
import org.maxgamer.quickshop.util.MsgUtil;
@@ -62,6 +63,10 @@ public class SubCommand_Update implements CommandHandler {
MsgUtil.sendDirectMessage(sender,
ChatColor.GREEN + "Successful! Please restart your server to apply the updated version!");
+ MsgUtil.sendDirectMessage(sender,
+ ChatColor.YELLOW + "Before you restarting the server, QuickShop won't working again.");
+ plugin.setupBootError(new BootError(plugin.getLogger(), "Reboot required after update the plugin."));
+
});
}
diff --git a/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationProxy.java b/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationProxy.java
index 1a2bf4462..88cdd3948 100644
--- a/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationProxy.java
+++ b/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationProxy.java
@@ -26,6 +26,7 @@ import org.maxgamer.quickshop.QuickShop;
import org.maxgamer.quickshop.integration.IntegrateStage;
import org.maxgamer.quickshop.integration.IntegrationStage;
import org.maxgamer.quickshop.integration.QSIntegratedPlugin;
+import org.maxgamer.quickshop.util.Util;
@IntegrationStage(loadStage = IntegrateStage.onEnableAfter)
public class PlotSquaredIntegrationProxy extends QSIntegratedPlugin {
@@ -36,8 +37,10 @@ public class PlotSquaredIntegrationProxy extends QSIntegratedPlugin {
if (plotSquared == null) {
if (plugin.getServer().getPluginManager().getPlugin("PlotSquared").getClass().getPackage().getName().contains("intellectualsite")) {
plotSquared = new PlotSquaredIntegrationV4(instance);
- } else {
+ } else if (Util.isClassAvailable("com.plotsquared.core.configuration.Caption")) {
plotSquared = new PlotSquaredIntegrationV5(instance);
+ } else {
+ plotSquared = new PlotSquaredIntegrationV6(instance);
}
}
}
diff --git a/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV6.java b/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV6.java
new file mode 100644
index 000000000..453c4b4dc
--- /dev/null
+++ b/src/main/java/org/maxgamer/quickshop/integration/plotsquared/PlotSquaredIntegrationV6.java
@@ -0,0 +1,176 @@
+package org.maxgamer.quickshop.integration.plotsquared;/*
+ * This file is a part of project QuickShop, the name is PlotSquaredIntegrationV5.java
+ * Copyright (C) PotatoCraft Studio and contributors
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ *
+ */
+
+import com.google.common.eventbus.Subscribe;
+import com.plotsquared.core.PlotSquared;
+import com.plotsquared.core.configuration.caption.Caption;
+import com.plotsquared.core.configuration.caption.TranslatableCaption;
+import com.plotsquared.core.events.PlotDeleteEvent;
+import com.plotsquared.core.plot.Plot;
+import com.plotsquared.core.plot.flag.GlobalFlagContainer;
+import com.plotsquared.core.plot.flag.types.BooleanFlag;
+import com.sk89q.worldedit.regions.CuboidRegion;
+import org.bukkit.ChatColor;
+import org.bukkit.Location;
+import org.bukkit.entity.Player;
+import org.jetbrains.annotations.NotNull;
+import org.maxgamer.quickshop.QuickShop;
+import org.maxgamer.quickshop.integration.IntegrateStage;
+import org.maxgamer.quickshop.integration.IntegrationStage;
+import org.maxgamer.quickshop.integration.QSIntegratedPlugin;
+import org.maxgamer.quickshop.shop.Shop;
+import org.maxgamer.quickshop.util.Util;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+
+@SuppressWarnings("DuplicatedCode")
+@IntegrationStage(loadStage = IntegrateStage.onEnableAfter)
+public class PlotSquaredIntegrationV6 extends QSIntegratedPlugin {
+ private final boolean whiteList;
+ private final boolean deleteUntrusted;
+ private QuickshopCreateFlag createFlag;
+ private QuickshopTradeFlag tradeFlag;
+
+ public PlotSquaredIntegrationV6(QuickShop plugin) {
+ super(plugin);
+ this.whiteList = plugin.getConfig().getBoolean("integration.plotsquared.whitelist-mode");
+ this.deleteUntrusted = plugin.getConfig().getBoolean("integration.plotsquared.delete-when-user-untrusted");
+
+ }
+
+ @Override
+ public @NotNull String getName() {
+ return "PlotSquared";
+ }
+
+ @Override
+ public boolean canCreateShopHere(@NotNull Player player, @NotNull Location location) {
+ com.plotsquared.core.location.Location pLocation = com.plotsquared.core.location.Location.at(
+ location.getWorld().getName(),
+ location.getBlockX(),
+ location.getBlockY(),
+ location.getBlockZ());
+ Plot plot = pLocation.getPlot();
+ if (plot == null) {
+ return !whiteList;
+ }
+ return plot.getFlag(createFlag);
+ }
+
+ @Override
+ public boolean canTradeShopHere(@NotNull Player player, @NotNull Location location) {
+ com.plotsquared.core.location.Location pLocation =
+ com.plotsquared.core.location.Location.at(
+ location.getWorld().getName(),
+ location.getBlockX(),
+ location.getBlockY(),
+ location.getBlockZ());
+ Plot plot = pLocation.getPlot();
+ if (plot == null) {
+ return !whiteList;
+ }
+ return plot.getFlag(tradeFlag);
+ }
+
+ @Override
+ public void load() {
+ this.createFlag = new QuickshopCreateFlag();
+ this.tradeFlag = new QuickshopTradeFlag();
+ GlobalFlagContainer.getInstance().addAll(Arrays.asList(createFlag, tradeFlag));
+ plugin.getLogger().info(ChatColor.GREEN + getName() + " flags register successfully.");
+ Util.debugLog("Success register " + getName() + " flags.");
+ PlotSquared.get().getEventDispatcher().registerListener(this);
+ }
+
+ @Override
+ public void unload() {
+ PlotSquared.get().getEventDispatcher().unregisterListener(this);
+ }
+
+ private List getShops(Plot plot) {
+ List shopsList = new ArrayList<>();
+ for (CuboidRegion region : plot.getRegions()) {
+ for (int x = region.getMinimumPoint().getX() >> 4;
+ x <= region.getMaximumPoint().getX() >> 4; x++) {
+ for (int z = region.getMinimumPoint().getZ() >> 4;
+ z <= region.getMaximumPoint().getZ() >> 4; z++) {
+ Map shops = plugin.getShopManager().getShops(plot.getWorldName(), x, z);
+ if (shops != null) {
+ shopsList.addAll(shops.values());
+ }
+ }
+ }
+ }
+ return shopsList;
+ }
+
+ @Subscribe
+ public void onPlotDelete(PlotDeleteEvent event) {
+ getShops(event.getPlot()).forEach(Shop::delete);
+ }
+
+ @Subscribe
+ public void onPlotPlayerUntrusted(com.plotsquared.core.events.PlayerPlotTrustedEvent event) {
+ if (!deleteUntrusted) {
+ return;
+ }
+ if (event.wasAdded()) {
+ return; // We only check untrusted
+ }
+ getShops(event.getPlot()).stream().filter(shop -> shop.getOwner().equals(event.getPlayer())).forEach(Shop::delete);
+ }
+
+
+ static class QuickshopCreateFlag extends BooleanFlag {
+
+ protected QuickshopCreateFlag(boolean value, Caption description) {
+ super(value, description);
+ }
+
+ public QuickshopCreateFlag() {
+ super(true, TranslatableCaption.of("quickshop-create"));
+ }
+
+ @Override
+ protected QuickshopCreateFlag flagOf(@NotNull Boolean aBoolean) {
+ return new QuickshopCreateFlag(aBoolean, TranslatableCaption.of("quickshop-create"));
+ }
+ }
+
+ static class QuickshopTradeFlag extends BooleanFlag {
+
+ protected QuickshopTradeFlag(boolean value, Caption description) {
+ super(value, description);
+ }
+
+ public QuickshopTradeFlag() {
+ super(true, TranslatableCaption.of("quickshop-trade"));
+ }
+
+ @Override
+ protected QuickshopTradeFlag flagOf(@NotNull Boolean aBoolean) {
+ return new QuickshopTradeFlag(aBoolean, TranslatableCaption.of("quickshop-trade"));
+ }
+ }
+
+}
+
diff --git a/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java b/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java
index 32ee8ab8f..04dff3d19 100644
--- a/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java
+++ b/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java
@@ -84,28 +84,20 @@ public class ShopLoader {
*/
public void loadShops(@Nullable String worldName) {
//boolean backupedDatabaseInDeleteProcess = false;
- Timer totalLoadTimer = new Timer(true);
this.plugin.getLogger().info("Loading shops from the database...");
- Timer fetchTimer = new Timer(true);
int loadAfterChunkLoaded = 0;
int loadAfterWorldLoaded = 0;
try (WarpedResultSet warpRS = plugin.getDatabaseHelper().selectAllShops(); ResultSet rs = warpRS.getResultSet()) {
- this.plugin
- .getLogger()
- .info("Used " + fetchTimer.stopAndGetTimePassed() + "ms to fetch all shops from the database.");
while (rs.next()) {
- Timer singleShopLoadTimer = new Timer(true);
ShopRawDatabaseInfo origin = new ShopRawDatabaseInfo(rs);
shopRawDatabaseInfoList.add(origin);
if (worldName != null && !origin.getWorld().equals(worldName)) {
- singleShopLoaded(singleShopLoadTimer);
continue;
}
ShopDatabaseInfo data = new ShopDatabaseInfo(origin);
//World unloaded and not found
if (data.getWorld() == null) {
++loadAfterWorldLoaded;
- singleShopLoaded(singleShopLoadTimer);
continue;
}
Shop shop =
@@ -121,7 +113,6 @@ public class ShopLoader {
shop.setDirty();
}
shopsInDatabase.add(shop);
- this.calcTimeCost(singleShopLoadTimer);
if (shopNullCheck(shop)) {
if (plugin.getConfig().getBoolean("debug.delete-corrupt-shops", false)) {
plugin.getLogger().warning("Deleting shop " + shop + " caused by corrupted.");
@@ -130,13 +121,11 @@ public class ShopLoader {
Util.debugLog("Trouble database loading debug: " + data);
Util.debugLog("Somethings gone wrong, skipping the loading...");
}
- singleShopLoaded(singleShopLoadTimer);
continue;
}
//World unloaded but found
if (!Util.isWorldLoaded(shop.getLocation())) {
++loadAfterWorldLoaded;
- singleShopLoaded(singleShopLoadTimer);
continue;
}
// Load to RAM
@@ -149,7 +138,6 @@ public class ShopLoader {
plugin.getShopManager().removeShop(shop); // Remove from Mem
//TODO: Only remove from memory, so if it actually is a bug, user won't lost all shops.
//TODO: Old shop will be deleted when in same location creating new shop.
- singleShopLoaded(singleShopLoadTimer);
continue;
}
shop.onLoad();
@@ -157,20 +145,13 @@ public class ShopLoader {
} else {
loadAfterChunkLoaded++;
}
- singleShopLoaded(singleShopLoadTimer);
}
- long totalUsedTime = totalLoadTimer.stopAndGetTimePassed();
- long avgPerShop = mean(loadTimes.toArray(new Long[0]));
this.plugin
.getLogger()
.info(
"Successfully loaded "
+ totalLoaded
- + " shops! (Used "
- + totalUsedTime
- + "ms, Avg "
- + avgPerShop
- + "ms per shop)");
+ + " shops!");
this.plugin.getLogger().info(loadAfterChunkLoaded
+ " shops will load after chunk have loaded, "
+ loadAfterWorldLoaded
diff --git a/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java b/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java
index e92c6373c..9220706b3 100644
--- a/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java
+++ b/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java
@@ -234,7 +234,6 @@ public class VirtualDisplayItem extends DisplayItem {
asyncPacketSenderTask.start(plugin);
if (packetAdapter == null) {
-
packetAdapter = new PacketAdapter(plugin, ListenerPriority.HIGH, PacketType.Play.Server.MAP_CHUNK) {
@Override
public void onPacketSending(@NotNull PacketEvent event) {
@@ -252,6 +251,7 @@ public class VirtualDisplayItem extends DisplayItem {
if (player == null || !player.isOnline()) {
return;
}
+
StructureModifier integerStructureModifier = event.getPacket().getIntegers();
//chunk x
int x = integerStructureModifier.read(0);
diff --git a/src/main/java/org/maxgamer/quickshop/util/Timer.java b/src/main/java/org/maxgamer/quickshop/util/Timer.java
index 297a35efd..a412a8531 100644
--- a/src/main/java/org/maxgamer/quickshop/util/Timer.java
+++ b/src/main/java/org/maxgamer/quickshop/util/Timer.java
@@ -32,6 +32,7 @@ import lombok.ToString;
@ToString
public class Timer {
private long startTime;
+ @EqualsAndHashCode.Exclude
private long passedTime;
private boolean isPaused = false;
diff --git a/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java b/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java
index ed1950094..e51934c4b 100644
--- a/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java
+++ b/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java
@@ -402,4 +402,13 @@ public final class EnvironmentChecker {
}
return new ResultContainer(CheckResult.PASSED, "Passed checks");
}
+
+
+ @EnvCheckEntry(name = "Permission Manager Test", priority = 10, stage = EnvCheckEntry.Stage.ON_ENABLE)
+ public ResultContainer permManagerConflictTest() {
+ if (plugin.getServer().getPluginManager().isPluginEnabled("GroupManager")) {
+ return new ResultContainer(CheckResult.WARNING, "WARNING: Unsupported plugin management plugin [GroupManager] installed, the permissions may not working.");
+ }
+ return new ResultContainer(CheckResult.PASSED, "Passed checks");
+ }
}
diff --git a/src/main/java/org/maxgamer/quickshop/util/updater/QuickUpdater.java b/src/main/java/org/maxgamer/quickshop/util/updater/QuickUpdater.java
index faffe5891..4b7b6025f 100644
--- a/src/main/java/org/maxgamer/quickshop/util/updater/QuickUpdater.java
+++ b/src/main/java/org/maxgamer/quickshop/util/updater/QuickUpdater.java
@@ -20,7 +20,9 @@
package org.maxgamer.quickshop.util.updater;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
+import java.io.File;
import java.io.IOException;
public interface QuickUpdater {
@@ -70,4 +72,11 @@ public interface QuickUpdater {
* @throws IOException IOException will throws if copying failed
*/
void install(byte[] bytes) throws IOException;
+
+ /**
+ * Return the updated jar
+ *
+ * @return null if not updated, or updated file
+ */
+ @Nullable File getUpdatedJar();
}
diff --git a/src/main/java/org/maxgamer/quickshop/util/updater/impl/JenkinsUpdater.java b/src/main/java/org/maxgamer/quickshop/util/updater/impl/JenkinsUpdater.java
index 5e560b643..724958dc9 100644
--- a/src/main/java/org/maxgamer/quickshop/util/updater/impl/JenkinsUpdater.java
+++ b/src/main/java/org/maxgamer/quickshop/util/updater/impl/JenkinsUpdater.java
@@ -24,6 +24,7 @@ import org.bukkit.ChatColor;
import org.bukkit.plugin.InvalidDescriptionException;
import org.bukkit.plugin.PluginDescriptionFile;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
import org.maxgamer.quickshop.BuildInfo;
import org.maxgamer.quickshop.QuickShop;
import org.maxgamer.quickshop.nonquickshopstuff.com.sk89q.worldedit.util.net.HttpRequest;
@@ -40,6 +41,7 @@ public class JenkinsUpdater implements QuickUpdater {
private final BuildInfo pluginBuildInfo;
private final String jobUrl;
private BuildInfo lastRemoteBuildInfo;
+ private File updatedJar;
public JenkinsUpdater(BuildInfo pluginBuildInfo) {
this.pluginBuildInfo = pluginBuildInfo;
@@ -147,15 +149,22 @@ public class JenkinsUpdater implements QuickUpdater {
try (OutputStream outputStream = new FileOutputStream(pluginJar, false)) {
outputStream.write(bytes);
outputStream.flush();
+ updatedJar = pluginJar;
}
} else {
try (OutputStream outputStream = new FileOutputStream(newJar, false)) {
outputStream.write(bytes);
outputStream.flush();
+ updatedJar = newJar;
}
}
} catch (InvalidDescriptionException ignored) {
}
}
}
+
+ @Override
+ public @Nullable File getUpdatedJar() {
+ return updatedJar;
+ }
}
diff --git a/src/main/resources/lang/af-ZA/messages.json b/src/main/resources/lang/af-ZA/messages.json
index 23a6714af..9a3ea4ab5 100644
--- a/src/main/resources/lang/af-ZA/messages.json
+++ b/src/main/resources/lang/af-ZA/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Support Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (en_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.",
"no-anythings-in-your-hand": "&cThere is nothing in your hand.",
"no-permission": "&cYou do not have permission to do that.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/ar-SA/messages.json b/src/main/resources/lang/ar-SA/messages.json
index 6f27a91b6..4a159d6c3 100644
--- a/src/main/resources/lang/ar-SA/messages.json
+++ b/src/main/resources/lang/ar-SA/messages.json
@@ -5,7 +5,7 @@
"translation-version": "إصدار الدعم: إعادة التشكيل",
"translation-contributors": "المساهمون: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken و Andre_601",
"translation-country": "منطقة اللغة: العربية (ar_AR)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cلا يمكن العثور على QuickShop. تحتاج إلى النظر إلى واحد.",
"no-anythings-in-your-hand": "&cلا يوجد شيء في يديك.",
"no-permission": "لا تملك الصلاحيّات للقيام بذلك.",
@@ -34,7 +34,7 @@
"negative-amount": "&cلا يمكنك المتاجرة بمبالغ سلبية",
"not-a-number": "&cيمكنك فقط إدخال رقم، ما ادخلت هو {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cيجب عليك إدخال رقم، لقد ادخلت {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} اشترى {1} {2} من متجرك، وكسبت {3}.",
"shop-out-of-stock": "&5 متجرك في {0}، {1}، {2} نفد من {3}!",
"shop-has-no-space": "&cالمتجر يحتوي فقط على مكان ل {0} أكثر {1}.",
diff --git a/src/main/resources/lang/ca-ES/messages.json b/src/main/resources/lang/ca-ES/messages.json
index a34f8892f..d1f6533ea 100644
--- a/src/main/resources/lang/ca-ES/messages.json
+++ b/src/main/resources/lang/ca-ES/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Versiò suportada: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Zona de l'idioma: Català (ca_ES)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "No s'ha trobat cap QuickShop. Has de mirar a una.",
"no-anythings-in-your-hand": "Ni hi ha res a la teva mà.",
"no-permission": "No tens permisos per a fer això.",
@@ -34,7 +34,7 @@
"negative-amount": "&cNo s'admeten valors negatius.",
"not-a-number": "&cNomés pots introduir un número, has introduït {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cHas d'introduir un número, has introduït {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5La teva botiga a {0}, {1}, {2} s'ha quedat sense {3}!",
"shop-has-no-space": "&cLa botiga només té capacitat per {0} més {1}.",
diff --git a/src/main/resources/lang/cs-CZ/messages.json b/src/main/resources/lang/cs-CZ/messages.json
index 36e7850c7..84205c112 100644
--- a/src/main/resources/lang/cs-CZ/messages.json
+++ b/src/main/resources/lang/cs-CZ/messages.json
@@ -4,8 +4,8 @@
"translation-author": "Translator: Ghost_chu, Andre_601, LixCisCZ",
"translation-version": "Verze: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
- "translation-country": "Language Zone: Czech (cs_CZ)",
- "language-version": "57",
+ "translation-country": "Jazyková Zóna: Czech (cs_CZ)",
+ "language-version": "58",
"not-looking-at-shop": "&cNelze najít QuickShop. Musíš se na něj podívat.",
"no-anythings-in-your-hand": "&cNemáš v ruce žádný předmět.",
"no-permission": "&cNa tuto akci nemáš práva.",
@@ -34,7 +34,7 @@
"negative-amount": "&cDerp, nemůžeš obchodovat se zápornými částkami",
"not-a-number": "&cMůžete zadat pouze číslo, váš vstup byl {0}.",
"exceeded-maximum": "&cHodnota překročila maximální hodnotu v Javě.",
- "not-a-integer": "&cMůžete zadat pouze číslo, váš vstup byl {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} zakoupen {1} {2} z tvého obchodu a ty jsi zaplatil {3} na daních.",
"shop-out-of-stock": "&5Váš obchod v {0}, {1}, {2}, vyčerpal {3}!",
"shop-has-no-space": "&cObchod má pouze místo pro {0} více {1}.",
@@ -320,7 +320,7 @@
"shop-creation-failed": "&cVytvoření ochodu se nezdařilo, kontaktujte prosím správce serveru.",
"shop-owner-self-trade": "&eObchodujete se svým obchodem, takže nebudete moci získat žádné peníze.",
"chest-title": "Obchod QuickShop",
- "command-type-mismatch": "&cThis command only can executed by &b{0}.",
+ "command-type-mismatch": "&cTento příkaz může být spuštěn pouze v &b{0}.",
"unlimited-shop-owner-changed": "&eThis unlimited shop owner has been changed to {0}.",
"unlimited-shop-owner-keeped": "&eAttention: The shop owner still is unlimited shop owner, you need re-set new shop owner by yourself.",
"server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
diff --git a/src/main/resources/lang/da-DK/messages.json b/src/main/resources/lang/da-DK/messages.json
index e89460a2f..1b1d0c754 100644
--- a/src/main/resources/lang/da-DK/messages.json
+++ b/src/main/resources/lang/da-DK/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Supportversion: Reremake",
"translation-contributors": "Bidragydere: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken og Andre_601",
"translation-country": "Sprogzone: dansk (da_DA)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cKunne ikke finde en QuickShop. Du skal kigge på en.",
"no-anythings-in-your-hand": "&cDer er intet i din hånd.",
"no-permission": "&cDu har ikke rettighederne til at gøre dette.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/de-DE/messages.json b/src/main/resources/lang/de-DE/messages.json
index 62e1c6894..9698e6092 100644
--- a/src/main/resources/lang/de-DE/messages.json
+++ b/src/main/resources/lang/de-DE/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Unterstütze Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Sprache: Deutsch (de_DE)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cKonnte keinen QuickShop finden. Du musst auf einen schauen.",
"no-anythings-in-your-hand": "&cThere is nothing in your hand.",
"no-permission": "&cYou do not have permission to do that.",
@@ -323,5 +323,5 @@
"command-type-mismatch": "&cDieser Befehl kann nur von &b{0}&c ausgeführt werden.",
"unlimited-shop-owner-changed": "&eDer Besitzer des unbegrenzten Shops wurde zu {0} geändert.",
"unlimited-shop-owner-keeped": "&eAchtung: Der Shopeigentümer ist nach wie vor unlimitiert. Du musst den Besitzer manuell neu setzten.",
- "server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
+ "server-crash-warning": "&cServer kann nach Ausführung des /qs Reload-Befehls abstürzen, wenn Sie während des Laufens des Servers QuickShop-Plugin-Jar-Datei ersetzen/löschen."
}
diff --git a/src/main/resources/lang/el-GR/messages.json b/src/main/resources/lang/el-GR/messages.json
index 23a6714af..9a3ea4ab5 100644
--- a/src/main/resources/lang/el-GR/messages.json
+++ b/src/main/resources/lang/el-GR/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Support Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (en_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.",
"no-anythings-in-your-hand": "&cThere is nothing in your hand.",
"no-permission": "&cYou do not have permission to do that.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/en-US/messages.json b/src/main/resources/lang/en-US/messages.json
index 9137d4ce8..6dea2a985 100644
--- a/src/main/resources/lang/en-US/messages.json
+++ b/src/main/resources/lang/en-US/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Support Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (en_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.",
"no-anythings-in-your-hand": "&cThere is nothing in your hand.",
"no-permission": "&cYou do not have permission to do that.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/es-ES/messages.json b/src/main/resources/lang/es-ES/messages.json
index be2999d31..94f073f1b 100644
--- a/src/main/resources/lang/es-ES/messages.json
+++ b/src/main/resources/lang/es-ES/messages.json
@@ -5,7 +5,7 @@
"translation-version": "&c&lVersión soportada: &b&lReremake",
"translation-contributors": "Contribuidores: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken y Andre_601",
"translation-country": "&c&lZona de idioma: &b&lEspañol (es_ES)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cNo se pudo encontrar ninguna QuickShop. Tienes que mirar hacia una.",
"no-anythings-in-your-hand": "&cNo hay nada en tu mano.",
"no-permission": "&cNo tienes permiso para hacer eso.",
@@ -34,7 +34,7 @@
"negative-amount": "&cNo puedes comerciar con valores negativos",
"not-a-number": "&cSolo puedes introducir un número, tu entrada era {0}.",
"exceeded-maximum": "&cEl valor excedió el valor máximo en Java.",
- "not-a-integer": "&cSolo puedes introducir un número, tu entrada era {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} ha comprado {1} {2} en tu tienda, y has pagado {3} en impuestos.",
"shop-out-of-stock": "&5Tu tienda en {0}, {1}, {2} se ha quedado sin {3}!",
"shop-has-no-space": "&cLa tienda sólo tiene espacio para {0} más {1}.",
diff --git a/src/main/resources/lang/fi-FI/messages.json b/src/main/resources/lang/fi-FI/messages.json
index fe0c9f99b..7af1fff8b 100644
--- a/src/main/resources/lang/fi-FI/messages.json
+++ b/src/main/resources/lang/fi-FI/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Tuettu versio: Reremake",
"translation-contributors": "Avustajat: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Kielialue: Suomi (fi_FI)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cQuickShoppia ei löytynyt. Sinun täytyy katsoa yhtä.",
"no-anythings-in-your-hand": "&cKädessäsi ei ole mitään.",
"no-permission": "&cSinulla ei ole oikeutta tehdä noin.",
@@ -34,7 +34,7 @@
"negative-amount": "&cEt voi vaihtaa negatiivisia määriä",
"not-a-number": "&cVoit ainoastaan antaa numeroita, kirjoitit {0}.",
"exceeded-maximum": "&cArvo ylitti Javan enimmäisarvon.",
- "not-a-integer": "&cVoit ainoastaan antaa numeroita, kirjoitit {0}.",
+ "not-a-integer": "&cVoit ainoastaan antaa kokonaislukuja, kirjoitit {0}.",
"player-bought-from-your-store": "&c{0} osti {1} {2} kaupastasi ja sait siitä {3}.",
"shop-out-of-stock": "&5Kaupastasi koordinaateissa {0}, {1}, {2} on loppunut {3}!",
"shop-has-no-space": "&cKaupassa on {1} paikkaa tuotteelle {0}.",
@@ -199,7 +199,7 @@
"setowner": "&aOmistaja: &b{0} &e[&d&lVaihda&e]",
"infomation": "&aKaupan asetukset:",
"setowner-hover": "&eKlikkaa vaihtaaksesi omistaja.",
- "unlimited": "&aLoputon: {0} &e[&d&lMuuta&e]",
+ "unlimited": "&aRajaton: {0} &e[&d&lMuuta&e]",
"unlimited-hover": "&eKlikkaa vaihtaaksesi kaupan rajattomuutta.",
"mode-selling": "&aKaupan tila: &bMyydään &e[&d&lMuuta&e]",
"mode-selling-hover": "&ePaina asettaaksesi kauppa osto-tilaan.",
@@ -320,8 +320,8 @@
"shop-creation-failed": "&cKaupan luonti epäonnistui, ota yhteyttä palvelimen järjestelmänvalvojaan.",
"shop-owner-self-trade": "&eKäyt kauppaa omassa kaupassa, joten et saa lisää rahaa.",
"chest-title": "QuickShop Kauppa",
- "command-type-mismatch": "&cThis command only can executed by &b{0}.",
- "unlimited-shop-owner-changed": "&eThis unlimited shop owner has been changed to {0}.",
- "unlimited-shop-owner-keeped": "&eAttention: The shop owner still is unlimited shop owner, you need re-set new shop owner by yourself.",
- "server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
+ "command-type-mismatch": "&cTämän komennon voi suorittaa vain &b{0}.",
+ "unlimited-shop-owner-changed": "&eTämä rajoittamaton kaupan omistaja on muutettu {0}.",
+ "unlimited-shop-owner-keeped": "&eHuomio: Kaupan omistajalla on edelleen rajaton kauppa, sinun täytyy asettaa kaupan uusi omistaja itse.",
+ "server-crash-warning": "&cPalvelin voi kaatua /qs reload komennon jälkeen jos vaihdat tai poistat QuickShopin Jar tiedoston kun palvelin on päällä."
}
diff --git a/src/main/resources/lang/fr-FR/messages.json b/src/main/resources/lang/fr-FR/messages.json
index 0bf12a9a4..02327588c 100644
--- a/src/main/resources/lang/fr-FR/messages.json
+++ b/src/main/resources/lang/fr-FR/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Version suportée: Reremake",
"translation-contributors": "Contributeurs : Timtower, Netherfoam, KaiNoMood, Mgazul, JackThePicken, Andre_601 et brunopaiva15, HiiRaZ",
"translation-country": "Langue: Français (fr_FR)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cImpossible de trouver un QuickShop. Vous devez en regarder un.",
"no-anythings-in-your-hand": "&cVous n'avez aucun objet dans votre main.",
"no-permission": "&cVous n'avez pas la permission de faire ceci.",
@@ -34,7 +34,7 @@
"negative-amount": "&cVous ne pouvez pas échanger une quantité négative",
"not-a-number": "&cVous ne pouvez saisir qu'un nombre, votre entrée était {0}.",
"exceeded-maximum": "&cLa valeur maximal à ne pas dépasser en Java.",
- "not-a-integer": "&cVous ne pouvez saisir qu'un nombre, votre entrée était {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} a acheté {1} {2} dans ta boutique, et tu as reçu ou payé {3} ( de taxes.",
"shop-out-of-stock": "&5Votre boutique aux coordonnées {0}, {1}, {2}, est à court de {3}!",
"shop-has-no-space": "&cCette boutique n'a de la place que pour {0} de plus {1}.",
diff --git a/src/main/resources/lang/he-IL/messages.json b/src/main/resources/lang/he-IL/messages.json
index 23a6714af..9a3ea4ab5 100644
--- a/src/main/resources/lang/he-IL/messages.json
+++ b/src/main/resources/lang/he-IL/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Support Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (en_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.",
"no-anythings-in-your-hand": "&cThere is nothing in your hand.",
"no-permission": "&cYou do not have permission to do that.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/hu-HU/messages.json b/src/main/resources/lang/hu-HU/messages.json
index ef7a41540..3e5267494 100644
--- a/src/main/resources/lang/hu-HU/messages.json
+++ b/src/main/resources/lang/hu-HU/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Támogatott Verzió: Reremake",
"translation-contributors": "Közreműködők: Timtower, Netherfoam, KaiNoMood and Mgazul",
"translation-country": "Nyelv Zóna: Magyar (hu_HU)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cEz nem egy bolt amire nézel.",
"no-anythings-in-your-hand": "&cNincs semmi a kezedben.",
"no-permission": "&cNincs jogod ehhez!",
@@ -34,7 +34,7 @@
"negative-amount": "&cNem tudsz negatív mennyiséget megadni.",
"not-a-number": "&cEnnek egy számnak kell lennie! &7&o({0})",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cEz csak egy szám lehet! &7&o({0})",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5&l!!! &dA boldot itt: &f{0}&d, &f{1}&d, &f{2}&d, kifogyott ebből: &f{3}",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/it-IT/messages.json b/src/main/resources/lang/it-IT/messages.json
index 1b193532c..3b1dc56da 100644
--- a/src/main/resources/lang/it-IT/messages.json
+++ b/src/main/resources/lang/it-IT/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Versione di Supporto: Reremake",
"translation-contributors": "Collaboratori: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (it_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cImpossibile trovare un negozio. È necessario guardarne uno.",
"no-anythings-in-your-hand": "&cNon hai nulla in mano.",
"no-permission": "&cNon hai il permesso per farlo.",
@@ -34,7 +34,7 @@
"negative-amount": "&cNon puoi scambiare importi negativi",
"not-a-number": "&cPuoi inserire solo un numero, il tuo input era {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cDevi inserire un numero, il tuo input era {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} ha acquistato {1} {2} dal tuo negozio, e hai guadagnato {3}.",
"shop-out-of-stock": "&5Il tuo negozio in {0}, {1}, {2} è esaurito {3}!",
"shop-has-no-space": "&cIl negozio ha spazio solo per {0} in più {1}.",
diff --git a/src/main/resources/lang/ja-JP/messages.json b/src/main/resources/lang/ja-JP/messages.json
index 18d09f69c..18f211059 100644
--- a/src/main/resources/lang/ja-JP/messages.json
+++ b/src/main/resources/lang/ja-JP/messages.json
@@ -5,7 +5,7 @@
"translation-version": "&c&lサポートバージョン: &b&lReremake",
"translation-contributors": "貢献者: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken, Andre_601 and Namiu",
"translation-country": "&c&l言語圏: &b&l日本語 (ja_JP)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cQuickShopが見つかりませんでした。確認する必要があります。",
"no-anythings-in-your-hand": "&cあなたは手に何も持っていません。",
"no-permission": "&cあなたは権限を持っていないため実行できません。",
@@ -34,7 +34,7 @@
"negative-amount": "&cマイナス量を取引できません",
"not-a-number": "&c数字しか入力出来ません。あなたの入力は {0} でした。",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&c数字しか入力出来ません。あなたの入力は {0} でした。",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} が {1} 個の {2} をあなたのショップから購入したので {3} を獲得しました。",
"shop-out-of-stock": "&5{0}、{1}、{2} のショップで {3} の在庫がなくなりました!",
"shop-has-no-space": "&cショップには {0} 個以上 {1} 個分のスペースしかありません",
diff --git a/src/main/resources/lang/ko-KR/messages.json b/src/main/resources/lang/ko-KR/messages.json
index b7d86b483..09a4f866f 100644
--- a/src/main/resources/lang/ko-KR/messages.json
+++ b/src/main/resources/lang/ko-KR/messages.json
@@ -5,7 +5,7 @@
"translation-version": "지원 버전: Reremake",
"translation-contributors": "기여자: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "언어 지역: 한국어 (Ko)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&c퀵샵을 찾을수 없습니다. 상점을 보고있어야만합니다!",
"no-anythings-in-your-hand": "&c당신의 손에 아무것도 없습니다.",
"no-permission": "&c당신에게는 이것을 사용할 권한이 없습니다.",
@@ -323,5 +323,5 @@
"command-type-mismatch": "&c이 명령어는 &b{0}&c에서만 사용할 수 있습니다.",
"unlimited-shop-owner-changed": "&e무제한 상점의 주인이 {0}으로 변경되었습니다.",
"unlimited-shop-owner-keeped": "&e주의: 상점 주인은 여전히 무제한 상점의 주인입니다, 상점을 소유하려면 상점을 초기화해야합니다.",
- "server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
+ "server-crash-warning": "&cQuickShop 플러그인의 자바파일을 지운/이동후 /qs reload를 사용하면 서버가 크래쉬 될수 있습니다"
}
diff --git a/src/main/resources/lang/nl-NL/messages.json b/src/main/resources/lang/nl-NL/messages.json
index 55e48ff10..127d305e3 100644
--- a/src/main/resources/lang/nl-NL/messages.json
+++ b/src/main/resources/lang/nl-NL/messages.json
@@ -5,7 +5,7 @@
"translation-version": "ondersteunende versie: Reremake",
"translation-contributors": "Medewerkers",
"translation-country": "Taal Zone: Engels (nl_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cGeen QuickShop gevonden, je moet naar een QuickShop kijken.",
"no-anythings-in-your-hand": "&cJe hebt niks in je hand.",
"no-permission": "&cJe hebt hiervoor geen rechten.",
@@ -34,7 +34,7 @@
"negative-amount": "&cU kan geen negatieve bedragen verhandelen",
"not-a-number": "&cU kunt alleen een nummer invoeren, uw invoer was {0}.",
"exceeded-maximum": "&cDe waarde overschrijdt de maximale waarde in Java.",
- "not-a-integer": "&cU moet een nummer invoeren, uw invoer was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} heeft {1} {2} gekocht van uw winkel, en u heeft {3} verdiend.",
"shop-out-of-stock": "&5Uw winkel op {0}, {1}, {2} heeft geen {3} meer!",
"shop-has-no-space": "&cDe winkel heeft alleen ruimte voor {0} {1} meer.",
diff --git a/src/main/resources/lang/no-NO/messages.json b/src/main/resources/lang/no-NO/messages.json
index 32f908580..a27d2b245 100644
--- a/src/main/resources/lang/no-NO/messages.json
+++ b/src/main/resources/lang/no-NO/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Støttet versjon: Reremake",
"translation-contributors": "Bidragsytere: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Språksone: Norsk (no_NO)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cKunne ikke finne en QuickShop. Du må se på en butikk.",
"no-anythings-in-your-hand": "&cDet er ingenting i hånden din.",
"no-permission": "&cDu har ikke tillatelse til å gjøre det.",
@@ -323,5 +323,5 @@
"command-type-mismatch": "&cDenne kommandoen kan bare utføres av &b{0}.",
"unlimited-shop-owner-changed": "&eEieren til denne ubegrensede butikken har blitt endret til {0}.",
"unlimited-shop-owner-keeped": "&eOBS: Butikkeieren er fortsatt ubegrenset butikkeier, du trenger å sette ny butikkeier manuelt.",
- "server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
+ "server-crash-warning": "&cServeren kan krasje etter å ha utført kommando /qs reload hvis du erstatter/sletter QuickShop plugin Jar filen mens serveren kjører."
}
diff --git a/src/main/resources/lang/pl-PL/messages.json b/src/main/resources/lang/pl-PL/messages.json
index d4d8da87b..3022d3397 100644
--- a/src/main/resources/lang/pl-PL/messages.json
+++ b/src/main/resources/lang/pl-PL/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Wspierana wersja: Reremake",
"translation-contributors": "Współtwórcy: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken i Andre_601",
"translation-country": "Język: Polski (pl_PL)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cNie można znaleźć QuickShop. Musisz na niego patrzeć.",
"no-anythings-in-your-hand": "&cW twojej ręce nic nie ma.",
"no-permission": "&cNie masz uprawnień, aby to zrobić.",
@@ -34,7 +34,7 @@
"negative-amount": "&cNie możesz handlować ujemnymi kwotami",
"not-a-number": "Możesz wpisać tylko liczbę, ty wpisałeś {0}.",
"exceeded-maximum": "&cWartość przekroczyła maksymalną wartość w Java.",
- "not-a-integer": "Musisz wprowadzić liczbę, ty wpisałeś {0}.",
+ "not-a-integer": "&cMusisz wprowadzić całkowitą liczbę, ty wpisałeś {0}.",
"player-bought-from-your-store": "&c{0} zakupił {1} {2} w Twoim sklepie, i zarobiłeś {3}.",
"shop-out-of-stock": "&5W twoim sklepie na {0}, {1}, {2}, zabrakło {3}!",
"shop-has-no-space": "&cSklep ma miejsce tylko na {0} więcej {1}.",
diff --git a/src/main/resources/lang/pt-BR/messages.json b/src/main/resources/lang/pt-BR/messages.json
index 59f929822..168774937 100644
--- a/src/main/resources/lang/pt-BR/messages.json
+++ b/src/main/resources/lang/pt-BR/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Versão de suporte: Remake",
"translation-contributors": "Contribuidores: Torre de Timor, Netherfoam, KaiNoMood, Mgazul, JackTheChicken e Andre_601",
"translation-country": "Zona do idioma: Português Brasileiro (pt_BR)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "Não conseguimos encontrar uma QuickShop. Você precisa estar olhando para uma.",
"no-anythings-in-your-hand": "&cNão há nada na sua mão.",
"no-permission": "&cVocê não tem permissão para fazer isso.",
@@ -34,7 +34,7 @@
"negative-amount": "&cVocê não pode trocar com valores negativos",
"not-a-number": "&cVocê só pode inserir um número, sua entrada foi {0}.",
"exceeded-maximum": "&cO valor excedeu o valor máximo em Java.",
- "not-a-integer": "&cVocê deve inserir um número, sua entrada foi {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} comprou {1} {2} da sua loja e você pagou {3} em impostos.",
"shop-out-of-stock": "&5Sua loja em {0}, {1}, {2} ficou sem {3}!",
"shop-has-no-space": "&cA loja só tem espaço para mais {0} de {1}.",
diff --git a/src/main/resources/lang/pt-PT/messages.json b/src/main/resources/lang/pt-PT/messages.json
index 739d72f91..12df320ba 100644
--- a/src/main/resources/lang/pt-PT/messages.json
+++ b/src/main/resources/lang/pt-PT/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Support Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (en_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.",
"no-anythings-in-your-hand": "&Não tens nada na mão.",
"no-permission": "&cNão tens permissão para fazer isso.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/ro-RO/messages.json b/src/main/resources/lang/ro-RO/messages.json
index b37afa469..dcd05eb6c 100644
--- a/src/main/resources/lang/ro-RO/messages.json
+++ b/src/main/resources/lang/ro-RO/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Versiune suport: Reproducere",
"translation-contributors": "Contribuitori: Turnul, Netherfoam, KaiNoMood, Mgazul, JackTheChicken și Andre_601",
"translation-country": "Zona de Limbă: Engleză (ro_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cNu am putut gasi un magazin. Trebuie sa te uiti la unul.",
"no-anythings-in-your-hand": "&cNu este nimic in mana.",
"no-permission": "&cNu ai permisiunea să faci asta.\".",
@@ -34,7 +34,7 @@
"negative-amount": "&cNu poti tranzacționa sume negative",
"not-a-number": "&cPoti sa introduci doar un numar, intrarea ta a fost {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cTrebuie sa introduci un numar, intrarea ta a fost de {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Magazinul tau la {0}, {1}, {2} a expirat din {3}!",
"shop-has-no-space": "&cMagazinul are loc doar pentru {0} inca {1}.",
diff --git a/src/main/resources/lang/ru-RU/messages.json b/src/main/resources/lang/ru-RU/messages.json
index 2f554787b..cf276516b 100644
--- a/src/main/resources/lang/ru-RU/messages.json
+++ b/src/main/resources/lang/ru-RU/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Поддерживаемая версия: Reremake",
"translation-contributors": "Участники: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken и Andre_601",
"translation-country": "Языковой регион: Русский (ru_RU)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cНе удалось найти игрока, который использует магазина. Возможно игрок не зарегистрирован.",
"no-anythings-in-your-hand": "&cУ вас нет товаров в руках.",
"no-permission": "У вас недостаточно прав.",
@@ -34,7 +34,7 @@
"negative-amount": "&cВы не можете торговать отрицательной суммой",
"not-a-number": "&cМожно ввести только число, введенное вами было {0}.",
"exceeded-maximum": "&cЗначение превысило максимальное значение в Java.",
- "not-a-integer": "&cВы должны ввести целое число. Вы написали {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} купил {1}x {2} в вашем магазине, и вы зарабатывали {3}.",
"shop-out-of-stock": "&5Ваш магазин в {0}, {1}, {2} закончился {3}!",
"shop-has-no-space": "&cМагазин может вместить ещё {0} {1}.",
diff --git a/src/main/resources/lang/sr-SP/messages.json b/src/main/resources/lang/sr-SP/messages.json
index 23a6714af..9a3ea4ab5 100644
--- a/src/main/resources/lang/sr-SP/messages.json
+++ b/src/main/resources/lang/sr-SP/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Support Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (en_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.",
"no-anythings-in-your-hand": "&cThere is nothing in your hand.",
"no-permission": "&cYou do not have permission to do that.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/sv-SE/messages.json b/src/main/resources/lang/sv-SE/messages.json
index 75a3c40e4..5e8d73780 100644
--- a/src/main/resources/lang/sv-SE/messages.json
+++ b/src/main/resources/lang/sv-SE/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Supportversion: Reremake",
"translation-contributors": "Medhjälpare: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken och Andre_601",
"translation-country": "Språkområde: Svenska (sv_SE)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cKunde inte hitta en QuickShop. Du måste titta på en.",
"no-anythings-in-your-hand": "&cDet finns inget i din hand.",
"no-permission": "&cDu har inte tillåtelse till att göra detta.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou kan inte handla med negativa belopp",
"not-a-number": "&cDu kan bara ange ett nummer, din inmatning var {0}.",
"exceeded-maximum": "&cVärdet överskred det maximala värdet i Java.",
- "not-a-integer": "&cDu kan ange ett nummer, din inmatning var {0}.",
+ "not-a-integer": "&cDu måste ange en siffra, din inmatning var {0}.",
"player-bought-from-your-store": "&c{0} köpte {1} {2} från din butik, och du tjänade {3}.",
"shop-out-of-stock": "&5Din butik vid {0}, {1}, {2} har fått slut på {3}!",
"shop-has-no-space": "&cButiken har endast plats för {0} fler {1}.",
diff --git a/src/main/resources/lang/tr-TR/messages.json b/src/main/resources/lang/tr-TR/messages.json
index 62f709bbc..3e9ce3202 100644
--- a/src/main/resources/lang/tr-TR/messages.json
+++ b/src/main/resources/lang/tr-TR/messages.json
@@ -1,11 +1,11 @@
{
- "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake",
- "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)",
- "translation-author": "Çevirmen: NOYB",
+ "_comment": "Merhaba çevirmen! Eğer bunu Github'tan ya da kaynak kodundan çeviriyorsan, https://crowdin.com/project/quickshop-reremake adresine gitmelisin",
+ "file-test": "Bu bir deneme metin dosyası. Bu dosyası messages.json dosyasının bozuk mu diye kontrol etmek için kullanıyoruz. Bu dosyaya istediğin gibi sevdiğin easter egg'leri koyabilirsin :)",
+ "translation-author": "Çevirmen: Cazcez, NOYB",
"translation-version": "Destek Versiyonu: Reremake",
"translation-contributors": "Katkıda Bulunanlar: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Dil Bölgesi: Türkçe (tr_TR)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&sHiç QuickShop bulunamadı. Birine bakman lazım.",
"no-anythings-in-your-hand": "&cElinde hiçbir şey yok.",
"no-permission": "&cBunu yapmaya iznin yok.",
@@ -33,8 +33,8 @@
"you-cant-afford-to-buy": "&cBu {0} ediyor, ama sende sadece {1} var",
"negative-amount": "&cNegatif miktarlarda işlem yapamazsın",
"not-a-number": "&cGirdi sadece sayı olabilir, senin girdin {0} idi.",
- "exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cBir sayı girmelisin, senin girdin {0} idi.",
+ "exceeded-maximum": "&cDeğer, Java'nın maksimum değerini aştı.",
+ "not-a-integer": "&cBir sayı yazmalısın, yazdığın {0} idi.",
"player-bought-from-your-store": "&c{0} marketinden {1} tane {2} aldı ve {3} kazandın.",
"shop-out-of-stock": "&5{0}, {1}, {2} koordinatlarındaki marketinde {3} tükendi!",
"shop-has-no-space": "&cMarkette sadece {1} için daha fazla {0} yer var.",
@@ -45,14 +45,14 @@
"fee-charged-for-price-change": "&aFiyatı değiştirmek için &c{0}&a ödediniz.",
"price-is-now": "&aMarketin yeni fiyatı &e{0}",
"thats-not-a-number": "&cGeçersiz sayı",
- "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour",
+ "forbidden-vanilla-behavior": "&cEylem, vanilla'ya uygun olmadığı için yasaklandı",
"no-price-given": "&cLütfen geçerli bir fiyat verin.",
"average-price-nearby": "&aYakınlardaki ortalama fiyat: &e{0}",
"shop-has-changed": "&cKullanmaya çalıştığınız market, tıkladığınızdan beri değişti!",
"shop-not-exist": "&cOrada market yok.",
"nearby-shop-this-way": "&aMarket sizden {0} blok uzakta.",
"nearby-shop-header": "&aEn yakın Dükkan eşleşmesi &b{0}&a:",
- "nearby-shop-entry": "&aBilgi:-:{0} &aFiyat:&b{1} &ax:&b{2} &ay:&b{3} &az:&b{4} &aUzaklık: &b{5} &aBlok",
+ "nearby-shop-entry": "&aBilgi:-:{0} &aFiyat:&b{1} &ax:&b{2} &ay:&b{3} &az:&b{4} &aUzaklık: &b{5} &aBlok(lar)",
"no-nearby-shop": "&cYakınlarda {0} ile uyuşan market yok.",
"buying-more-than-selling": "&cUYARI: Sattığınızdan fazla öğe satın alıyorsunuz!",
"not-enough-space": "&cSadece {0} için daha fazla yerin var!",
@@ -82,7 +82,7 @@
"no-pending-action": "&cBekleyen aksiyonunuz yok",
"permission-denied-3rd-party": "&cİzin reddedildi: 3. Parti Eklenti [{0}].",
"shops-removed-in-world": "&b{1}&e dünyasından toplam &b{0}&e market silindi.",
- "world-not-exists": "&cThe world &e{0}&c doesn't exist",
+ "world-not-exists": "&e{0}&c isimli dünya mevcut değil",
"menu": {
"successful-purchase": "&aBaşarıyla satın alındı:",
"successfully-sold": "&aBaşarıyla satıldı:",
@@ -139,7 +139,7 @@
"no-amount-given": "&cMiktar sağlanmadı. &a/qs refill &c komudunu kullan.",
"now-debuging": "&aGeliştirici modu başarıyla aktive edildi. QuickShop yeniden yükleniyor...",
"now-nolonger-debuging": "&aGeliştirici modu başarıyla devre dışı bırakıldı. QuickShop yeniden yükleniyor...",
- "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.",
+ "wrong-args": "&cGeçersiz argüman. Komutların listesini görüntülemek için &l/qs help &ckomudunu kullan.",
"description": {
"title": "&aQuickShop yardım",
"unlimited": "&eBir markete sınırsız stok sağlar.",
@@ -170,14 +170,14 @@
"removeall": "&eBelirli bir oyuncunun BÜTÜN marketlerini kaldır",
"transfer": "&eBirinin TÜM marketlerini bir başkasına devret",
"removeworld": "&eBelirtilen dünya içindeki TÜM marketleri kaldırır",
- "currency": "&eSet or remove the currency setting of the shop",
- "ban": "&eBans a player from the shop",
- "unban": "&eUnbans a player from the shop",
- "freeze": "&eDisable or Enable shop trading",
- "lock": "&eSwitch the shop's lock status"
+ "currency": "&eMarketin para birimi ayarlayın ya da kaldırın",
+ "ban": "&cBir oyuncuyu bu marketten yasaklar",
+ "unban": "&eBir oyuncunun bu marketteki yasaklamasını kaldırır",
+ "freeze": "&eMarket takasını devre dışı bırak ya da aktifleştir",
+ "lock": "&eMarketin kilit statüsünü değiştir"
},
- "disabled": "&cThis command is disabled: &e{0}",
- "feature-not-enabled": "This feature is not enabled in the config file."
+ "disabled": "&cBu komut aktif değil: &e{0}",
+ "feature-not-enabled": "Bu özellik yapılandırma dosyasında aktif değil."
},
"signs": {
"selling": "Satıyor: {0}",
@@ -191,9 +191,9 @@
"unlimited": "Sınırsız",
"status-available": "&a",
"status-unavailable": "&c",
- "out-of-stock": "Out of Stock",
- "out-of-space": "Out of Space",
- "freeze": "Trading disabled"
+ "out-of-stock": "Stok tükendi",
+ "out-of-space": "Yeterli alan yok",
+ "freeze": "Takas kapatıldı"
},
"controlpanel": {
"setowner": "&aSahibi: &b{0} &e[&d&lDeğiştir&e]",
@@ -217,12 +217,12 @@
"stack-hover": "&eYığın başına öğe miktarını ayarlamak için tıklayın. Normal davranış için 1 yapın.",
"item": "&aMarket Öğesi: {0} &e[&d&lDeğiştir&e]",
"item-hover": "&eMarket öğesini değiştirmek için tıkla",
- "currency": "&aCurrency: &b{0} &e[&d&lSet&e]",
- "currency-hover": "&eClick to set or remove the currency that this shop is using",
- "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]",
- "lock-hover": "&eEnable/Disable the shop's lock protection.",
- "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]",
- "freeze-hover": "&eToggle the shop's freeze status."
+ "currency": "&aPara Birimi: &b{0} &e[&d&lAyarla&e]",
+ "currency-hover": "&eBu mağazanın kullandığı para birimini ayarlamak veya kaldırmak için tıklayınız",
+ "lock": "&eMarket kilidi: &b{0} &e[&d&lDurum&e]",
+ "lock-hover": "&eMarketin kilit korumasını aktif/deaktif et.",
+ "freeze": "&eDondurma modu: &b{0} &e[&d&lDurum&e]",
+ "freeze-hover": "&eMarketin dondurulma durumunu değiştir."
},
"tableformat": {
"full_line": "+---------------------------------------------------+",
@@ -238,7 +238,7 @@
"price": "[fiyat]",
"range": "[menzil]",
"amount": "[miktar]",
- "currency": "[currency name]",
+ "currency": "[para biriminin adı]",
"item": "[item]"
},
"updatenotify": {
@@ -264,7 +264,7 @@
"Doktor QuickShop'a yeni {0} güncellemesi geldi! Güncellemelisin~",
"Ko~ko~da~yo~ QuickShop'a yeni {0} güncellemesi geldi ~"
],
- "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.",
+ "remote-disable-warning": "&cQuickShop'un bu sürümü uzak sunucu tarafından devre dışı bırakıldı, bunun anlamı bu versiyonda büyük problemler oluşabilir. Detayları SpigotMC sayfamızdan öğrenebilirsiniz: {0}. Bu uyarı siz versiyonu stabil başka bir sürümle değiştirmedikçe konsolda belirmeye devam edecek. Ama bu sunucu hızınızı etkilemez.",
"label": {
"unstable": "[Kararsız]",
"stable": "[Kararlı]",
@@ -308,20 +308,20 @@
"qa-issues": "&eKalite güven sorunları: &b{0}%",
"help-us": "&a[Tercüme kalitesini arttırmamıza yardımcı olun]"
},
- "currency-not-exists": "&cCannot find the currency that you want to set. Maybe the spelling is wrong or that currency isn't available in this world.",
- "currency-set": "&aShop currency successfully set to {0}.",
- "currency-unset": "&aShop currency removed successfully. Using default settings now.",
- "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.",
- "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.",
- "backup-success": "&aBackup successfull.",
- "console-only": "&cThis command can only be executed by Console.",
- "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.",
- "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.",
- "shop-creation-failed": "&cShop creation failed, please contact with server administrator.",
- "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.",
- "chest-title": "QuickShop Store",
- "command-type-mismatch": "&cThis command only can executed by &b{0}.",
- "unlimited-shop-owner-changed": "&eThis unlimited shop owner has been changed to {0}.",
- "unlimited-shop-owner-keeped": "&eAttention: The shop owner still is unlimited shop owner, you need re-set new shop owner by yourself.",
- "server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
+ "currency-not-exists": "&cAyarlamak istediğiniz para birimi bulunamadı. Belki imlâ hatası yaptığınız ya da o para birimi dünyada mevcut değil.",
+ "currency-set": "&aMarketin para birimi başarıyla {0} olarak ayarlandı.",
+ "currency-unset": "&aMarketin para birimi başarıyla kaldırıldı. Artık varsayılan ayarlar kullanılıyor.",
+ "currency-not-support": "&cEkonomi eklentisi çoklu-ekonomi özelliğini desteklemiyor.",
+ "item-not-exist": "&e{0} &ceşyası mevcut değil, lütfen yazımınızı kontrol ediniz.",
+ "backup-success": "&aYedekleme başarılı.",
+ "console-only": "&cBu komut sadece konsolda kullanabilir.",
+ "console-only-danger": "&cBu tehlikeli bir komut, yani sadece konsol tarafından kullanılabilir.",
+ "clean-warning": "&eBu komut, market hasar görmüşse, izin verilmeyen dünyalarda yaratılmışsa, izin verilmeyen öğeleri satıyor/satın alıyorsa veya &c&lYÜKLENMEMİŞ BİR DÜNYADA MEVCUTSA&e marketleri temizleyecektir. Öncelikle market verilerinizin tam bir yedeğini oluşturduğunuzdan emin olun ve devam etmek için &b/qs cleanghost confirm &ekomudunu kullanınız.",
+ "shop-creation-failed": "&cMarket oluşturulurken hata meydana geldi, lütfen sunucu yöneticisi ile iletişime geçiniz.",
+ "shop-owner-self-trade": "&eKendi marketinde alışveriş yapıyorsun, bu nedenle herhangi bir kazan elde edemeyebilirsiniz.",
+ "chest-title": "QuickShop Marketi",
+ "command-type-mismatch": "&cBu komut sadece &b{0} &ctarafından kullanılabilir.",
+ "unlimited-shop-owner-changed": "&eBu sınırsız marketin sahibi {0} olarak değiştirildi.",
+ "unlimited-shop-owner-keeped": "&eDikkat: Marketin sahibi hala sınırsız market sahibidir, yeni dükkan sahibini yeniden ayarlamanız gerekmektedir.",
+ "server-crash-warning": "&cEğer QuickShop Jar dosyasını sunucu çalışırken değiştirdiyseniz/sildiyseniz, /qs reload komutunu çalıştırdığınızda sunucu çökebilir."
}
diff --git a/src/main/resources/lang/uk-UA/messages.json b/src/main/resources/lang/uk-UA/messages.json
index 23a6714af..9a3ea4ab5 100644
--- a/src/main/resources/lang/uk-UA/messages.json
+++ b/src/main/resources/lang/uk-UA/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Support Version: Reremake",
"translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601",
"translation-country": "Language Zone: English (en_US)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.",
"no-anythings-in-your-hand": "&cThere is nothing in your hand.",
"no-permission": "&cYou do not have permission to do that.",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/vi-VN/messages.json b/src/main/resources/lang/vi-VN/messages.json
index 45f52deb3..065412787 100644
--- a/src/main/resources/lang/vi-VN/messages.json
+++ b/src/main/resources/lang/vi-VN/messages.json
@@ -5,7 +5,7 @@
"translation-version": "Phiên bản hỗ trợ: Reremake",
"translation-contributors": "Người đóng góp: huyhhuy",
"translation-country": "Vùng ngôn ngữ: Tiếng Việt (vi_VN)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&cKhông thể tìm ra QuickShop. Bạn cần phải nhìn vào nó trước.",
"no-anythings-in-your-hand": "&cChẳng có gì trong tay bạn cả.",
"no-permission": "&cBạn không có quyền làm thế.",
@@ -34,7 +34,7 @@
"negative-amount": "&cBạn không thể giao dịch lượng số âm",
"not-a-number": "&cBạn chỉ có thể nhập vào số, bạn vừa nhập vào {0}.",
"exceeded-maximum": "&cGiá trị vượt quá giá trị tối đa trong Java.",
- "not-a-integer": "&cBạn phải nhập vào 1 số, bạn vừa nhập vào {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} đã mua {1} {2} từ shop của bạn, bạn nhận được {3}.",
"shop-out-of-stock": "&5Shop của bạn ở toạ độ {0}, {1}, {2} đã hết {3}!",
"shop-has-no-space": "&cShop chỉ còn chỗ cho {0} {1}.",
diff --git a/src/main/resources/lang/zh-CN/messages.json b/src/main/resources/lang/zh-CN/messages.json
index 3e6d625cf..5f983c2ed 100644
--- a/src/main/resources/lang/zh-CN/messages.json
+++ b/src/main/resources/lang/zh-CN/messages.json
@@ -5,7 +5,7 @@
"translation-version": "支持版本:Reremake",
"translation-contributors": "开发贡献者:Timtower, Netherfoam, KaiNoMood JackTheChicken 和 Andre_601",
"translation-country": "本地化语言:简体中文 (zh_CN)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&c无法找到商店,您需要注视着你想要操作的商店。",
"no-anythings-in-your-hand": "&c你的手里没有任何物品。",
"no-permission": "&c你没有权限这样做。",
@@ -321,7 +321,7 @@
"shop-owner-self-trade": "&e你正在和自己的商店进行交易,你可能不会得到任何钱。",
"chest-title": "QuickShop商店",
"command-type-mismatch": "&c此命令只能由 &b{0} 执行。",
- "unlimited-shop-owner-changed": "&eThis unlimited shop owner has been changed to {0}.",
- "unlimited-shop-owner-keeped": "&eAttention: The shop owner still is unlimited shop owner, you need re-set new shop owner by yourself.",
- "server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
+ "unlimited-shop-owner-changed": "&e这个系统商店的店主已更改为 {0}。",
+ "unlimited-shop-owner-keeped": "&e请注意: 商店持有人依然是无限商店类型, 你需要重新设置新的商店",
+ "server-crash-warning": "如果服务器运行时替换/删除QuickShop插件 Jar 文件,&c服务器可能在执行 /qs 重新加载命令后崩溃。"
}
diff --git a/src/main/resources/lang/zh-HK/messages.json b/src/main/resources/lang/zh-HK/messages.json
index cedcba853..038e974fe 100644
--- a/src/main/resources/lang/zh-HK/messages.json
+++ b/src/main/resources/lang/zh-HK/messages.json
@@ -5,7 +5,7 @@
"translation-version": "支援版本: Reremake",
"translation-contributors": "貢獻者: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken 同埋 Andre_601",
"translation-country": "語言區域: 中文(zh_HK)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&c我搵唔到一個箱子商店, 唔該望住個箱, 如果唔係我辨認唔到",
"no-anythings-in-your-hand": "&c 你隻手都冇嘢",
"no-permission": "&c你冇權啊",
@@ -34,7 +34,7 @@
"negative-amount": "&cYou can't trade negative amounts",
"not-a-number": "&cYou can only input a number, your input was {0}.",
"exceeded-maximum": "&cThe value exceeded the maximum value in Java.",
- "not-a-integer": "&cYou must input a number, your input was {0}.",
+ "not-a-integer": "&cYou must input a integer, your input was {0}.",
"player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.",
"shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!",
"shop-has-no-space": "&cThe shop only has room for {0} more {1}.",
diff --git a/src/main/resources/lang/zh-TW/messages.json b/src/main/resources/lang/zh-TW/messages.json
index e2c598ae1..ae12f659e 100644
--- a/src/main/resources/lang/zh-TW/messages.json
+++ b/src/main/resources/lang/zh-TW/messages.json
@@ -5,7 +5,7 @@
"translation-version": "支援版本 : Reremake (重製版)",
"translation-contributors": "貢獻人員 : Timtower、Netherfoam、KaiNoMood、Mgazul、JackTheChicken 和 Andre_601",
"translation-country": "語言 : &b&l繁體中文 Chinese Traditional (zh_TW)",
- "language-version": "57",
+ "language-version": "58",
"not-looking-at-shop": "&c無法找到儲物箱商店,你需要注視著儲物箱。",
"no-anythings-in-your-hand": "&c手上沒有任何東西。",
"no-permission": "&4你沒有使用該指令的權限。",