Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
BUMP UPDATE 1.3.1
Browse files Browse the repository at this point in the history
Adds 2 new languages and commands
  • Loading branch information
JaxkDev authored Jun 18, 2018
2 parents e44241f + eb8a2ee commit 836022c
Show file tree
Hide file tree
Showing 13 changed files with 269 additions and 74 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-language: php
-php:
- - "7.2"
-before_script:
- - if find . -name "*.php" ! -path "./vendor/*" -exec php -l {} \; | grep -v "No syntax errors detected"; then exit 1; fi
-script:
- - curl -s -O https://raw.githubusercontent.com/jackthehack21/MCPEToDiscord/dev/travis.sh
- - chmod u+x travis.sh
- - './travis.sh'
-#before_script:
-# - '! find . -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 >&- | grep "^"'
-#before_script:
-# - if find . -name "*.php" ! -path "./vendor/*" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v "No syntax errors detected"; then exit 1; fi
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# IMPORTANT NOTICE:
## THIS IS A DEVELOPMENT BUILD, THIS MEANS NO-ONE SHOULD BE USING IT ONLY DEVELOPER AND STAFF
## IF YOU DO USE THIS WITHOUT PERMISSION, ANY ISSUES/PR'S CREATED WILL BE CLOSED INSTANTLY.
## ON TOP OF THAT THIS DEV BARNCH MAY BREAK YOUR SERVER (SMALL CHANCE BUT STILL A CHANCE) WE HAVE WARNED YOU !

