Coder Social home page Coder Social logo

mesacarlos / webconsole Goto Github PK

View Code? Open in Web Editor NEW
181.0 10.0 36.0 580 KB

Spigot plugin to manage your server remotely using a web interface

Home Page: https://mesacarlos.es/webconsole/

License: MIT License

Java 33.88% HTML 18.01% JavaScript 3.80% TypeScript 43.30% SCSS 1.01%
java spigot bukkit papermc websockets minecraft console web management plugin

webconsole's People

Contributors

alexzvn avatar angela0930 avatar aplini avatar bxvcd-732 avatar cloudate9 avatar danny8376 avatar ddomino007 avatar dependabot[bot] avatar doncellup avatar farmstead001 avatar hks-hns avatar kamillaova avatar kuroneko6423 avatar mesacarlos avatar minemobs avatar stashenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webconsole's Issues

Create webconsole reload

It would be a good idea to implement a web console reload to load the new configuration without having to restart the server

Disconnected

image

I have enabled all of possible ports: WebConsole, WebServer, and my server port.
Why is this happening? In local console, nothing shows.
But browser consoles shows this:
WebConsoleConnector.js?v=2.1.0:25 WebSocket connection to 'ws://myip:5855/' failed: Error during WebSocket handshake: net::ERR_INVALID_HTTP_RESPONSE

I can't connect to my server

I have done all the steps in github and setup the plugin on my server. The server is online but it still doesn't work. I get this: "Disconnected Connection was lost with the server you were connected to, probably caused by a server stop."

Connected and waiting login from / (ip)

Every time I connect using the right open port with the right IP I get the same error. I tried re-installing the plugin and even after not even touching the config.yml file I still could not join. I need this plugin as I cannot type in the console from my raspberry pi 4. I had it working a few months ago, but after a memory wipe the plugin keeps giving this error. Any help would be much appreciated!!

BUG

