diff --git a/README.md b/README.md index fa312ccaf..45f42c6ea 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Terra -Terra is a data-driven world generator based on [Gaea](https://github.com/PolyhedralDev/Gaea). +Terra is a data-driven world generator based on [Gaea](https://github.com/PolyhedralDev/Gaea). Find out more on our +[Spigot page](https://www.spigotmc.org/resources/85151/)! ## Building and running Terra To run Terra on a test server, clone this repo, package with Maven, then run `test.sh`. The script will clone a test @@ -13,5 +14,4 @@ Contributions are welcome! If you want to see a feature in Terra, please, open a submit a PR! ## Beta -Terra is still in beta! It will have missing features, and may not work in full. It should **not** be used in production. -Use at your own risk! \ No newline at end of file +Terra is still in beta! While it is stable, it is not feature-complete. There is a lot to be added! \ No newline at end of file diff --git a/src/main/java/com/dfsek/terra/command/TerraCommand.java b/src/main/java/com/dfsek/terra/command/TerraCommand.java index 9316045e5..abaa14356 100644 --- a/src/main/java/com/dfsek/terra/command/TerraCommand.java +++ b/src/main/java/com/dfsek/terra/command/TerraCommand.java @@ -24,7 +24,8 @@ public class TerraCommand extends Command { new StructureCommand(this), new ImageCommand(this), new GeometryCommand(this), - new FixChunkCommand(this)); + new FixChunkCommand(this), + new VersionCommand(this)); public TerraCommand(GaeaPlugin main) { super(main); diff --git a/src/main/java/com/dfsek/terra/command/VersionCommand.java b/src/main/java/com/dfsek/terra/command/VersionCommand.java new file mode 100644 index 000000000..31f7014bf --- /dev/null +++ b/src/main/java/com/dfsek/terra/command/VersionCommand.java @@ -0,0 +1,41 @@ +package com.dfsek.terra.command; + +import com.dfsek.terra.config.lang.LangUtil; +import org.bukkit.command.CommandSender; +import org.jetbrains.annotations.NotNull; +import org.polydev.gaea.command.Command; + +import java.util.Collections; +import java.util.List; + +public class VersionCommand extends Command { + public VersionCommand(Command parent) { + super(parent); + } + + @Override + public String getName() { + return "version"; + } + + @Override + public List getSubCommands() { + return Collections.emptyList(); + } + + @Override + public boolean execute(@NotNull CommandSender sender, org.bukkit.command.@NotNull Command command, @NotNull String label, @NotNull String[] args) { + LangUtil.send("command.version", sender, getMain().getDescription().getVersion()); + return true; + } + + @Override + public int arguments() { + return 0; + } + + @Override + public List getTabCompletions(@NotNull CommandSender sender, @NotNull String alias, @NotNull String[] args) { + return Collections.emptyList(); + } +} diff --git a/src/main/resources/lang/afr_sa.yml b/src/main/resources/lang/afr_sa.yml new file mode 100644 index 000000000..e3458d097 --- /dev/null +++ b/src/main/resources/lang/afr_sa.yml @@ -0,0 +1,55 @@ +enable: + - "&fBetterEnd sou nie moontlik gewees het sonder die ondersteuning van die volgende mense nie:" + - "&fOntwikkelaars: dfsek and Baer" + - "&fBouers: GucciPoochie, sgtmushroom39, Daverono, and Merazmus" + - "&fPatrons: EtherealSquid" +disable: + - "&fDankie dat u BetterEnd gebruik het!" +free-notification: + - "&bU gebruik die gratis weergawe van BetterEnd. Oorweeg dit om die premie weergawe te koop om die inprop te ondersteun en ekstra funksies te verkry!" + - "&bMeer inligting kan hier gevind word: &nhttps://github.com/dfsek/BetterEnd-Public/wiki/Premium" +command-prefix: "&3[BetterEnd] " +update: + new-version: "'N Nuwe weergawe van BetterEnd is beskikbaar: %s " + up-to-date: "U weergawe van BetterEnd (%s) is op datum!" + more-recent: "U weergawe van BetterEnd (%s) is meer onlangs as die publieke beskikbare weergawe." + error: "Kon nie kyk of 'n opdatering beskikbaar is nie. rede: " +command: + world: "&cHierdie wêreld is nie 'n BetterEnd-wêreld nie!" + players-only: "&bHierdie opdrag is slegs vir spelers!" + invalid: "Ongeldige opdrag.(verwag %1$s argumente, argumente gevind is %2$s)." + debug-only: "Hierdie opdrag moet gebruik word as die ontfoutmodus geaktiveer is!" +commands: + no-permission: "&cU het nie toestemming vir hierdie opdrag nie." + version: "&bThis server is running &3BetterEnd v%s" + reload-config: "&bBetterEnd instel herlaai ..." + complete-msg: "&bvolledige." + biome: "&bJy staan in \"&3%s&b\"" + unable-to-locate: "&bKan nie bioom opspoor nie." + tp: "&btele porten..." + locating-biome: "&bsoek bioom \"&3%s&b\"" +structure-log: "Genereer struktuur \"%1$s\" by %2$s %3$s %4$s. dimensies: X:%5$s, Y:%6$s, Z:%7$s." +custom-structures: + enable: "Initialiseer aangepaste struktuur populator ..." + unable-to-find: "Kan nie customStructures.yml opspoor nie. staak persoonlike struktuur Initialiseering." + file-not-found: "Die aangevraagde aangepaste struktuurlêer kon nie gevind word nie." + error: "'N Fout het voorgekom tydens 'n poging om die aangepaste struktuur te genereer" + log: "Genereer aangepaste struktuur \"%1$s\" by %2$s %3$s %4$s." + invalid-spawn: "%s is 'n ongeldige spawn-ligging. Moet óf GROND óf LUG wees." +mythicmobs: + enable: "Begin MythicMobs-integrasie" + fail-to-spawn: "staak kuit van Mobs. Is MythicMobs geïnstalleer?" + unable-to-find: "Kan nie mythicSpawns.yml opspoor nie. staak MythicMobs ewekansige kuiting." +advancements: + enable: "Aktiveer vooruitgang..." +paper: + - "U gebruik Spigot/Bukkit vir u bediener." + - "Gebruik Paper vir die beste ervaring met BetterEnd en al u plugins, gebruik asseblief Paper!" + - "Paper bevat baie optimalisasies bo-op Spigot's, wat beteken dat u 'n geweldige toename in prestasie sal sien." + - "Paper is 'n vurk van Spigot, wat beteken dat al jou inpropprogramme steeds moet werk op Paper." + - "Vind meer uit op hul webwerf: https://papermc.io/" +untested: + - "U gebruik 'n ander bediener implementering as Spigot of Paper!" + - "BetterEnd is nog nie op hierdie implementering getoets nie, en minimale ondersteuning sal verleen word indien probleme opduik tydens die gebruik daarvan." + - "As u probleme ondervind, moet u dit op Paper toets voordat u dit rapporteer!" + - "As u wil hê dat u implementering amptelik ondersteun moet word Kontak dfsek op die BetterEnd Discord server." diff --git a/src/main/resources/lang/en_us.yml b/src/main/resources/lang/en_us.yml index 403598e1a..17e40ec04 100644 --- a/src/main/resources/lang/en_us.yml +++ b/src/main/resources/lang/en_us.yml @@ -11,6 +11,7 @@ command: players-only: "Command is for players only." world: "This command must be executed in a Terra world!" reload: "Reloaded Terra config." + version: "This server is running Terra version \"%s\"" main-menu: - "--------------------Terra--------------------" - "reload - Reload configuration data" diff --git a/src/main/resources/lang/es.yml b/src/main/resources/lang/es.yml new file mode 100644 index 000000000..4ca8138b2 --- /dev/null +++ b/src/main/resources/lang/es.yml @@ -0,0 +1,107 @@ +enable: + - "Si te gusta Terra, puedes considerar apoyar el proyecto en Patreon!" + - "Tendrás acceso anticipado a caracteristicas experimentales antes de que sean lanzadas oficialmente!" + - "Puedes apoyar el proyecto aquí: https://www.patreon.com/dfsek" +disable: + - "Gracias por usar Terra!" +command: + player-only: "Este comando solo puede ser usado por jugadores!" + terra-world: "Este comando solo puede ser usado en un mundo Terra!" + invalid: "Comando invalido. (Expected %1$s arguments, found %2$s)." + players-only: "Este comando solo puede ser usado por jugadores" + world: "Este comando puede ejecutarse solo en un mundo terra!" + reload: "La configuración Terra ha sido recargada." + main-menu: + - "--------------------Terra--------------------" + - "reload - Recarga los datos de configuración del plugin." + - "biome - Obtienes información del bioma actual" + - "ore - Genera una mena de ore en el lugar que estes mirando.(For debugging)" + - "save-data - Guarda los datos actuales." + - "structure - Cargar o exportar estructuras." + - "profile - Opciones de perfil." + - "image - Opciones de imagen/GUI." + biome: + biome-found: "Bioma localizado en (%1$s, %2$s)" + unable-to-locate: "No se pudo localizar el bioma." + invalid-radius: "Radio invalido: \"%s\"" + invalid: "ID del bioma invalido: \"%s\"" + in: "Te encuentras en \"%s\"" + ore: + main-menu: + - "---------------Terra/ore---------------" + - "Generas una mena de ore en el bloque que te encuentres mirando." + out-of-range: "Bloque fuera de rango." + invalid-ore: "No se pudo encontrar el Ore \"%s\"" + geometry: + main-menu: + - "---------------Terra/geometry----------------" + - "Various voxel geometry debugging commands" + - "sphere - Generas un sphere" + - "deformsphere - Generas un sphere deformado" + - "tube - Generas un tube" + deform: + invalid-radius: "Radio invalido: \"%s\"" + invalid-deform: "Deform invalido: \"%s\"" + invalid-frequency: "Frequencia invalida: \"%s\"" + sphere: + invalid-radius: "Radio invalido: \"%s\"" + tube: + invalid-radius: "Radio invalido: \"%s\"" + image: + main-menu: + - "---------------Terra/image---------------" + - "render - Renderiza una imagen con alto y ancho, y este después podrá ser importado como un mundo." + - "gui - Abre el debug GUI.(Puede ser habilitado en la configuración)" + gui: + main-menu: + - "-------------Terra/image/gui-------------" + - "raw - Abre el GUI con la configuración del bioma sin procesar." + - "step - Vuelve a renderizar la configuración para mostrar los límites más claro." + debug: "El modo debug puede habilitarse para usar el debug GUI! LA CREACIÓN DEL DEBUG GUI NO PODRÍA SER SEGURA!" + render: + save: "Guarda una imagen como \"%s\"" + error: "Un error ha ocurrido mientras se generaba la imagen!" + profile: + main-menu: + - "---------------Terra/profile---------------" + - "start - Se incia la generación del Profiler." + - "stop - Se detiene la generación del Profiler." + - "query - Fetches profiler data" + - "reset - Reinicia la configuración del Profiler." + reset: "El Profiler ha sido reiniciado." + start: "El Profiler se ha iniciado." + stop: "El Profiler se ha detenido." + structure: + main-menu: + - "---------------Terra/structure---------------" + - "export - Exporta tus estructuras de Worldedit como estructuras Terra." + - "load - Carga una estructura Terra." + invalid-radius: "Radio invalido: \"%s\"" + invalid: "ID de la estructura es invalida: \"%s\"" + export: "Estructura guardada como \"%s\"" +world-config: + loading: "Carga los parametros de configuración para el mundo %s..." + not-found: "La configuración para el mundo \"%s\" no se puede encontrar. Copiando la configuración por defecto." + using-image: "Carga el mundo a partir de una imagen." + error: "No se pudo cargar la configuración para el mundo %s" + done: "el mundo se ha cargado completamente. Tiempo transcurrido: %sms" +config-pack: + loaded: "Configuración %1$s fue cargada en %2$sms." +config: + loaded: "Cargado en %1$s desde el archivo %2$s" + loaded-all: "Cargado en %1$s %2$s(s) en %3$sms." + error: + duplicate: "Una ID duplicada fué encontrado en el archivo: %s" + file: + - "Error de configuración para el objeto Terra. Archivo: %1$s" + - "%2$s" + - "Corrigelo antes de proseguir!" + generic: + - "Un error ha ocurrido mientras se cargaba las configuraciónes." + - "Es recomendable reportar esto a Terra." +warning: + no-population: "No se cargaron fragmentos de población. Si es la primera vez que inicias tu servidor con Terra, esto es normal si estás creando un nuevo mundo." +error: + severe-config: "Un grave error de configuración ha impedido que Terra genere correctamente el terreno en las coordenadas: %1$s, %2$s. Compruebe si hay errores en su configuración. Cualquier error de configuración se habrá informado anteriormente." +debug: + data-save: "Datos de población guardados para el mundo \"%s\"" \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f5c603b50..7f6070831 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: Terra depend: [ "Gaea" ] main: com.dfsek.terra.Terra -version: 1.0.0 +version: 1.0.0-BETA load: STARTUP api-version: "1.15" softdepend: ["WorldEdit"]