[](https://github.com/mesacarlos/WebConsole/releases/latest)

WebConsole is a Spigot plugin for Minecraft 1.8-1.14 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.
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.
Used to save your preferred language into your browser
https://github.com/mesacarlos
2019 Carlos Mesa under MIT License.
*/
functionsetLanguage(locale){
//Save to persistence
persistenceManager.setLanguage(locale);
//Set locale phrases
switch(locale){
case"en_US":
lang={
"home_link":"Home",
"home_header":"Select a server from the menu",
"home_description":"Use the navigation bar to add a new Minecraft Server or connect to a previously added one.",
"server_dropdown":"Your servers",
"add_server":"Add Server",
"lang_dropdown":"Language",
"addServerModalLongTitle":"Add a new server",
"addServerModalSvName":"Server name:",
"addServerModalSvIp":"Server IP:",
"addServerModalSvPort":"WebConsole port:",
"addServerModalSvSsl":"Server is SSL enabled",
"addServerModalClose":"Close",
"saveAndConnectServerButton":"Save and connect",
"passwordModalLongTitle":"Password required",
"passwordModalLabel":"Password:",
"passwordModalRememberLabel":"Remember password",
"passwordModalCloseButton":"Close",
"passwordSendButton":"Login",
"disconnectionModalLongTitle":"Disconnected",
"disconnectionModalDescription":"Connection was lost with the server you were connected to, probably caused by a server stop. Moved back to welcome screen.",
"disconnectionModalCloseButton":"Close",
"players_online":"Players Online",
"cpu_title":"CPU",
"ram_title":"RAM",
"deleteServerButton":"Delete server",
"sendCommandButton":"Send"
}
break;
case"es_ES":
lang={
"home_link":"Inicio",
"home_header":"Selecciona un servidor del menú",
"home_description":"Usa la barra superior para añadir un nuevo servidor de Minecraft o para conectarte a un servidor añadido previamente.",
"server_dropdown":"Tus servidores",
"add_server":"Añadir Server",
"lang_dropdown":"Idioma",
"addServerModalLongTitle":"Añadir un nuevo servidor",
"addServerModalSvName":"Nombre del servidor:",
"addServerModalSvIp":"IP del servidor:",
"addServerModalSvPort":"Puerto WebConsole:",
"addServerModalSvSsl":"SSL está activado",
"addServerModalClose":"Cerrar",
"saveAndConnectServerButton":"Guardar y conectar",
"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. Se ha vuelto a la ventana principal.",
"disconnectionModalCloseButton":"Cerrar",
"players_online":"Jugadores en línea",
"cpu_title":"CPU",
"ram_title":"RAM",
"deleteServerButton":"Borrar servidor",
"sendCommandButton":"Enviar"
}
break;
case"ru_RU"://Credit to Stashenko
lang={
"home_link":"Главная",
"home_header":"Выберите сервер из меню",
"home_description":"Используйте панель навигации, чтобы добавить новый сервер Minecraft или подключиться к ранее добавленному.",
"server_dropdown":"Ваши серверы",
"add_server":"Добавить сервер",
"lang_dropdown":"Язык",
"addServerModalLongTitle":"Добавить новый сервер",
"addServerModalSvName":"Название сервера:",
"addServerModalSvIp":"IP сервера:",
"addServerModalSvPort":"Порт WebConsole:",
"addServerModalSvSsl":"Сервер с поддержкой SSL",
"addServerModalClose":"Закрыть",
"saveAndConnectServerButton":"Сохранить и подключить",
"passwordModalLongTitle":"Требуется пароль",
"passwordModalLabel":"Пароль:",
"passwordModalRememberLabel":"Запомнить пароль",
"passwordModalCloseButton":"Закрыть",
"passwordSendButton":"Войти",
"disconnectionModalLongTitle":"Отключение!",
"disconnectionModalDescription":"Соединение с сервером, к которому вы подключены, потеряно.",
Used to save your preferred language into your browser
https://github.com/mesacarlos
2019 Carlos Mesa under MIT License.
*/
functionsetLanguage(locale){
//Save to persistence
persistenceManager.setLanguage(locale);
//Set locale phrases
switch(locale){
case"en_US":
lang={
"home_link":"Home",
"home_header":"Select a server from the menu",
"home_description":"Use the navigation bar to add a new Minecraft Server or connect to a previously added one.",
"server_dropdown":"Your servers",
"add_server":"Add Server",
"lang_dropdown":"Language",
"addServerModalLongTitle":"Add a new server",
"addServerModalSvName":"Server name:",
"addServerModalSvIp":"Server IP:",
"addServerModalSvPort":"WebConsole port:",
"addServerModalSvSsl":"Server is SSL enabled",
"addServerModalClose":"Close",
"saveAndConnectServerButton":"Save and connect",
"passwordModalLongTitle":"Password required",
"passwordModalLabel":"Password:",
"passwordModalRememberLabel":"Remember password",
"passwordModalCloseButton":"Close",
"passwordSendButton":"Login",
"disconnectionModalLongTitle":"Disconnected",
"disconnectionModalDescription":"Connection was lost with the server you were connected to, probably caused by a server stop. Moved back to welcome screen.",
"disconnectionModalCloseButton":"Close",
"players_online":"Players Online",
"cpu_title":"CPU",
"ram_title":"RAM usage",
"deleteServerButton":"Delete server",
"sendCommandButton":"Send"
}
break;
case"es_ES":
lang={
"home_link":"Inicio",
"home_header":"Selecciona un servidor del menú",
"home_description":"Usa la barra superior para añadir un nuevo servidor de Minecraft o para conectarte a un servidor añadido previamente.",
"server_dropdown":"Tus servidores",
"add_server":"Añadir Server",
"lang_dropdown":"Idioma",
"addServerModalLongTitle":"Añadir un nuevo servidor",
"addServerModalSvName":"Nombre del servidor:",
"addServerModalSvIp":"IP del servidor:",
"addServerModalSvPort":"Puerto WebConsole:",
"addServerModalSvSsl":"SSL está activado",
"addServerModalClose":"Cerrar",
"saveAndConnectServerButton":"Guardar y conectar",
"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. Se ha vuelto a la ventana principal.",
"disconnectionModalCloseButton":"Cerrar",
"players_online":"Jugadores en línea",
"cpu_title":"CPU",
"ram_title":"RAM en uso",
"deleteServerButton":"Borrar servidor",
"sendCommandButton":"Enviar"
}
break;
case"ru_RU"://Credit to Stashenko
lang={
"home_link":"Главная",
"home_header":"Выберите сервер из меню",
"home_description":"Используйте панель навигации, чтобы добавить новый сервер Minecraft или подключиться к ранее добавленному.",
"server_dropdown":"Ваши серверы",
"add_server":"Добавить сервер",
"lang_dropdown":"Язык",
"addServerModalLongTitle":"Добавить новый сервер",
"addServerModalSvName":"Название сервера:",
"addServerModalSvIp":"IP сервера:",
"addServerModalSvPort":"Порт WebConsole:",
"addServerModalSvSsl":"Сервер с поддержкой SSL",
"addServerModalClose":"Закрыть",
"saveAndConnectServerButton":"Сохранить и подключить",
"passwordModalLongTitle":"Требуется пароль",
"passwordModalLabel":"Пароль:",
"passwordModalRememberLabel":"Запомнить пароль",
"passwordModalCloseButton":"Закрыть",
"passwordSendButton":"Войти",
"disconnectionModalLongTitle":"Отключение!",
"disconnectionModalDescription":"Соединение с сервером, к которому вы подключены, потеряно.",
@ -29,7 +29,7 @@ public class RamUsage implements JSONOutput {
* Free amount of RAM, in MB
* @return
*/
publicintgetFree(){
publiclonggetFree(){
returnfree;
}
@ -37,7 +37,7 @@ public class RamUsage implements JSONOutput {
* Used amount of RAM, in MB
* @return
*/
publicintgetUsed(){
publiclonggetUsed(){
returnused;
}
@ -45,7 +45,7 @@ public class RamUsage implements JSONOutput {
* Max amount of RAM, in MB
* @return
*/
publicintgetMax(){
publiclonggetMax(){
returnmax;
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.