[![Build Status](https://travis-ci.org/jackthehack21/MCPEToDiscord.svg?branch=dev)](https://travis-ci.org/jackthehack21/MCPEToDiscord)

[![](https://poggit.pmmp.io/shield.state/MCPEToDiscord)](https://poggit.pmmp.io/p/MCPEToDiscord)

Expand Down
6 changes: 3 additions & 3 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: MCPEToDiscord
author: Jackthehaxk21
version: 1.3.0
version: 1.3.1
api:
- 3.0.0-ALPHA10
- 3.0.0-ALPHA11
Expand All @@ -10,9 +10,9 @@ main: Jack\DiscordMCPE\Main

commands:
discord:
description: Send a message to Discord!
description: Discord commands use /discord help for all cmds
permission: op
usage: /discord MESSAGE
usage: /discord help
defualt: true
aliases:
- dc
Expand Down
17 changes: 1 addition & 16 deletions resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
---

# +-------------------------------------------------+
# | MCPEToDiscord - VER 1.3 |
# |-------------------------------------------------|
# | |
# | Made by : Jackthehack21 ([email protected]) |
# | |
# | Build : 055#A |
# | |
# | Details : This plugin is aimed to give players |
# | A simple but fun view of what plugins |
# | Can do to modify your MCPE experience.|
# | |
# +-------------------------------------------------+


language: 'english' # english, spanish, german, chinese

debug: false

discord: "true"
discord: true

webhook_url: ""
webhook_name: "MCPE Webhook"
Expand Down
39 changes: 26 additions & 13 deletions resources/lang/chinese.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
---
disabled: "插件已禁用"
disabled_config: '插件被禁用,如config.yml中所述'
disabled_corrupt: '插件被禁用,因為config.yml已損壞'
disabled_error: '發生嚴重錯誤時,插件被禁用'
disabled:'插件已禁用'
disabled_config'插件被禁用,如config.yml中所述'
disabled_corrupt'插件被禁用,因為config.yml已損壞'
disabled_error'發生嚴重錯誤時,插件被禁用'

enabled: '插件已啟用'
enabled_incomplete: '插件配置不完整/損壞,確保所有值都正確,並且webhook鏈接有效'
enabled_debug: '啟用插件+啟用調試'
enabled_defualtlang: '語言無效檢查config.yml,語言設置為英語為defualt'
enabled'插件已啟用'
enabled_incomplete'插件配置不完整/損壞,確保所有值都正確,並且webhook鏈接有效'
enabled_debug'啟用插件+啟用調試'
enabled_defualtlang'語言無效檢查config.yml,語言設置為英語為defualt'

ingame: '命令/不和只能在遊戲中使用'
ingame'命令/不和只能在遊戲中使用'

args_missing: '請提供一條消息以發送/不和諧你好,這個消息來自mcpe'
command_disabled: '配置中指定的命令/不符合項'
send_fail: '不和諧信息發送失敗,請檢查控制台是否有完整的錯誤。'
send_success: '發送了不一致的消息!'
success:'成功!'
already_disabled:'插件已被禁用'
already_enabled:'插件已啟用'
now_disabled:'現在禁用插件'
now_enabled:'現在啟用插件'

debug_info_response:'所有細節已發送到控制台!'
info_note:'如果您打算在github上創建PR或問題,請提供所有這些信息。'

no_language:'沒有語言說,請選擇下列之一:'
language_already:'語言已經'
invalid_language:提供的語言無效。
invalid_command:'不是有效的命令嘗試,/不協調的幫助'
args_missing:'請提供一條信息發送/不和諧發送您好,這裡msg是從mcpe'
command_disabled:'命令</discord send>已禁用,如config中所述'
send_fail:'不和諧信息發送失敗,請檢查控制台是否有完整的錯誤。'
send_success:'發送了不一致的消息!'
---
17 changes: 15 additions & 2 deletions resources/lang/english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,21 @@ enabled_defualtlang: 'Language is invalid check config.yml, language set to engl

ingame: 'Command /discord can only be used in-game'

args_missing: 'Please provide a message to send e.g. /discord Hi there this msg is from mcpe'
command_disabled: 'Command /discord disabled as stated in config'
success: 'Success !'
already_disabled: 'Plugin is already disabled'
already_enabled: 'Plugin is already enabled'
now_disabled: 'Plugin is now disabled'
now_enabled: 'Plugin is now enabled'

debug_info_response: 'All details have been sent to the console !'
info_note: 'If you plan to create a PR or Issue on github please provide all of this information.'

no_language: 'No language said please choose one of the following:'
language_already: 'Language is already '
invalid_language: 'Invalid language provided.'
invalid_command: 'Not a valid command try, /discord help'
args_missing: 'Please provide a message to send e.g. /discord send Hi there this msg is from mcpe'
command_disabled: 'Command </discord send> disabled as stated in config'
send_fail: 'Discord message failed to send, check console for the full error.'
send_success: 'Discord message was sent!'
---
31 changes: 31 additions & 0 deletions resources/lang/french.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
disabled: 'Le plugin est désactivé'
disabled_config: 'Le plugin est désactivé comme indiqué dans config.yml'
disabled_corrupt: 'Le plugin est désactivé car config.yml est corrompu'
disabled_error: 'Le plugin est désactivé car une erreur sérieuse est survenue'

enabled: 'Le plugin est activé'
enabled_incomplete: 'La configuration du plugin est incomplète / corrompue assurez-vous que toutes les valeurs sont correctes et que le lien webhook est valide'
enabled_debug: 'Plugin est activé + débogage activé'
enabled_defualtlang: 'La langue nest pas valide vérifier config.yml, la langue définie en anglais comme defualt'

ingame: 'Command / discord ne peut être utilisé que dans le jeu'

success: 'Succès!'
already_disabled: 'Le plugin est déjà désactivé'
already_enabled: 'Le plugin est déjà activé'
now_disabled: 'Le plugin est maintenant désactivé'
now_enabled: 'Le plugin est maintenant activé'

debug_info_response: 'Tous les détails ont été envoyés à la console!'
info_note: 'Si vous envisagez de créer un PR ou un problème sur github, veuillez fournir toutes ces informations.'

no_language: 'Aucune langue, veuillez choisir lune des suivantes:'
language_already: 'La langue est déjà'
invalid_language: 'Langage invalide fourni.'
invalid_command: 'Pas une commande valide try, / discord help'
args_missing: 'Veuillez fournir un message à envoyer par ex. / discord envoyer Salut là ce msg vient de mcpe '
command_disabled: 'Command </ discord send> désactivé comme indiqué dans config'
send_fail: 'Le message Discord na pas pu être envoyé, vérifiez la console pour lerreur complète.'
send_success: 'Le message Discord a été envoyé!'
---
19 changes: 16 additions & 3 deletions resources/lang/german.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
disabled: 'Plugin ist deaktiviert'
disabled_config: 'Plugin ist deaktiviert wie in config.yml'
disabled_corrupt: 'Plugin ist deaktiviert, da config.yml beschädigt ist'
disabled_error: 'Plugin ist deaktiviert, da ein schwerwiegender Fehler aufgetreten ist'
disable_error: 'Plugin ist deaktiviert, da ein schwerwiegender Fehler aufgetreten ist'

enabled: 'Plugin ist aktiviert'
enabled_incomplete: 'Die Plugin-Konfiguration ist unvollständig / fehlerhaft. Stellen Sie sicher, dass alle Werte korrekt sind und der Webhook-Link gültig ist.'
Expand All @@ -11,8 +11,21 @@ enabled_defualtlang: 'Sprache ist ungültig check config.yml, Sprache auf Englis

ingame: 'Befehl / Zwietracht kann nur im Spiel verwendet werden'

args_missing: 'Bitte geben Sie eine Nachricht an, um z. / discord Hallo, diese msg stammt von mcpe '
command_disabled: 'Befehl / Zwietracht deaktiviert wie in config angegeben'
success: "Erfolg!"
already_disabled: 'Plugin ist bereits deaktiviert'
already_enabled: 'Plugin ist bereits aktiviert'
now_disabled: 'Plugin ist jetzt deaktiviert'
now_enabled: 'Plugin ist jetzt aktiviert'

debug_info_response: 'Alle Details wurden an die Konsole gesendet!'
info_note: 'Wenn Sie planen, eine PR oder Ausgabe auf GitHub zu erstellen, geben Sie bitte alle diese Informationen an.'

no_language: 'Keine Sprache, bitte wähle eine der folgenden Optionen:'
language_ready: 'Sprache ist schon'
invalid_language: 'Ungültige Sprache bereitgestellt.'
invalid_command: 'Kein gültiger Befehl try, / discord help'
args_missing: 'Bitte geben Sie eine Nachricht an, um z. / discord send Hi da diese msg ist von mcpe '
command_disabled: 'Befehl </ discord send> deaktiviert wie in config'
send_fail: 'Discord-Nachricht konnte nicht gesendet werden, überprüfen Sie die Konsole auf den vollständigen Fehler.'
send_success: 'Discord Nachricht wurde gesendet!'
---
31 changes: 31 additions & 0 deletions resources/lang/portuguese.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
disabled: 'Plugin está desativado'
disabled_config: 'Plugin está desativado conforme indicado em config.yml'
disabled_corrupt: 'Plugin está desabilitado porque o config.yml está corrompido'
disabled_error: 'O plug-in está desativado porque ocorreu um erro grave'

enabled: 'Plugin está ativado'
enabled_incomplete: 'A configuração do plug-in está incompleta / corrompida, certifique-se de que todos os valores estejam corretos e o link do webhook é válido'
enabled_debug: 'Plugin está ativado + debug ativado'
enabled_defualtlang: 'O idioma é inválido, verifique o config.yml, o idioma está definido para o inglês como defualt'

ingame: 'Comando / discórdia só pode ser usado no jogo'

success: 'Sucesso!'
already_disabled: 'Plugin já está desativado'
already_enabled: 'Plugin já está habilitado'
now_disabled: 'O plug-in está desativado'
now_enabled: 'Plugin está ativado agora'

debug_info_response: 'Todos os detalhes foram enviados para o console!'
info_note: 'Se você planeja criar um PR ou um problema no github, forneça todas essas informações.'

no_language: 'Nenhuma língua disse, por favor escolha uma das seguintes opções:'
language_already: 'O idioma já é'
invalid_language: 'Linguagem inválida fornecida'
invalid_command: 'Não é um comando válido, tente / discord help'
args_missing: 'Por favor, forneça uma mensagem para enviar, por ex. / discord send Oi ai esta msg é do mcpe '
command_disabled: 'Comando </ discord send> desativado conforme indicado em config'
send_fail: 'A mensagem de discordância não foi enviada, verifique a consola quanto ao erro completo.'
send_success: 'A mensagem de discórdia foi enviada!'
---
21 changes: 17 additions & 4 deletions resources/lang/spanish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,23 @@ enabled_incomplete: 'La configuración del complemento está incompleta / corrup
enabled_debug: 'El complemento está habilitado + depuración habilitada'
enabled_defualtlang: 'Idioma no válido check config.yml, idioma configurado en inglés como defualt'

ingame: 'mando /discord solo se puede usar en el juego'
ingame: 'Command / discord solo se puede usar en el juego'

args_missing: 'Proporcione un mensaje para enviar, p. / discordia Hola, este mensaje es de mcpe '
command_disabled: 'Command / discord disabled como se indica en config'
send_fail: 'No se pudo enviar el mensaje de discordia, compruebe el error completo en la consola'
success: '¡éxito!'
already_disabled: 'El complemento ya está desactivado'
already_enabled: 'El complemento ya está habilitado'
now_disabled: 'El complemento está ahora deshabilitado'
now_enabled: 'El complemento ahora está habilitado'

debug_info_response: '¡Todos los detalles han sido enviados a la consola!'
info_note: 'Si planea crear un PR o Issue en github, proporcione toda esta información'.

no_language: 'No se ha dicho ningún idioma, elija uno de los siguientes:'
language_already: 'El idioma ya está'
invalid_language: 'Idioma no válido proporcionado'.
invalid_command: 'No es un comando válido try, / discord help'
args_missing: 'Proporcione un mensaje para enviar, p. / Discord send Hola, este mensaje es de mcpe '
command_disabled: 'Command </ discord send> disabled como se indica en config'
send_fail: 'No se pudo enviar el mensaje de discordia, compruebe el error completo en la consola'.
send_success: '¡Se envió el mensaje de discordia!'
---
Loading

0 comments on commit 836022c

Please sign in to comment.