From de11db50bb70272b42f2a703fccd7d9df60640de Mon Sep 17 00:00:00 2001 From: Alejandro Liu Date: Tue, 25 Aug 2015 12:40:43 +0200 Subject: [PATCH] WorldProtect-2.1.1 --- WorldProtect/README.md | 12 ++++++------ WorldProtect/plugin.yml | 2 +- WorldProtect/resources/messages/messages.ini | 1 + WorldProtect/resources/messages/spa.ini | 7 ++++--- WorldProtect/src/aliuly/worldprotect/BanItem.php | 2 +- 5 files changed, 13 insertions(+), 11 deletions(-) diff --git a/WorldProtect/README.md b/WorldProtect/README.md index 7a93de1..7ad7a18 100644 --- a/WorldProtect/README.md +++ b/WorldProtect/README.md @@ -24,13 +24,13 @@ that. You are more likely to get a response and help that way. _NOTE:_ -This documentation was last updated for version **2.1.0**. +This documentation was last updated for version **2.1.1**. Please go to [github](https://github.com/alejandroliu/pocketmine-plugins/tree/master/WorldProtect) for the most up-to-date documentation. -You can also download this plugin from this [page](https://github.com/alejandroliu/pocketmine-plugins/releases/tag/WorldProtect-2.1.0). +You can also download this plugin from this [page](https://github.com/alejandroliu/pocketmine-plugins/releases/tag/WorldProtect-2.1.1). @@ -77,9 +77,6 @@ specified in the `server.properties` file. ## Documentation -**NOTE: v2.0.0 is a complete rewrite. Please test your settings -carefully when upgrading** - This plugin let's you limit what happens in a world. It is able to: @@ -307,7 +304,10 @@ Returns an integer or null. # Changes * 2.1.1: minor Update - * updated to libcommon 1.1 ItemName module. + * updated to libcommon 1.2.0dev2 + - Upgraded to ItemName module + - permissions defined in `plugin.yml` are applied + properly which means most sub commands are now **OP only**. * 2.1.0: API * Added API to determine max players * 2.0.3: Minor bug fix diff --git a/WorldProtect/plugin.yml b/WorldProtect/plugin.yml index 57ee92b..ae1eed9 100644 --- a/WorldProtect/plugin.yml +++ b/WorldProtect/plugin.yml @@ -4,7 +4,7 @@ load: STARTUP name: WorldProtect description: protect worlds from griefers, pvp, limits and borders -version: 2.1.0 +version: 2.1.1 author: aliuly website: https://github.com/alejandroliu/pocketmine-plugins/tree/master/WorldProtect diff --git a/WorldProtect/resources/messages/messages.ini b/WorldProtect/resources/messages/messages.ini index fe2170c..edd7bc0 100644 --- a/WorldProtect/resources/messages/messages.ini +++ b/WorldProtect/resources/messages/messages.ini @@ -36,6 +36,7 @@ "No blocks updated"="" "No help for %1%"="" "No items updated"="" +"No sub-commands available"="" "No sub-command specified"="" "Nothing to report"="" "OFF"="" diff --git a/WorldProtect/resources/messages/spa.ini b/WorldProtect/resources/messages/spa.ini index 4d9b5a0..d293c39 100644 --- a/WorldProtect/resources/messages/spa.ini +++ b/WorldProtect/resources/messages/spa.ini @@ -19,7 +19,7 @@ "Details for %1%"="Detalles para %1%" "Disable explosions in world or spawn area"="Desactiva explosiones en mundo ó zona de aparición" "Edits world motd text"="Edita el texto de bienvenida a mundo" -"Enabled %1% features"="" +"Enabled %1% features"="Habilitando %1% módulos" "Enabled one feature"="Activando un módulo" "Error loading level %1%"="Error cargando nivel %1%" "Explosion was stopped in %1%"="Explosión fue detenida en %1%" @@ -36,7 +36,8 @@ "No blocks updated"="No se modificó ningún bloque" "No help for %1%"="No ayuda disponible para %1%" "No items updated"="Ningún objeto modificado" -"No sub-command specified"="No sub-commando especificado" +"No sub-commands available"="No hay sub comandos disponibles" +"No sub-command specified"="No sub comando especificado" "Nothing to report"="Nada para reportar" "OFF"="APAGADO" "ON"="PRENDIDO" @@ -111,7 +112,7 @@ "[WP] You have been removed from\n[WP] %1%'s auth list"="[WP] Usted ha sido quitado de\n[WP] la lista autorizada de %1%" "[WP] motd for %1% removed"="[WP] motd para %1% borrado" "[WP] motd for %1% updated"="[WP] motd para %1% actualizado" -"[id] ..."="" +"[id] ..."="[id] ..." "[id] [id]"="" "[off|world|spawn]"="" "[on|off|spawn-off]"="" diff --git a/WorldProtect/src/aliuly/worldprotect/BanItem.php b/WorldProtect/src/aliuly/worldprotect/BanItem.php index 694e1d1..48b444a 100644 --- a/WorldProtect/src/aliuly/worldprotect/BanItem.php +++ b/WorldProtect/src/aliuly/worldprotect/BanItem.php @@ -55,7 +55,7 @@ public function onSCommand(CommandSender $c,Command $cc,$scmd,$world,array $args return true; } $cc = 0; - echo __METHOD__.",".__LINE__."\n";//##DEBUG + //echo __METHOD__.",".__LINE__."\n";//##DEBUG $ids = $this->owner->getCfg($world, "banitem", []); if ($scmd == "unbanitem") {