[06:00:56 WARN]: java.io.FileNotFoundException: plugins/WebConsole/keystore.jks (No such file or director y)
[06:00:56 WARN]: at java.io.FileInputStream.open0(Native Method)
[06:00:56 WARN]: at java.io.FileInputStream.open(FileInputStream.java:195)
[06:00:56 WARN]: at java.io.FileInputStream.(FileInputStream.java:138)
[06:00:56 WARN]: at es.mesacarlos.webconsole.WebConsole.startWS(WebConsole.java:76)
[06:00:56 WARN]: at es.mesacarlos.webconsole.WebConsole.onEnable(WebConsole.java:36)
[06:00:56 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[06:00:56 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337 )
[06:00:56 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:40 3)
[06:00:56 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
[06:00:56 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330 )
[06:00:56 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[06:00:56 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[06:00:56 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[06:00:56 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[06:00:56 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[06:00:56 WARN]: at java.lang.Thread.run(Thread.java:748)

Need a precision (bukkit or not bukkit ?)

Hello,

I'm a newbye in the minecraft world and a I want to install you webconsole.

By following your documentation I'm blocked at step 2 : "Open and close your server to generate the config.yml file and open it."

What does it means "Open and close your server" ?

The doc does not tell what to do with the jar once downloaded.
By searching on the web I guess that you plugin is dependant to the bukkit version of minecraft not the original minecraft jar server ?

Because I have any "Plugin" folder on my server actually.

Thank you to bring precision for any dependances because it is not clear for me actually.

Server spits out errors when I put in my server IP under 'host'

When left on localhost, the server has no issues but as soon as I try change it and access it from far away, the server spits out error messages which I don't understand

[09:03:43] [Server thread/INFO]: [WebConsole] Enabling WebConsole v1.5
[09:03:43] [WebSocketSelector-76/WARN]: [WebSocketSelector-76] ERROR org.java_websocket.server.WebSocketServer - Shutdown due to fatal error
[09:03:43] [WebSocketSelector-76/WARN]: java.net.BindException: Cannot assign requested address: bind
[09:03:43] [WebSocketSelector-76/WARN]: at sun.nio.ch.Net.bind0(Native Method)
[09:03:43] [WebSocketSelector-76/WARN]: at sun.nio.ch.Net.bind(Unknown Source)
[09:03:43] [WebSocketSelector-76/WARN]: at sun.nio.ch.Net.bind(Unknown Source)
[09:03:43] [WebSocketSelector-76/WARN]: at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
[09:03:43] [WebSocketSelector-76/WARN]: at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
[09:03:43] [WebSocketSelector-76/WARN]: at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
[09:03:43] [WebSocketSelector-76/WARN]: at org.java_websocket.server.WebSocketServer.doSetupSelectorAndServerThread(WebSocketServer.java:505)
[09:03:43] [WebSocketSelector-76/WARN]: at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:315)
[09:03:43] [WebSocketSelector-76/WARN]: at com.mesacarlos.webconsole.WebConsole$1.run(WebConsole.java:122)
[09:03:43] [WebSocketSelector-76/WARN]: at java.lang.Thread.run(Unknown Source)
[09:03:43] [WebSocketSelector-76/WARN]: Exception in thread "WebSocketSelector-76"
[09:03:43] [Server thread/INFO]: [Essentials] Enabling Essentials v2.17.2.0
[09:03:43] [WebSocketSelector-76/WARN]: java.lang.NullPointerException
[09:03:43] [WebSocketSelector-76/WARN]: at com.mesacarlos.webconsole.websocket.WSServer.onError(WSServer.java:76)
[09:03:43] [WebSocketSelector-76/WARN]: at org.java_websocket.server.WebSocketServer.handleFatal(WebSocketServer.java:618)
[09:03:43] [WebSocketSelector-76/WARN]: at org.java_websocket.server.WebSocketServer.doSetupSelectorAndServerThread(WebSocketServer.java:514)
[09:03:43] [WebSocketSelector-76/WARN]: at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:315)
[09:03:43] [WebSocketSelector-76/WARN]: at com.mesacarlos.webconsole.WebConsole$1.run(WebConsole.java:122)
[09:03:43] [WebSocketSelector-76/WARN]: at java.lang.Thread.run(Unknown Source)

I obviously then can't connect to the plugin via the web interface

Anythinkg I'm doing wrong? ports are forwarded and all

Some errors don't show in the web console

I'm unsure of why so far, but NPE errors seem to not show in the web console sometimes. For example, when this error showed, only "null" was shown.
Additionally, some random things don't show like plugin tags. Such as:
"[PluginHere] Successfully loaded!" will show as "Successfully loaded!"

Essentially I'd like it to show everything a normal console does.

404 WebSocket Upgrade Failure

Hello,

I am trying to run a server with this plugin, but when I try to visit localhost:8080 it gives me this error: 404 WebSocket Upgrade Failure. Nothing else. My config.yml is
useSSL: false StoreType: JKS KeyStore: plugins/WebConsole/keystore.jks StorePassword: storepassword KeyPassword: keypassword host: 0.0.0.0 port: 8080 language: en passwords: admin: user: pass19 viewer: {}

Can anyone help me with this issue? Thanks in advance

Support for Dynmap

Hi,
I've an idea for this plugin with support for dynmap.
If the plugin checks the existence of dynmap, then if true it will be showing an iframe with the minecraft world.

Lightweight WebConsole Web App

Hey i wanted to ask if you could make a lightweight version of the Web App,
i really like this Project but wanted to implement it into another Website.
With lightweight i mean a version where you input the ip, port and Password and then connect, without saving any data and a function like "startWebConsole" with these values: ip, port, password, consoleTextArea, commandInputForm, whereItShouldShowRam, whereItShouldShowCPU, whereItShouldShowPlayer

So basically a developer friendly version that i only need to send all values to the function andWebConsole takes care of everything else

latest.log

Hello I have a problem.

When opening the webconsole almost when the server has just been opened, it shows me the log messages (The load and that) but after a certain time if I try to enter again, it appears "Error when trying to read latest.log" And so the rest of the day. Any solution?

(My natural language is Spanish so I'm sorry for bad English)

  • This translation was made with Google technology

WebConsole over Node.js application

I'm trying to connect to the console via the Node.js application. How can I bypass adding the server and entering the password so that I can enter the commands directly?

I'm sorry to use the issue

Error

I keep getting "Connection was lost with the server you were connected to, probably caused by a server stop."

Config.yml:
useSSL: false
StoreType: JKS
KeyStore: plugins/WebConsole/keystore.jks
StorePassword: storepassword
KeyPassword: keypassword
host: play.azamserver.me
port: 8080
password: hidden
language: en

What I put I Webconsole:
Server Name: AzamServer
Server IP: play.azamserver.me
Port: 8080

Port 8080 is forwarded on my router

java.net.bind.exception when restarting the server

Hi! We're trying to use your plugin on a Debian server running the latest version of Paper. Everything seems to work okay, excepting that when the Paper server is restarted WebConsole doesn't start, detecting that the direction is yet in use. It seems that the only solution is to change WebConsole's port each time we restart or restarting the whole server, which doesn't sound very practical.

By the way, we love your plugin and would like to be able to use it. Is there anything that we can do in order to solve that issue? Thanks in advance

[14:55:18] [Server thread/INFO]: [WebConsole] Enabling WebConsole v1.5
[14:55:18] [WebSocketSelector-72/ERROR]: [org.java_websocket.server.WebSocketServer] Shutdown due to fatal error
java.net.BindException: La dirección ya está en uso
        at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_252-ea]
        at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_252-ea]
        at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_252-ea]
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220) ~[?:1.8.0_252-ea]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) ~[?:1.8.0_252-ea]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:78) ~[?:1.8.0_252-ea]
        at org.java_websocket.server.WebSocketServer.doSetupSelectorAndServerThread(WebSocketServer.java:505) ~[?:?]
        at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:315) ~[?:?]
        at com.mesacarlos.webconsole.WebConsole$1.run(WebConsole.java:122) ~[?:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252-ea]
