commit
36394d1768
@ -0,0 +1,65 @@
|
|||||||
|
package net.trivernis.chunkmaster.commands
|
||||||
|
|
||||||
|
import net.trivernis.chunkmaster.Chunkmaster
|
||||||
|
import net.trivernis.chunkmaster.lib.Subcommand
|
||||||
|
import org.bukkit.command.Command
|
||||||
|
import org.bukkit.command.CommandSender
|
||||||
|
import org.bukkit.entity.Player
|
||||||
|
|
||||||
|
class CmdGetCenter(private val chunkmaster: Chunkmaster): Subcommand {
|
||||||
|
override val name = "getCenter";
|
||||||
|
|
||||||
|
override fun onTabComplete(
|
||||||
|
sender: CommandSender,
|
||||||
|
command: Command,
|
||||||
|
alias: String,
|
||||||
|
args: List<String>
|
||||||
|
): MutableList<String> {
|
||||||
|
if (args.size == 1) {
|
||||||
|
return sender.server.worlds.filter { it.name.indexOf(args[0]) == 0 }
|
||||||
|
.map {it.name}.toMutableList()
|
||||||
|
}
|
||||||
|
return emptyList<String>().toMutableList()
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun execute(sender: CommandSender, args: List<String>): Boolean {
|
||||||
|
val worldName: String = if (sender is Player) {
|
||||||
|
if (args.isNotEmpty()) {
|
||||||
|
args[0]
|
||||||
|
} else {
|
||||||
|
sender.world.name;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (args.isEmpty()) {
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("WORLD_NAME_REQUIRED"))
|
||||||
|
return false
|
||||||
|
} else {
|
||||||
|
args[0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (chunkmaster.generationManager.worldCenters.isEmpty()) {
|
||||||
|
chunkmaster.generationManager.loadWorldCenters() {
|
||||||
|
sendCenterInfo(sender, worldName)
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
sendCenterInfo(sender, worldName)
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends the center information
|
||||||
|
*/
|
||||||
|
private fun sendCenterInfo(sender: CommandSender, worldName: String) {
|
||||||
|
var center = chunkmaster.generationManager.worldCenters[worldName]
|
||||||
|
if (center == null) {
|
||||||
|
val world = sender.server.worlds.find { it.name == worldName }
|
||||||
|
if (world == null) {
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("WORLD_NOT_FOUND", worldName))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
center = Pair(world.spawnLocation.chunk.x, world.spawnLocation.chunk.z)
|
||||||
|
}
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("CENTER_INFO", worldName, center.first, center.second))
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,85 @@
|
|||||||
|
package net.trivernis.chunkmaster.commands
|
||||||
|
|
||||||
|
import net.trivernis.chunkmaster.Chunkmaster
|
||||||
|
import net.trivernis.chunkmaster.lib.Subcommand
|
||||||
|
import org.bukkit.command.Command
|
||||||
|
import org.bukkit.command.CommandSender
|
||||||
|
import org.bukkit.entity.Player
|
||||||
|
|
||||||
|
class CmdSetCenter(private val chunkmaster: Chunkmaster): Subcommand {
|
||||||
|
override val name = "setCenter";
|
||||||
|
|
||||||
|
override fun onTabComplete(
|
||||||
|
sender: CommandSender,
|
||||||
|
command: Command,
|
||||||
|
alias: String,
|
||||||
|
args: List<String>
|
||||||
|
): MutableList<String> {
|
||||||
|
if (args.size == 1) {
|
||||||
|
if (args[0].toIntOrNull() == null) {
|
||||||
|
return sender.server.worlds.filter { it.name.indexOf(args[0]) == 0 }
|
||||||
|
.map {it.name}.toMutableList()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return emptyList<String>().toMutableList();
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun execute(sender: CommandSender, args: List<String>): Boolean {
|
||||||
|
val world: String
|
||||||
|
val centerX: Int
|
||||||
|
val centerZ: Int
|
||||||
|
|
||||||
|
if (args.size < 2) {
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("TOO_FEW_ARGUMENTS"))
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
if (sender is Player) {
|
||||||
|
if (args.size == 2) {
|
||||||
|
world = sender.world.name
|
||||||
|
if (args[0].toIntOrNull() == null || args[1].toIntOrNull() == null) {
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("COORD_INVALID", args[0], args[1]))
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
centerX = args[0].toInt()
|
||||||
|
centerZ = args[1].toInt()
|
||||||
|
} else {
|
||||||
|
if (!validateThreeArgs(sender, args)) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
world = args[0]
|
||||||
|
centerX = args[1].toInt()
|
||||||
|
centerZ = args[2].toInt()
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (args.size < 3) {
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("TOO_FEW_ARGUMENTS"))
|
||||||
|
return false
|
||||||
|
} else {
|
||||||
|
if (!validateThreeArgs(sender, args)) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
world = args[0]
|
||||||
|
centerX = args[1].toInt()
|
||||||
|
centerZ = args[2].toInt()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
chunkmaster.generationManager.updateWorldCenter(world, Pair(centerX, centerZ))
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("CENTER_UPDATED", world, centerX, centerZ))
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Validates the command values with three arguments
|
||||||
|
*/
|
||||||
|
private fun validateThreeArgs(sender: CommandSender, args: List<String>): Boolean {
|
||||||
|
return if (sender.server.worlds.none { it.name == args[0] }) {
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("WORLD_NOT_FOUND", args[0]))
|
||||||
|
false
|
||||||
|
} else if (args[1].toIntOrNull() == null || args[2].toIntOrNull() == null) {
|
||||||
|
sender.sendMessage(chunkmaster.langManager.getLocalized("COORD_INVALID", args[1], args[2]))
|
||||||
|
false
|
||||||
|
} else {
|
||||||
|
true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,48 +1,56 @@
|
|||||||
RESUME_FOR_WORLD = Resuming chunk generation task for world '%s'...
|
RESUME_FOR_WORLD = Resuming chunk generation task for world '%s'...
|
||||||
TASK_FINISHED = Task #%d finished after %d chunks.
|
TASK_FINISHED = Task #%d finished after %d chunks.
|
||||||
TASK_CANCELED = Canceled task #%s.
|
TASK_CANCELED = Canceled task #%s.
|
||||||
TASK_LOAD_FAILED = \u00A7cFailed to load task #%d.
|
TASK_LOAD_FAILED = §cFailed to load task #%d.
|
||||||
TASK_LOAD_SUCCESS = %d saved tasks loaded.
|
TASK_LOAD_SUCCESS = %d saved tasks loaded.
|
||||||
TASK_NOT_FOUND = \u00A7cTask %s not found!
|
TASK_NOT_FOUND = §cTask %s not found!
|
||||||
CREATE_DELAYED_LOAD = Creating task to load chunk generation Tasks later...
|
CREATE_DELAYED_LOAD = Creating task to load chunk generation Tasks later...
|
||||||
TASK_PERIODIC_REPORT = Task #%d running for '%s'. Progress: %d chunks %s %s, Speed: %.1f ch/s, Last Chunk: %d, %d
|
TASK_PERIODIC_REPORT = Task #%d running for '%s'. Progress: %d chunks %s %s, Speed: %.1f ch/s, Last Chunk: %d, %d
|
||||||
TASK_SAVE_FAILED = \u00A7cException when saving tasks: %s
|
TASK_SAVE_FAILED = §cException when saving tasks: %s
|
||||||
|
|
||||||
WORLD_NAME_REQUIRED = \u00A7cYou need to provide a world name!
|
WORLD_NAME_REQUIRED = §cYou need to provide a world name!
|
||||||
WORLD_NOT_FOUND = \u00A7cWorld \u00A72%s \u00A7cnot found!
|
WORLD_NOT_FOUND = §cWorld §2%s §cnot found!
|
||||||
TASK_ALREADY_EXISTS = \u00A7cA task for '%s' already exists!
|
TASK_ALREADY_EXISTS = §cA task for '%s' already exists!
|
||||||
TASK_CREATION_SUCCESS = \u00A79Generation Task for world \u00A72%s \u00A79 until \u00A72%s \u00A79successfully created!
|
TASK_CREATION_SUCCESS = §9Generation Task for world §2%s §9 until §2%s §9successfully created!
|
||||||
TASK_ID_REQUIRED = \u00A7cYou need to provide a task id!
|
TASK_ID_REQUIRED = §cYou need to provide a task id!
|
||||||
|
|
||||||
PAUSED_TASKS_HEADER = Currently Paused Generation Tasks
|
PAUSED_TASKS_HEADER = Currently Paused Generation Tasks
|
||||||
TASKS_ENTRY = - \u00A79#%d\u00A7r - \u00A72%s\u00A7r - \u00A72%d chunks %s\u00A7r
|
TASKS_ENTRY = - §9#%d§r - §2%s§r - §2%d chunks %s§r
|
||||||
RUNNING_TASKS_HEADER = Currently Running Generation Tasks
|
RUNNING_TASKS_HEADER = Currently Running Generation Tasks
|
||||||
NO_GENERATION_TASKS = There are no generation tasks.
|
NO_GENERATION_TASKS = There are no generation tasks.
|
||||||
|
|
||||||
PAUSE_SUCCESS = \u00A79Paused all generation tasks.
|
PAUSE_SUCCESS = §9Paused all generation tasks.
|
||||||
ALREADY_PAUSED = \u00A7cThe generation process is already paused!
|
ALREADY_PAUSED = §cThe generation process is already paused!
|
||||||
|
|
||||||
RESUME_SUCCESS = \u00A79Resumed all generation Tasks.
|
RESUME_SUCCESS = §9Resumed all generation Tasks.
|
||||||
NOT_PAUSED = \u00A7cThe generation process is not paused!
|
NOT_PAUSED = §cThe generation process is not paused!
|
||||||
|
|
||||||
CONFIG_RELOADING = Reloading the config file...
|
CONFIG_RELOADING = Reloading the config file...
|
||||||
CONFIG_RELOADED = \u00A72The config file has been reloaded!
|
CONFIG_RELOADED = §2The config file has been reloaded!
|
||||||
|
|
||||||
TELEPORTED = \u00A79You have been teleported to chunk \u00A72%s, %s
|
TELEPORTED = §9You have been teleported to chunk §2%s, %s
|
||||||
TP_ONLY_PLAYER = \u00A7cThis command can only be executed by a player!
|
TP_ONLY_PLAYER = §cThis command can only be executed by a player!
|
||||||
|
|
||||||
NO_PERMISSION = \u00A7cYou do not have the permission for this command!
|
NO_PERMISSION = §cYou do not have the permission for this command!
|
||||||
SUBCOMMAND_NOT_FOUND = \u00A7cSubcommand \u00A72%s \u00A7cnot found!
|
SUBCOMMAND_NOT_FOUND = §cSubcommand §2%s §cnot found!
|
||||||
|
|
||||||
STOPPING_ALL_TASKS = Stopping all generation tasks...
|
STOPPING_ALL_TASKS = Stopping all generation tasks...
|
||||||
|
SAVING_TASK_PROGRESS = Saving the progress of task #%s to the database...
|
||||||
DB_INIT = Initializing database...
|
DB_INIT = Initializing database...
|
||||||
DB_INIT_FINISHED = Database fully initialized.
|
DB_INIT_FINISHED = Database fully initialized.
|
||||||
DB_INIT_EROR = Failed to init database: %s.
|
DB_INIT_EROR = Failed to init database: %s.
|
||||||
|
|
||||||
DATABASE_CONNECTION_ERROR = \u00A7cCould not get the database connection!
|
DATABASE_CONNECTION_ERROR = §cCould not get the database connection!
|
||||||
SQL_ERROR = \u00A7cAn eror occured on sql %s!
|
SQL_ERROR = §cAn eror occured on sql %s!
|
||||||
NO_DATABASE_CONNECTION = \u00A7cCould not execute sql: No database connection.
|
NO_DATABASE_CONNECTION = §cCould not execute sql: No database connection.
|
||||||
CREATE_TABLE_DEFINITION = Created table %s with definition %s.
|
CREATE_TABLE_DEFINITION = Created table %s with definition %s.
|
||||||
TABLE_CREATE_ERROR = \u00A7cError when creation table %s.
|
TABLE_CREATE_ERROR = §cError when creation table %s.
|
||||||
UPDATE_TABLE_DEFINITION = Updated table %s with sql %s.
|
UPDATE_TABLE_DEFINITION = Updated table %s with sql %s.
|
||||||
UPDATE_TABLE_FAILED = Failed to update table %s with sql %s.
|
UPDATE_TABLE_FAILED = Failed to update table %s with sql %s.
|
||||||
|
|
||||||
|
TOO_FEW_ARGUMENTS = §cYou did not provide enough arguments.
|
||||||
|
COORD_INVALID = §cThe provided coordinate ('%s', '%s') is invalid!
|
||||||
|
CENTER_UPDATED = §9The center for world §2%s §9has been set to §2(%s, %s)§9.
|
||||||
|
CENTER_INFO = §9The center for world §2%s §9is §2(%s, %s)§9.
|
||||||
|
|
||||||
|
PLUGIN_DETECTED = Detected %s version %s
|
@ -1,48 +1,56 @@
|
|||||||
RESUME_FOR_WORLD = Setze das Chunk-Generieren f\u00fcr Welt '%s' fort...
|
RESUME_FOR_WORLD = Setze das Chunk-Generieren für Welt '%s' fort...
|
||||||
TASK_FINISHED = Aufgabe #%d wurde nach %d chunks beendet.
|
TASK_FINISHED = Aufgabe #%d wurde nach %d chunks beendet.
|
||||||
TASK_CANCELED = Aufgabe #%s wurde abgebrochen.
|
TASK_CANCELED = Aufgabe #%s wurde abgebrochen.
|
||||||
TASK_LOAD_FAILED = \u00A7cAufgabe #%d konnte nicht geladen werden.
|
TASK_LOAD_FAILED = §cAufgabe #%d konnte nicht geladen werden.
|
||||||
TASK_LOAD_SUCCESS = %d gespeicherte Aufgaben wurden geladen.
|
TASK_LOAD_SUCCESS = %d gespeicherte Aufgaben wurden geladen.
|
||||||
TASK_NOT_FOUND = \u00A7cAufgabe %s konnte nicht gefunden werden!
|
TASK_NOT_FOUND = §cAufgabe %s konnte nicht gefunden werden!
|
||||||
CREATE_DELAYED_LOAD = Erstelle einen Bukkit-Task zum verz\u00f6gerten Laden von Aufgaben...
|
CREATE_DELAYED_LOAD = Erstelle einen Bukkit-Task zum verzögerten Laden von Aufgaben...
|
||||||
TASK_PERIODIC_REPORT = Aufgabe #%d f\u00fcr Welt '%s'. Fortschritt: %d chunks %s %s, Geschwindigkeit: %.1f ch/s, Letzer Chunk: %d, %d
|
TASK_PERIODIC_REPORT = Aufgabe #%d für Welt '%s'. Fortschritt: %d chunks %s %s, Geschwindigkeit: %.1f ch/s, Letzer Chunk: %d, %d
|
||||||
TASK_SAVE_FAILED = \u00A7cFehler beim Speichern der Aufgaben: %s
|
TASK_SAVE_FAILED = §cFehler beim Speichern der Aufgaben: %s
|
||||||
|
|
||||||
WORLD_NAME_REQUIRED = \u00A7cDu musst einen Weltennamen angeben!
|
WORLD_NAME_REQUIRED = §cDu musst einen Weltennamen angeben!
|
||||||
WORLD_NOT_FOUND = \u00A7c Die Welt \u00A72%s \u00A7cwurde nicht gefunden!
|
WORLD_NOT_FOUND = §c Die Welt §2%s §cwurde nicht gefunden!
|
||||||
TASK_ALREADY_EXISTS = \u00A7cEs existiert bereits eine Aufgabe f\u00fcr \u00A72%s\u00A7c!
|
TASK_ALREADY_EXISTS = §cEs existiert bereits eine Aufgabe für §2%s§c!
|
||||||
TASK_CREATION_SUCCESS = \u00A79Generierungs-Aufgabe \u00A72%s \u00A79 bis \u00A72%s \u00A79wurde erfolgreich erstellt!
|
TASK_CREATION_SUCCESS = §9Generierungs-Aufgabe §2%s §9 bis §2%s §9wurde erfolgreich erstellt!
|
||||||
TASK_ID_REQUIRED = \u00A7cDu musst eine Aufgaben-Id angeben!
|
TASK_ID_REQUIRED = §cDu musst eine Aufgaben-Id angeben!
|
||||||
|
|
||||||
PAUSED_TASKS_HEADER = \u00A7lPausierte Generierungsaufgaben\u00A7r
|
PAUSED_TASKS_HEADER = §lPausierte Generierungsaufgaben§r
|
||||||
|
|
||||||
RUNNING_TASKS_HEADER = \u00A7lLaufende Generierungsaufgaben\u00A7r
|
RUNNING_TASKS_HEADER = §lLaufende Generierungsaufgaben§r
|
||||||
NO_GENERATION_TASKS = Es gibt keine Aufgaben.
|
NO_GENERATION_TASKS = Es gibt keine Aufgaben.
|
||||||
|
|
||||||
PAUSE_SUCCESS = \u00A79Alle Aufgaben wurden pausiert.
|
PAUSE_SUCCESS = §9Alle Aufgaben wurden pausiert.
|
||||||
ALREADY_PAUSED = \u00A7cDas Generieren ist bereits pausiert.
|
ALREADY_PAUSED = §cDas Generieren ist bereits pausiert.
|
||||||
|
|
||||||
RESUME_SUCCESS = \u00A79Alle Aufgaben wurden fortgesetzt.
|
RESUME_SUCCESS = §9Alle Aufgaben wurden fortgesetzt.
|
||||||
NOT_PAUSED = \u00A7cEs gibt keine pausierten Aufgaben!
|
NOT_PAUSED = §cEs gibt keine pausierten Aufgaben!
|
||||||
|
|
||||||
CONFIG_RELOADING = Die Konfigurationsdatei wird neu eingelesen...
|
CONFIG_RELOADING = Die Konfigurationsdatei wird neu eingelesen...
|
||||||
CONFIG_RELOADED = \u00A72Die Konfigurationsdatei wurde neu geladen!
|
CONFIG_RELOADED = §2Die Konfigurationsdatei wurde neu geladen!
|
||||||
|
|
||||||
TELEPORTED = \u00A79Du wurdest zum Chunk \u00A72%s, %s \u00A79teleportiert
|
TELEPORTED = §9Du wurdest zum Chunk §2%s, %s §9teleportiert
|
||||||
TP_ONLY_PLAYER = \u00A7cDieser Befehl kann nur von einem Spieler ausgef\u00fchrt werden.
|
TP_ONLY_PLAYER = §cDieser Befehl kann nur von einem Spieler ausgeführt werden.
|
||||||
|
|
||||||
NO_PERMISSION = \u00A7cDu hast nicht die Rechte für diesen Befehl!
|
NO_PERMISSION = §cDu hast nicht die Rechte für diesen Befehl!
|
||||||
SUBCOMMAND_NOT_FOUND = \u00A7cUnteraktion \u00A72%s \u00A7cwurde nicht gefunden!
|
SUBCOMMAND_NOT_FOUND = §cUnteraktion §2%s §cwurde nicht gefunden!
|
||||||
|
|
||||||
STOPPING_ALL_TASKS = Stoppt alle Aufgaben...
|
STOPPING_ALL_TASKS = Stoppt alle Aufgaben...
|
||||||
|
SAVING_TASK_PROGRESS = Speichert den Fortschritt der Aufgabe #%s in der Datenbank...
|
||||||
DB_INIT = Initialisiere Datenbank...
|
DB_INIT = Initialisiere Datenbank...
|
||||||
DB_INIT_FINISHED = Die Datenbank wurde initialisiert.
|
DB_INIT_FINISHED = Die Datenbank wurde initialisiert.
|
||||||
DB_INIT_EROR = Fehler beim Initalisieren der Datenbank: %s.
|
DB_INIT_EROR = Fehler beim Initalisieren der Datenbank: %s.
|
||||||
|
|
||||||
DATABASE_CONNECTION_ERROR = \u00A7cDie Datenbankverbindung konnte nicht erzeugt werden.
|
DATABASE_CONNECTION_ERROR = §cDie Datenbankverbindung konnte nicht erzeugt werden.
|
||||||
SQL_ERROR = \u00A7cEin Fehler trat mit sql %s auf!
|
SQL_ERROR = §cEin Fehler trat mit sql %s auf!
|
||||||
NO_DATABASE_CONNECTION = \u00A7cSql konnte nicht ausgef\u00fchrt werden: Keine Datenbankverbindung.
|
NO_DATABASE_CONNECTION = §cSql konnte nicht ausgeführt werden: Keine Datenbankverbindung.
|
||||||
CREATE_TABLE_DEFINITION = Tabelle %s mit Definition %s wurde erstellt.
|
CREATE_TABLE_DEFINITION = Tabelle %s mit Definition %s wurde erstellt.
|
||||||
TABLE_CREATE_ERROR = \u00A7cFehler beim erstellen der Tabelle %s.
|
TABLE_CREATE_ERROR = §cFehler beim erstellen der Tabelle %s.
|
||||||
UPDATE_TABLE_DEFINITION = Tabelle %s wurde mit sql %s geupdated.
|
UPDATE_TABLE_DEFINITION = Tabelle %s wurde mit sql %s geupdated.
|
||||||
UPDATE_TABLE_FAILED = Fehler beim Updaten der Tabelle %s mit sql %s.
|
UPDATE_TABLE_FAILED = Fehler beim Updaten der Tabelle %s mit sql %s.
|
||||||
|
|
||||||
|
TOO_FEW_ARGUMENTS = §cDu hast nicht genug arguments angegeben.
|
||||||
|
COORD_INVALID = §cDie Koordinate ('%s', '%s') ist ungültig!
|
||||||
|
CENTER_UPDATED = §9Die Mitte der Welt §2%s §9wurde auf §2(%s, %s)§9 gesetzt.
|
||||||
|
CENTER_INFO = §9Die Mitte der Welt §2%s §9ist §2(%s, %s)§9.
|
||||||
|
|
||||||
|
PLUGIN_DETECTED = Plugin %s in der Version %s gefunden!
|
@ -1,48 +1,56 @@
|
|||||||
RESUME_FOR_WORLD = Resuming chunk generation task for world '%s'...
|
RESUME_FOR_WORLD = Resuming chunk generation task for world '%s'...
|
||||||
TASK_FINISHED = Task #%d finished after %d chunks.
|
TASK_FINISHED = Task #%d finished after %d chunks.
|
||||||
TASK_CANCELED = Canceled task #%s.
|
TASK_CANCELED = Canceled task #%s.
|
||||||
TASK_LOAD_FAILED = \u00A7cFailed to load task #%d.
|
TASK_LOAD_FAILED = §cFailed to load task #%d.
|
||||||
TASK_LOAD_SUCCESS = %d saved tasks loaded.
|
TASK_LOAD_SUCCESS = %d saved tasks loaded.
|
||||||
TASK_NOT_FOUND = \u00A7cTask %s not found!
|
TASK_NOT_FOUND = §cTask %s not found!
|
||||||
CREATE_DELAYED_LOAD = Creating task to load chunk generation Tasks later...
|
CREATE_DELAYED_LOAD = Creating task to load chunk generation Tasks later...
|
||||||
TASK_PERIODIC_REPORT = Task #%d running for '%s'. Progress: %d chunks %s %s, Speed: %.1f ch/s, Last Chunk: %d, %d
|
TASK_PERIODIC_REPORT = Task #%d running for '%s'. Progress: %d chunks %s %s, Speed: %.1f ch/s, Last Chunk: %d, %d
|
||||||
TASK_SAVE_FAILED = \u00A7cException when saving tasks: %s
|
TASK_SAVE_FAILED = §cException when saving tasks: %s
|
||||||
|
|
||||||
WORLD_NAME_REQUIRED = \u00A7cYou need to provide a world name!
|
WORLD_NAME_REQUIRED = §cYou need to provide a world name!
|
||||||
WORLD_NOT_FOUND = \u00A7cWorld \u00A72%s \u00A7cnot found!
|
WORLD_NOT_FOUND = §cWorld §2%s §cnot found!
|
||||||
TASK_ALREADY_EXISTS = \u00A7cA task for '%s' already exists!
|
TASK_ALREADY_EXISTS = §cA task for '%s' already exists!
|
||||||
TASK_CREATION_SUCCESS = \u00A79Generation Task for world \u00A72%s \u00A79 until \u00A72%s \u00A79successfully created!
|
TASK_CREATION_SUCCESS = §9Generation Task for world §2%s §9 until §2%s §9successfully created!
|
||||||
TASK_ID_REQUIRED = \u00A7cYou need to provide a task id!
|
TASK_ID_REQUIRED = §cYou need to provide a task id!
|
||||||
|
|
||||||
PAUSED_TASKS_HEADER = Currently Paused Generation Tasks
|
PAUSED_TASKS_HEADER = Currently Paused Generation Tasks
|
||||||
TASKS_ENTRY = - \u00A79#%d\u00A7r - \u00A72%s\u00A7r - \u00A72%d chunks %s\u00A7r
|
TASKS_ENTRY = - §9#%d§r - §2%s§r - §2%d chunks %s§r
|
||||||
RUNNING_TASKS_HEADER = Currently Running Generation Tasks
|
RUNNING_TASKS_HEADER = Currently Running Generation Tasks
|
||||||
NO_GENERATION_TASKS = There are no generation tasks.
|
NO_GENERATION_TASKS = There are no generation tasks.
|
||||||
|
|
||||||
PAUSE_SUCCESS = \u00A79Paused all generation tasks.
|
PAUSE_SUCCESS = §9Paused all generation tasks.
|
||||||
ALREADY_PAUSED = \u00A7cThe generation process is already paused!
|
ALREADY_PAUSED = §cThe generation process is already paused!
|
||||||
|
|
||||||
RESUME_SUCCESS = \u00A79Resumed all generation Tasks.
|
RESUME_SUCCESS = §9Resumed all generation Tasks.
|
||||||
NOT_PAUSED = \u00A7cThe generation process is not paused!
|
NOT_PAUSED = §cThe generation process is not paused!
|
||||||
|
|
||||||
CONFIG_RELOADING = Reloading the config file...
|
CONFIG_RELOADING = Reloading the config file...
|
||||||
CONFIG_RELOADED = \u00A72The config file has been reloaded!
|
CONFIG_RELOADED = §2The config file has been reloaded!
|
||||||
|
|
||||||
TELEPORTED = \u00A79You have been teleported to chunk \u00A72%s, %s
|
TELEPORTED = §9You have been teleported to chunk §2%s, %s
|
||||||
TP_ONLY_PLAYER = \u00A7cThis command can only be executed by a player!
|
TP_ONLY_PLAYER = §cThis command can only be executed by a player!
|
||||||
|
|
||||||
NO_PERMISSION = \u00A7cYou do not have the permission for this command!
|
NO_PERMISSION = §cYou do not have the permission for this command!
|
||||||
SUBCOMMAND_NOT_FOUND = \u00A7cSubcommand \u00A72%s \u00A7cnot found!
|
SUBCOMMAND_NOT_FOUND = §cSubcommand §2%s §cnot found!
|
||||||
|
|
||||||
STOPPING_ALL_TASKS = Stopping all generation tasks...
|
STOPPING_ALL_TASKS = Stopping all generation tasks...
|
||||||
|
SAVING_TASK_PROGRESS = Saving the progress of task #%s to the database...
|
||||||
DB_INIT = Initializing database...
|
DB_INIT = Initializing database...
|
||||||
DB_INIT_FINISHED = Database fully initialized.
|
DB_INIT_FINISHED = Database fully initialized.
|
||||||
DB_INIT_EROR = Failed to init database: %s.
|
DB_INIT_EROR = Failed to init database: %s.
|
||||||
|
|
||||||
DATABASE_CONNECTION_ERROR = \u00A7cCould not get the database connection!
|
DATABASE_CONNECTION_ERROR = §cCould not get the database connection!
|
||||||
SQL_ERROR = \u00A7cAn eror occured on sql %s!
|
SQL_ERROR = §cAn eror occured on sql %s!
|
||||||
NO_DATABASE_CONNECTION = \u00A7cCould not execute sql: No database connection.
|
NO_DATABASE_CONNECTION = §cCould not execute sql: No database connection.
|
||||||
CREATE_TABLE_DEFINITION = Created table %s with definition %s.
|
CREATE_TABLE_DEFINITION = Created table %s with definition %s.
|
||||||
TABLE_CREATE_ERROR = \u00A7cError when creation table %s.
|
TABLE_CREATE_ERROR = §cError when creation table %s.
|
||||||
UPDATE_TABLE_DEFINITION = Updated table %s with sql %s.
|
UPDATE_TABLE_DEFINITION = Updated table %s with sql %s.
|
||||||
UPDATE_TABLE_FAILED = Failed to update table %s with sql %s.
|
UPDATE_TABLE_FAILED = Failed to update table %s with sql %s.
|
||||||
|
|
||||||
|
TOO_FEW_ARGUMENTS = §cYou did not provide enough arguments.
|
||||||
|
COORD_INVALID = §cThe provided coordinate ('%s', '%s') is invalid!
|
||||||
|
CENTER_UPDATED = §9The center for world §2%s §9has been set to §2(%s, %s)§9.
|
||||||
|
CENTER_INFO = §9The center for world §2%s §9is §2(%s, %s)§9.
|
||||||
|
|
||||||
|
PLUGIN_DETECTED = Detected %s version %s
|
Loading…
Reference in New Issue