Some phrases and README changes

This commit is contained in:
Carlos 2020-08-28 13:57:35 +02:00
parent deac072d54
commit c00ef4a0f5
3 changed files with 45 additions and 19 deletions

View File

@ -4,12 +4,12 @@
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/mesacarlos/WebConsole)](https://github.com/mesacarlos/WebConsole/releases/latest)
![GitHub All Releases](https://img.shields.io/github/downloads/mesacarlos/WebConsole/total?label=total%20downloads)
WebConsole is a Spigot plugin for Minecraft 1.8-1.16+ that enables you to view your server console and manage your server from anywhere. It creates a WebSocket server in the background used by the web interface to send commands, receive your console log and manage your server.
WebConsole is a Spigot plugin for Minecraft 1.8-1.16+ that allows you to view your server console and manage your server from anywhere. It creates a WebSocket server in the background used by the web interface to send commands, receive your console log and manage your server.
Dont worry about privacy or security: all data is stored in your browser offline and your PC will connect directly to your minecraft server. No intermediary web servers, just you and your MC server.
#### Additional features:
* Multiuser system and View-only user mode: Users with the role "Viewer" can only read console, CPU and RAM usage. Users with role "Admin" can also run commands on the server. Useful if you want your friends to watch the server console but deny them from typing commands and ruining your server.
* Multiuser system and View-only user mode: You can create multiple users and set their role to "Admin" or "Viewer". Users with the role "Viewer" can only read console, CPU and RAM usage. Users with role "Admin" can also run commands on the server. Useful if you want your friends to watch the server console but deny them from typing commands and ruining your server.
* Command history: Use up/down arrow keys to browse the command history, like in the real console.
* Colors supported, for both Windows and Linux hosts. (Colors are represented different in each platform).
* Real-time connected players, machine CPU and server RAM usage information.
@ -42,16 +42,16 @@ Dont worry about privacy or security: all data is stored in your browser offline
A explanation of the `host`, `port`, `language` and `passwords` fields follows:
`host`: Leaving it as 0.0.0.0 will do the trick. If you want to listen to a network interface exclusively: If you are in a VPS or dedicated server (or you have a full public IP allocated for your device) type your public IP. If you are at your home (and you dont have a public IP assigned to your device) type your private IP, it should be something like 192.168.xx.xx.
`host`: Leaving it as 0.0.0.0 will do the trick. If you experience issues , you can change this value to your device IP. If you are in a VPS or dedicated server (or you have a full public IP allocated for your device) type your public IP. If you are at your home (and you dont have a public IP assigned to your device) type your private IP, it is probably something like 192.168.xx.xx.
`port`: A port where to run this plugin (cannot be the port you are using for Minecraft).
You can modify `language` to view console and command messages in your preferred language. Valid languages are English (`en`), Spanish (`es`), Chinese (`zh`), Czech (`cs`), Deutsch (`de`), Dutch (`nl`), French (`fr`), Italian (`it`), Korean (`ko`), Portuguese (`pt`) and Russian (`ru`). **IMPORTANT: There is a known issue with Microsoft Windows cmd that shows weird characters when using a language different than English. If you are using Windows to host your server, check [this wiki page](https://github.com/mesacarlos/WebConsole/wiki/Show-local-characters-in-Windows-Console) to solve the problem**.
From version 2.0 you can now create more than one user and set them as admin (Permission for both reading console and executing commands) or viewer (Permission for only reading console and CPU and RAM usage). This is configured using the `passwords` section:
- By default, a user called user1 with password mySecurePassword is created, please replace or remove it as it is only served as an example.
- If you want to create a admin user, type below `admin:` a row like `user: password` replacing user with your desired username and password with your password.
- You can create as many admins as you want repeating this step.
- By default, a user called user1 with password mySecurePassword is created, please replace or remove it as it is only served as an example.
- If you want to create a view-only user, remove the `{}` after `viewer: ` and do the same process as for admin users below `viewer: `. You can also create as many viewers as needed.
The rest of the fields are used for SSL configuration. You can see a tutorial on how to activate SSL [in this link](https://github.com/mesacarlos/WebConsole/wiki/SSL-Configuration). SSL **is not** required for WebConsole to work, you can still use it without encription, unless you are hosting your client in a HTTPS server, in this case is mandatory to enable SSL in all your servers due to web browsers restrictions.
@ -59,8 +59,8 @@ The rest of the fields are used for SSL configuration. You can see a tutorial on
## Using web interface
1. Download web interface (client.zip) from [Releases](https://github.com/mesacarlos/WebConsole/releases).
2. If you want, you can host it in a web server, or use it offline. That's up to you.
1. You can download web interface (client.zip) from [Releases](https://github.com/mesacarlos/WebConsole/releases) or, if you prefer, you can use my [WebConsole Hosted Clients](https://mesacarlos.es/webconsole/) webpage. You can host the client in a web server, or use it offline. That's up to you.
2. Open index.html if you downloaded the client or click on the latest version if you are using my Hosted Clients website.
3. To start adding servers, click on `Your servers`, and then `Add server`. Fill Server name, IP and WebConsole port (the one you placed into config.yml before), and you are ready to go. You will be prompted for password when connecting.
## Check connected WebConsole clients

View File

@ -218,8 +218,12 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body" id="disconnectionModalDescription">
Connection was lost with the server you were connected to, probably caused by a server stop.
<div class="modal-body">
<span id="disconnectionModalDescription">Connection was lost with the server. This can be caused by:</span>
<ul>
<li id="disconnectionModalsub1">Server was closed intentionally.</li>
<li id="disconnectionModalsub2">Port is not opened on your host. In this case, troubleshoot using <a href="https://www.yougetsignal.com/tools/open-ports/">this tool</a> and recheck your firewall or router.</li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" id="disconnectionModalCloseButton">Close</button>

View File

@ -32,7 +32,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Close",
"passwordSendButton": "Login",
"disconnectionModalLongTitle": "Disconnected",
"disconnectionModalDescription": "Connection was lost with the server you were connected to, probably caused by a server stop.",
"disconnectionModalDescription": "Connection was lost with the server. This can be caused by:",
"disconnectionModalsub1": "Server was closed intentionally.",
"disconnectionModalsub2": "Port is not opened on your host. In this case, troubleshoot using a port checker and recheck your firewall or router.",
"disconnectionModalCloseButton": "Close",
"disconnectionModalWelcomeScreenButton": "Back to welcome page",
"settingsLink": "Settings",
@ -71,7 +73,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Cerrar",
"passwordSendButton": "Iniciar sesión",
"disconnectionModalLongTitle": "Desconectado",
"disconnectionModalDescription": "Se ha perdido la conexión con el servidor al que estabas conectado. Esto puede ser debido a que el servidor se ha cerrado.",
"disconnectionModalDescription": "Se perdió la conexión con el servidor. Esto puede deberse a:",
"disconnectionModalsub1": "El servidor se cerró intencionadamente.",
"disconnectionModalsub2": "El puerto no está abierto en el host. Utiliza un port checker para verificar que el puerto está abierto y comprueba tu firewall o router.",
"disconnectionModalCloseButton": "Cerrar",
"disconnectionModalWelcomeScreenButton": "Volver a pagina de inicio",
"settingsLink": "Configuración",
@ -110,7 +114,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Закрыть",
"passwordSendButton": "Войти",
"disconnectionModalLongTitle": "Отключение!",
"disconnectionModalDescription": "Соединение с сервером, к которому вы подключены, потеряно.",
"disconnectionModalDescription": "Было потеряно соединение с сервером. Это может быть вызвано:",
"disconnectionModalsub1": "Сервер был закрыт намеренно.",
"disconnectionModalsub2": "Порт не открыт на вашем хосте. В этом случае устраните неполадки с помощью средства проверки портов и еще раз проверьте свой брандмауэр или маршрутизатор.",
"disconnectionModalCloseButton": "Закрыть",
"disconnectionModalWelcomeScreenButton": "Вернуться на страницу приветствия",
"settingsLink": "настройки",
@ -149,7 +155,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Fechar",
"passwordSendButton": "Logar",
"disconnectionModalLongTitle": "desconectado",
"disconnectionModalDescription": "Você foi desconectado, pode ser que o servidor foi fechado/reiniciado ou pode haver algum problema com a sua conexão.",
"disconnectionModalDescription": "A conexão com o servidor foi perdida. Isso pode ser causado por:",
"disconnectionModalsub1": "O servidor foi fechado intencionalmente.",
"disconnectionModalsub2": "A porta não está aberta em seu host. Se for esse o caso, solucione o problema com um testador de porta e verifique seu firewall ou router novamente.",
"disconnectionModalCloseButton": "Fechar",
"disconnectionModalWelcomeScreenButton": "Voltar à página de boas-vindas",
"settingsLink": "Configurações",
@ -188,7 +196,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "关闭",
"passwordSendButton": "登录",
"disconnectionModalLongTitle": "已断开",
"disconnectionModalDescription": "与服务器的通信中断, 可能是因为服务器停止运行.",
"disconnectionModalDescription": "与服务器的连接丢失。 这可能是由于:",
"disconnectionModalsub1": "服务器是有意关闭的。",
"disconnectionModalsub2": "您的主机上的端口未打开。 如果是这种情况,请使用端口测试仪进行故障排除,然后再次检查防火墙或路由器。",
"disconnectionModalCloseButton": "关闭",
"disconnectionModalWelcomeScreenButton": "返回欢迎页面",
"settingsLink": "设定值",
@ -227,7 +237,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "닫기",
"passwordSendButton": "로그인",
"disconnectionModalLongTitle": "연결 끊김",
"disconnectionModalDescription": "연결되어 있던 서버에서 연결이 끊겼습니다. 아마 서버가 닫힌 것 같습니다.",
"disconnectionModalDescription": "서버와의 연결이 끊어졌습니다. 원인은 다음과 같습니다.",
"disconnectionModalsub1": "서버가 의도적으로 닫혔습니다.",
"disconnectionModalsub2": "호스트에서 포트가 열려 있지 않습니다. 이 경우 포트 테스터로 문제를 해결하고 방화벽이나 라우터를 다시 확인하십시오.",
"disconnectionModalCloseButton": "닫기",
"disconnectionModalWelcomeScreenButton": "메인으로 돌아가기",
"settingsLink": "설정",
@ -266,7 +278,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Fermer",
"passwordSendButton": "S'identifier",
"disconnectionModalLongTitle": "Débranché",
"disconnectionModalDescription": "La connexion a été perdue avec le serveur auquel vous étiez connecté, probablement en raison d'un arrêt du serveur.",
"disconnectionModalDescription": "La connexion avec le serveur a été perdue. Cela peut être causé par:",
"disconnectionModalsub1": "Le serveur a été fermé intentionnellement.",
"disconnectionModalsub2": "Le port n'est pas ouvert sur votre hôte. Si tel est le cas, dépannez avec un testeur de port et vérifiez à nouveau votre firewall ou votre router.",
"disconnectionModalCloseButton": "Fermer",
"disconnectionModalWelcomeScreenButton": "Retour à la page d'accueil",
"settingsLink": "Réglages",
@ -305,7 +319,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Zavřít",
"passwordSendButton": "Přihlásit se",
"disconnectionModalLongTitle": "Odpojeno",
"disconnectionModalDescription": "Spojení se serverem s kterým jste byli spojení bylo přerušeno, pravděpodobně z důvodu vypnutí serveru.",
"disconnectionModalDescription": "Připojení bylo ztraceno se serverem. To může být způsobeno:",
"disconnectionModalsub1": "Server byl úmyslně uzavřen.",
"disconnectionModalsub2": "Port není na hostiteli otevřený. Pokud tomu tak je, odstraňte problém s testerem portů a znovu zkontrolujte firewall nebo router.",
"disconnectionModalCloseButton": "Zavřít",
"disconnectionModalWelcomeScreenButton": "Zpět na úvodní stránku",
"settingsLink": "Nastavení",
@ -344,7 +360,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Chiudi",
"passwordSendButton": "Login",
"disconnectionModalLongTitle": "Disconnesso",
"disconnectionModalDescription": "La connessione è stata persa al server al quale eri connesso, probabilmente il server e stato fermato con il comando stop.",
"disconnectionModalDescription": "La connessione con il server è stata persa. Ciò può essere causato da:",
"disconnectionModalsub1": "Il server è stato chiuso intenzionalmente.",
"disconnectionModalsub2": "La porta non è aperta sul tuo host. In tal caso, risolvere i problemi con un tester della porta e controllare nuovamente il firewall o il router.",
"disconnectionModalCloseButton": "Chiudi",
"disconnectionModalWelcomeScreenButton": "Torna alla Home",
"settingsLink": "Impostazioni",
@ -383,7 +401,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Sluiten",
"passwordSendButton": "Log in",
"disconnectionModalLongTitle": "Verbinding verbroken",
"disconnectionModalDescription": "De verbinding met de server waarmee u was verbonden is verbroken, waarschijnlijk is dit veroorzaakt door een serverstop.",
"disconnectionModalDescription": "De verbinding met de server is verbroken. Dit kan worden veroorzaakt door:",
"disconnectionModalsub1": "De server is opzettelijk gesloten.",
"disconnectionModalsub2": "De poort is niet open op uw host. Als dit het geval is, lost u het probleem op met een poorttester en controleert u uw firewall of router opnieuw.",
"disconnectionModalCloseButton": "Sluiten",
"disconnectionModalWelcomeScreenButton": "Terug naar homepagina",
"settingsLink": "Instellingen",
@ -422,7 +442,9 @@ function setLanguage(locale){
"passwordModalCloseButton": "Schließen",
"passwordSendButton": "Login",
"disconnectionModalLongTitle": "Verbindung getrennt",
"disconnectionModalDescription": "Die Verbindung wurde unterbrochen. Ist vielleicht dein Server gestoppt?",
"disconnectionModalDescription": "Die Verbindung zum Server wurde unterbrochen. Dies kann verursacht werden durch:",
"disconnectionModalsub1": "Server wurde absichtlich geschlossen.",
"disconnectionModalsub2": "Der Port ist auf Ihrem Host nicht geöffnet. Wenn dies der Fall ist, beheben Sie die Fehlerbehebung mit einem Port-Tester und überprüfen Sie Ihre Firewall oder Ihren Router erneut.",
"disconnectionModalCloseButton": "Schließen",
"disconnectionModalWelcomeScreenButton": "Zurück zur Startseite",
"settingsLink": "Einstellungen",