[14:55:18] [WebSocketSelector-72/WARN]: Exception in thread "WebSocketSelector-72" java.lang.NullPointerException
[14:55:18] [WebSocketSelector-72/WARN]:         at com.mesacarlos.webconsole.websocket.WSServer.onError(WSServer.java:76)
[14:55:18] [WebSocketSelector-72/WARN]:         at org.java_websocket.server.WebSocketServer.handleFatal(WebSocketServer.java:618)
[14:55:18] [WebSocketSelector-72/WARN]:         at org.java_websocket.server.WebSocketServer.doSetupSelectorAndServerThread(WebSocketServer.java:514)
[14:55:18] [WebSocketSelector-72/WARN]:         at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:315)
[14:55:18] [WebSocketSelector-72/WARN]:         at com.mesacarlos.webconsole.WebConsole$1.run(WebConsole.java:122)
[14:55:18] [WebSocketSelector-72/WARN]:         at java.lang.Thread.run(Thread.java:748)

German language integration

Hello, i've the integration for German

Very much people in the Minecraft Community speak German. And i think this You can add this snippet in your repository:

"navbarHomeLink": "Startseite",
"home_header": "Willkommen bei der WebConsole",
"home_description": "Nutze die Menübar um einen Server beizutreten",				"serversDropdown": "Deine Server",
"add_server": "Neuen Server hinzufügen",
"noServersAdded": "Keine Server hinzugefügt",
"lang_dropdown": "Sprache",
"addServerModalLongTitle": "Hinzufüge deinen Server",
"addServerModalSvName": "Server-Name:",
"addServerModalSvIp": "Server-IP:",
"addServerModalSvPort": "WebConsole Port:",
"addServerModalSvSsl": "Server ist SSL verschlüsselt",
"addServerModalSslAdvice": "SSL ist erforderlich für HTTPS Verbindungen",
"addServerModalClose": "Schließen",
"saveAndConnectServerButton": "Speichern und verbinden",
"passwordModalLongTitle": "Passwort benötigt",
"passwordModalLabel": "Passwort:",
"passwordModalRememberLabel": "Passwort merken",
"passwordModalCloseButton": "Schließen",
"passwordSendButton": "Login",
"disconnectionModalLongTitle": "Verbindung getrennt",
"disconnectionModalDescription": "Die Verbindung wurde unterbrochen. Ist vielleicht dein Server gestoppt?",
"disconnectionModalCloseButton": "Schließen",
"disconnectionModalWelcomeScreenButton": "Zurück zur Startseite",
"settingsLink": "Einstellungen",
"settingsModalLongTitle": "WebConsole Einstellungen",
"showDateSettingsSwitchLabel": "Zeig die Uhrzeit vor jeder Linie in der Console",
"readLogFileSwitchLabel": "Zeige die komplette Log nach dem Login",
"settingsModalCloseButton": "Fertig!",
"players_online": "Spieler Online",
"cpu_title": "CPU",
"ram_title": "RAM",
"deleteServerButton": "Server entfernen",
"sendCommandButton": "Senden"

