Comments (1)
This review corresponds with v1.5-rev3
root directory
│ .gitignore
│ LICENSE
│ phrases.properties
│ phrases_cs.properties
│ phrases_en.properties
│ phrases_es.properties
│ phrases_fr.properties
│ phrases_it.properties
│ phrases_nl.properties
│ phrases_pt.properties
│ phrases_ru.properties
│ phrases_zh.properties
│ plugin.yml
│ pom.xml
│ README.md
│
├───client
│ │ favicon.png
│ │ index.html
│ │ README_AFTER_UPGRADE.txt
│ │
│ ├───scripts
│ │ WebConsole.js
│ │ WebConsoleConnector.js
│ │ WebConsoleJqueryHandler.js
│ │ WebConsoleLanguage.js
│ │ WebConsoleManager.js
│ │ WebConsolePersistenceManager.js
│ │
│ └───styles
│ WebConsole.css
│
└───src
└───es
└───mesacarlos
└───webconsole
│ WebConsole.java
│
├───minecraft
│ WebConsoleCommand.java
│
├───util
│ DateTimeUtils.java
│ Internationalization.java
│ LogFilter.java
│ LoginManager.java
│
└───websocket
│ WSServer.java
│
├───command
│ CpuUsageCommand.java
│ ExecCommand.java
│ LogInCommand.java
│ PlayersCommand.java
│ RamUsageCommand.java
│ ReadLogFileCommand.java
│ WSCommand.java
│ WSCommandFactory.java
│
└───response
ConsoleOutput.java
CpuUsage.java
JSONOutput.java
LoginRequired.java
Players.java
Processed.java
RamUsage.java
UnknownCommand.java
Root directory
Root directory contains server-side translations files (*.properties), Maven pom.xml and plugin.yml
Client directory
- Root: Favicon and main html file.
- Scripts: Javascript scripts.
- WebConsole.js: Main JS file. It controls the main features of the client.
- WebConsoleConnector.js Basically the WebSocket client. Every object of this class represents a connection to a WS Server. Part of the functions inside are WebSocket event listeners, refer to https://developer.mozilla.org/es/docs/Web/API/WebSocket. The rest of the functions are used to send the messages received over WS to all the 'subscribers' (Actually it's just an observer design pattern impl)
- WebConsoleJqueryHandler.js JQuery Event handlers are here. Button click actions, key presses, etc...
- WebConsoleLanguage.js Client translations are stored here. About lang objects: It's key is the HTML id where the phrase should be, and the value, the sentence itself.
- WebConsoleManager.js Basically keeps all WebConsoleConnectors stored inside activeConnections array, and keeps them organized.
- WebConsolePersistenceManager.js Stores settings and servers into your browser localStorage.
- Styles: WebConsole main css file
src/es/mesacarlos/webconsole directory
- minecraft: Minecraft commands like /WebConsole are done here.
- util: General purpose Classes like i18n manager, LoginManager, etc... Read the javadocs for more info.
- websocket: WebSocket files
- command: WebConsole commands. They all implement WSCommand.java. For a detailed explanation, check out the repo wiki. WSCommandFactory.java creates a HashMap with all the valid WSCommands.
- response: All clases inside this package implement JSONOutput. Basically they are all the different responses that plugin can send to client.
- WSServer.java: WebSocketServer implementation.
- WebConsole.java: Main plugin file. Reads config, creates the WS Server, creates thread....
from webconsole.
Related Issues (20)
- TPS not working HOT 3
- Port doesnt seem to be running even though its open on my server and firewall HOT 1
- Cannot Connect to the Server HOT 7
- [Security Issue] Passwords in cookies are plaintext
- Suggestion: Add FTP Client
- Bug: AutoScroll for Mobile HOT 1
- Client high memory usage
- OpenSSL errors [please respond]
- How to add a viewer correctly? HOT 1
- Having the ability to set server side severs that are already setup
- TPS not showing
- I try to connect the spigot console to my website HOT 2
- I can't run commands
- Remove password for viewer
- different themes (just a recommendation)
- I'm sorry, I really don't know how to work with clients. HOT 2
- Can not connect to webconsole server HOT 2
- Paper 1.20.5 & 1.20.6 compatibility HOT 1
- files for webside doesn't work
- Wrong translation of colours HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webconsole.