Please write your Question or so in this issue! :D

compatible in mcbe

I think it would be very good if this console can also work in MCBE(Nukkit - Pocketmine)

Can't use the client on Android

Very cool plugin! I used to enter the console via mobile but now with the last version of the plugin it seems that I can't. I'm using Minecraft server version 1.16.2, I could be able to connect to the console on computer but not from my phone, it didn't even show the pop up to enter the password.

Is it Possible to Make a Discord bot link?

Hi, I Had a command in my bot which allowed me to whitelist members through a discord console, But Due to Sudden Conflicts, How do I link it to this console so that I can Make my admins' Lives easier?

p.s: Please Hook me Up on discord So Its Easier

somebody connected this to cloudflare ?

ssl certificate from cloudflare does not work with wss
I had to make my own domain without ssl for the console so that it could work
Maybe someone managed to connect via cloudflare?

No data for CPU usage

It was working just before upgrading Java 8 32bit to 64bit version.
image

{"status":1001,"statusDescription":"CPU Usage","usage":NaN,"message":"Usage is ?%"}

Edit: I am not able to reproduce the bug on another system.

Error address already in use

When I start the server it gives me an error saying [WebSocketSelector-35] ERROR org.java_websocket.server.WebSocketServer - Shutdown due to fatal error, right after enabling webconsole. It has a unique port and ip. What could be the problem?

No error or console

Hello, I just installed the webconsole package and plugin onto my server both running on the same linux machine so localhost port was used. I add the server on the webconsole using 127.0.0.1:port, then nothing happens. It never asked me for the password and then it has not shown anything as the image I added shows. No errors in console, checked and the port I specified is being used listening on 127.0.0.1:port.

Screen Shot 2020-05-28 at 6 32 56 PM

java.io.FileNotFoundException: plugins/WebConsole/keystore.jks (No such file or directory)

java.io.FileNotFoundException: plugins/WebConsole/keystore.jks (No such file or directory) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at java.io.FileInputStream.open0(Native Method) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at java.io.FileInputStream.open(FileInputStream.java:195) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at java.io.FileInputStream.<init>(FileInputStream.java:138) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at es.mesacarlos.webconsole.WebConsole.startWS(WebConsole.java:76) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at es.mesacarlos.webconsole.WebConsole.onEnable(WebConsole.java:36) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:328) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at com.rylinaux.plugman.util.PluginUtil.enable(PluginUtil.java:62) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at com.rylinaux.plugman.command.RestartCommand.execute(RestartCommand.java:124) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:711) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1596) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1439) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.util.Util.func_181617_a(SourceFile:46) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:838) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:775) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:629) Aug 27 19:12:10 srv1.jvod.online java[11054]: [19:12:10] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)

Impossible to connect [Bungeecord-paper]

Hello, today I installed the plugin on my server1 (paper-334 | MC 1.15.2) of my Bungeecord network.
And I can't connect when I add the server on the web interface. After a ctrl+F5, it worked. But the other members of my staff never succeeded and now that I'm on my laptop it doesn't work either.
What's the problem?

PS : a suggestion: add buttons to start, restart, stop the server.

Security Errors!

HI! I've installed The webconosole and configured it like it should be..
well.. it does nothing realy.. everything is 0/0 and it's throwing console errors like nothing else

these are all error I get when loading the Page

WebConsoleConnector.js?v=1.4:23 Mixed Content: The page at 'https://panel.slpnetwork.de/#' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://91.218.65.98/'. This request has been blocked; this endpoint must be available over WSS. connect @ WebConsoleConnector.js?v=1.4:23 loadConnection @ WebConsoleManager.js?v=1.4:34 openServer @ WebConsole.js?v=1.4:34 onclick @ (index):1 WebConsoleConnector.js?v=1.4:23 Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS. at WebConsoleConnector.connect (https://panel.slpnetwork.de/scripts/WebConsoleConnector.js?v=1.4:23:20) at WebConsoleManager.loadConnection (https://panel.slpnetwork.de/scripts/WebConsoleManager.js?v=1.4:34:25) at openServer (https://panel.slpnetwork.de/scripts/WebConsole.js?v=1.4:34:20) at HTMLAnchorElement.onclick (https://panel.slpnetwork.de/#:1:1) connect @ WebConsoleConnector.js?v=1.4:23 loadConnection @ WebConsoleManager.js?v=1.4:34 openServer @ WebConsole.js?v=1.4:34 onclick @ (index):1

I hope this is helpfull to improve or fix theses issues

[Suggestion] Prepend the server logs to the web console

Something I like to do when viewing my console is scrolling up and checking if there are any errors. It'd be awesome if the web console could add the previous logs from the beginning of the server to that current time. This should be possible by reading the logs/latest.log file.

Unable to connect to server when using SSL

Hi Carlos,

I have been trying to setup WebConsole-2.1 on a spigot 1.16.5, on Centos 8 stream server.

As long as I don´t use SSL, everything works like a champ and thanks for that. My son is very happy about it :)

I have enabled SSL with let´s encrypt certificates, following your guide to convert the certificate to keystore. So far it´s all good. I can see with different clients that the certificates are valid (both pure https and accessing https://server:port/.

Tho, when I access https://server:port/ I get: "404 WebSocket Upgrade Failure" that seems to be triggered by org/java_websocket/WebSocketImpl.class (only file that matches that specific error) and clearly Client.zip refuses to connect to it.

Firewall is setup correctly (it works in http and i can see connections going via tcpdump, both server side and client side).

There are no errors generated by running the spigot server.

[06:51:20] [WebSocketSelector-57/INFO]: [WebConsole] WebSocket Server started successfully.

So I am a bit lost here.. my config is simple:

$ cat config.yml
useSSL: true
StoreType: JKS
KeyStore: plugins/WebConsole/keystore.jks
StorePassword: redactedpasswd
KeyPassword: redactedpasswd
host: 0.0.0.0
port: 25575
language: en
passwords:
admin:
[snip]

google search was not very useful to me, I am a total newbie in java.

I would appreciate any help that you could give. Using http is not exactly what I had in mind :)

Thanks
Fabio

Few questions

Hi,
I run a private Minecraft server and I am trying to get this plugin installed. I have a few questions about it.

  1. Is it still maintained?
  2. Can SSL use a Cloudflare Origin Certificate
  3. Is there any video to help with the install
  4. Does this work with a server on a domain
  5. If there is no video, can you please make one

I would really appreciate it if you answered all my questions. Also, please do not reply to this post, and contact me at [email protected]. Thanks!

RAM usage value inaccurate

According to Task Manager on my server, It's not using as much as the web interface says. Is there a way to fix this?

Trust JKS certificate

Hi,
I've an external Synology NAS and that's where I host the website for the console.
My Minecraft Spigot Server is hosted on my own PC.
When I connect with port 80 / http, the thing works and everything is fine.
But when I connect with port 433 / https / SSL, it won't connect to my Spigot server.
I think it's because or the NAS or the Browser doesn't trust the .JKS certificate I created.
How do I fix this?

RAM usage is incorrect

I have been experimenting with your API to include my server stats on a web app. I did notice that the memory reading was incorrect:
Actual value:
image
Value displayed:
displayed

I know someone already pointed this out in issue #19, and you explained that it was caused by the heap size being different than the actual memory size.

I have reviewed your source code, and it appears the issue comes from lines 15 to 17 in WebConsole-2.0-rev2\src\es\mesacarlos\webconsole\websocket\command\RamUsageCommand.java:

image

You see, maxMemory() is the maximum heap size, whereas freeMemory() is the free heap size memory. Therefore, in order to get usage, you need to modify the code to this:
image

This resolved my issue, as totalMemory() is the current heapsize, which is more often than not way lower than the actual heap limit:
image

Other than that, I love your plugin, and it has been exactly what I was looking for, so many thanks for making it 👍

Hope this could help !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.