summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPugmatt <pugmatt@gmail.com>2019-09-29 12:01:31 -0400
committerPugmatt <pugmatt@gmail.com>2019-09-29 12:01:31 -0400
commit2f55bc8612103948a032062846e635c6df44c590 (patch)
tree9268849cae121e79511f9dbaca0107b466d49cc2
parentdeee452844cb5faed0d10c87329f4c643ef21944 (diff)
downloadBedrockConnect-1.1.tar.gz
BedrockConnect-1.1.tar.bz2
BedrockConnect-1.1.zip
Move prototype files to a legacy folder1.1
-rw-r--r--legacy/README.md4
-rw-r--r--legacy/index.js (renamed from index.js)0
-rw-r--r--legacy/package-lock.json (renamed from package-lock.json)0
-rw-r--r--legacy/package.json (renamed from package.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/.editorconfig (renamed from website-instructions/bedrockconnect/.editorconfig)0
-rw-r--r--legacy/website-instructions/bedrockconnect/.gitignore (renamed from website-instructions/bedrockconnect/.gitignore)0
-rw-r--r--legacy/website-instructions/bedrockconnect/README.md (renamed from website-instructions/bedrockconnect/README.md)0
-rw-r--r--legacy/website-instructions/bedrockconnect/angular.json (renamed from website-instructions/bedrockconnect/angular.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/e2e/protractor.conf.js (renamed from website-instructions/bedrockconnect/e2e/protractor.conf.js)0
-rw-r--r--legacy/website-instructions/bedrockconnect/e2e/src/app.e2e-spec.ts (renamed from website-instructions/bedrockconnect/e2e/src/app.e2e-spec.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/e2e/src/app.po.ts (renamed from website-instructions/bedrockconnect/e2e/src/app.po.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/e2e/tsconfig.e2e.json (renamed from website-instructions/bedrockconnect/e2e/tsconfig.e2e.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/package-lock.json (renamed from website-instructions/bedrockconnect/package-lock.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/package.json (renamed from website-instructions/bedrockconnect/package.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app-routing.module.ts (renamed from website-instructions/bedrockconnect/src/app/app-routing.module.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.html (renamed from website-instructions/bedrockconnect/src/app/app.component.html)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.spec.ts (renamed from website-instructions/bedrockconnect/src/app/app.component.spec.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.styl (renamed from website-instructions/bedrockconnect/src/app/app.component.styl)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.component.ts (renamed from website-instructions/bedrockconnect/src/app/app.component.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/app.module.ts (renamed from website-instructions/bedrockconnect/src/app/app.module.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.html (renamed from website-instructions/bedrockconnect/src/app/home/home.component.html)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts (renamed from website-instructions/bedrockconnect/src/app/home/home.component.spec.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.styl (renamed from website-instructions/bedrockconnect/src/app/home/home.component.styl)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/app/home/home.component.ts (renamed from website-instructions/bedrockconnect/src/app/home/home.component.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/.gitkeep (renamed from website-instructions/bedrockconnect/src/assets/.gitkeep)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/background.png (renamed from website-instructions/bedrockconnect/src/assets/background.png)bin602916 -> 602916 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/github.png (renamed from website-instructions/bedrockconnect/src/assets/github.png)bin44873 -> 44873 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/logo.png (renamed from website-instructions/bedrockconnect/src/assets/logo.png)bin11245 -> 11245 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/switch.svg (renamed from website-instructions/bedrockconnect/src/assets/switch.svg)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/assets/xbox.png (renamed from website-instructions/bedrockconnect/src/assets/xbox.png)bin46926 -> 46926 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/browserslist (renamed from website-instructions/bedrockconnect/src/browserslist)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/environments/environment.prod.ts (renamed from website-instructions/bedrockconnect/src/environments/environment.prod.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/environments/environment.ts (renamed from website-instructions/bedrockconnect/src/environments/environment.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/favicon.ico (renamed from website-instructions/bedrockconnect/src/favicon.ico)bin5430 -> 5430 bytes
-rw-r--r--legacy/website-instructions/bedrockconnect/src/index.html (renamed from website-instructions/bedrockconnect/src/index.html)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/karma.conf.js (renamed from website-instructions/bedrockconnect/src/karma.conf.js)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/main.ts (renamed from website-instructions/bedrockconnect/src/main.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/polyfills.ts (renamed from website-instructions/bedrockconnect/src/polyfills.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/styles.styl (renamed from website-instructions/bedrockconnect/src/styles.styl)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/test.ts (renamed from website-instructions/bedrockconnect/src/test.ts)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/tsconfig.app.json (renamed from website-instructions/bedrockconnect/src/tsconfig.app.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/tsconfig.spec.json (renamed from website-instructions/bedrockconnect/src/tsconfig.spec.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/src/tslint.json (renamed from website-instructions/bedrockconnect/src/tslint.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/tsconfig.json (renamed from website-instructions/bedrockconnect/tsconfig.json)0
-rw-r--r--legacy/website-instructions/bedrockconnect/tslint.json (renamed from website-instructions/bedrockconnect/tslint.json)0
-rw-r--r--legacy/website-prototype/app.js (renamed from website-prototype/app.js)0
-rw-r--r--legacy/website-prototype/bin/www (renamed from website-prototype/bin/www)0
-rw-r--r--legacy/website-prototype/database.js (renamed from website-prototype/database.js)0
-rw-r--r--legacy/website-prototype/models/server.js (renamed from website-prototype/models/server.js)0
-rw-r--r--legacy/website-prototype/package-lock.json (renamed from website-prototype/package-lock.json)0
-rw-r--r--legacy/website-prototype/package.json (renamed from website-prototype/package.json)0
-rw-r--r--legacy/website-prototype/public/font/minecraft_regular.ttf (renamed from website-prototype/public/font/minecraft_regular.ttf)bin13988 -> 13988 bytes
-rw-r--r--legacy/website-prototype/public/images/bg.png (renamed from website-prototype/public/images/bg.png)bin808 -> 808 bytes
-rw-r--r--legacy/website-prototype/public/javascript/server.js (renamed from website-prototype/public/javascript/server.js)0
-rw-r--r--legacy/website-prototype/public/stylesheets/style.css (renamed from website-prototype/public/stylesheets/style.css)0
-rw-r--r--legacy/website-prototype/routes/index.js (renamed from website-prototype/routes/index.js)0
-rw-r--r--legacy/website-prototype/routes/servers.js (renamed from website-prototype/routes/servers.js)0
-rw-r--r--legacy/website-prototype/routes/users.js (renamed from website-prototype/routes/users.js)0
-rw-r--r--legacy/website-prototype/views/error.pug (renamed from website-prototype/views/error.pug)0
-rw-r--r--legacy/website-prototype/views/index.pug (renamed from website-prototype/views/index.pug)0
-rw-r--r--legacy/website-prototype/views/layout.pug (renamed from website-prototype/views/layout.pug)0
-rw-r--r--serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/listeners/PacketHandler.java8
62 files changed, 8 insertions, 4 deletions
diff --git a/legacy/README.md b/legacy/README.md
new file mode 100644
index 0000000..2185859
--- /dev/null
+++ b/legacy/README.md
@@ -0,0 +1,4 @@
+# Legacy
+
+These are the original prototypes for BedrockConnect, thought I would throw them in here for the hell of it. Originally the BedrockConnect serverlist was going to be done through the browser, and you would change the server you want to join in the browser application.
+I later realized the potential of the 'transfer' packet that Bedrock Edition has that allows you to transfer players to other servers, so I ended up switching to the ingame serverlist, which is definitely better! \ No newline at end of file
diff --git a/index.js b/legacy/index.js
index e666f5f..e666f5f 100644
--- a/index.js
+++ b/legacy/index.js
diff --git a/package-lock.json b/legacy/package-lock.json
index c660a49..c660a49 100644
--- a/package-lock.json
+++ b/legacy/package-lock.json
diff --git a/package.json b/legacy/package.json
index 6d36d90..6d36d90 100644
--- a/package.json
+++ b/legacy/package.json
diff --git a/website-instructions/bedrockconnect/.editorconfig b/legacy/website-instructions/bedrockconnect/.editorconfig
index 6e87a00..6e87a00 100644
--- a/website-instructions/bedrockconnect/.editorconfig
+++ b/legacy/website-instructions/bedrockconnect/.editorconfig
diff --git a/website-instructions/bedrockconnect/.gitignore b/legacy/website-instructions/bedrockconnect/.gitignore
index ee5c9d8..ee5c9d8 100644
--- a/website-instructions/bedrockconnect/.gitignore
+++ b/legacy/website-instructions/bedrockconnect/.gitignore
diff --git a/website-instructions/bedrockconnect/README.md b/legacy/website-instructions/bedrockconnect/README.md
index d8097ef..d8097ef 100644
--- a/website-instructions/bedrockconnect/README.md
+++ b/legacy/website-instructions/bedrockconnect/README.md
diff --git a/website-instructions/bedrockconnect/angular.json b/legacy/website-instructions/bedrockconnect/angular.json
index c37e7c0..c37e7c0 100644
--- a/website-instructions/bedrockconnect/angular.json
+++ b/legacy/website-instructions/bedrockconnect/angular.json
diff --git a/website-instructions/bedrockconnect/e2e/protractor.conf.js b/legacy/website-instructions/bedrockconnect/e2e/protractor.conf.js
index 86776a3..86776a3 100644
--- a/website-instructions/bedrockconnect/e2e/protractor.conf.js
+++ b/legacy/website-instructions/bedrockconnect/e2e/protractor.conf.js
diff --git a/website-instructions/bedrockconnect/e2e/src/app.e2e-spec.ts b/legacy/website-instructions/bedrockconnect/e2e/src/app.e2e-spec.ts
index ead3daa..ead3daa 100644
--- a/website-instructions/bedrockconnect/e2e/src/app.e2e-spec.ts
+++ b/legacy/website-instructions/bedrockconnect/e2e/src/app.e2e-spec.ts
diff --git a/website-instructions/bedrockconnect/e2e/src/app.po.ts b/legacy/website-instructions/bedrockconnect/e2e/src/app.po.ts
index 82ea75b..82ea75b 100644
--- a/website-instructions/bedrockconnect/e2e/src/app.po.ts
+++ b/legacy/website-instructions/bedrockconnect/e2e/src/app.po.ts
diff --git a/website-instructions/bedrockconnect/e2e/tsconfig.e2e.json b/legacy/website-instructions/bedrockconnect/e2e/tsconfig.e2e.json
index a6dd622..a6dd622 100644
--- a/website-instructions/bedrockconnect/e2e/tsconfig.e2e.json
+++ b/legacy/website-instructions/bedrockconnect/e2e/tsconfig.e2e.json
diff --git a/website-instructions/bedrockconnect/package-lock.json b/legacy/website-instructions/bedrockconnect/package-lock.json
index a7fbb1f..a7fbb1f 100644
--- a/website-instructions/bedrockconnect/package-lock.json
+++ b/legacy/website-instructions/bedrockconnect/package-lock.json
diff --git a/website-instructions/bedrockconnect/package.json b/legacy/website-instructions/bedrockconnect/package.json
index f1f02c3..f1f02c3 100644
--- a/website-instructions/bedrockconnect/package.json
+++ b/legacy/website-instructions/bedrockconnect/package.json
diff --git a/website-instructions/bedrockconnect/src/app/app-routing.module.ts b/legacy/website-instructions/bedrockconnect/src/app/app-routing.module.ts
index 72da73e..72da73e 100644
--- a/website-instructions/bedrockconnect/src/app/app-routing.module.ts
+++ b/legacy/website-instructions/bedrockconnect/src/app/app-routing.module.ts
diff --git a/website-instructions/bedrockconnect/src/app/app.component.html b/legacy/website-instructions/bedrockconnect/src/app/app.component.html
index ae7694e..ae7694e 100644
--- a/website-instructions/bedrockconnect/src/app/app.component.html
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.html
diff --git a/website-instructions/bedrockconnect/src/app/app.component.spec.ts b/legacy/website-instructions/bedrockconnect/src/app/app.component.spec.ts
index d326ea3..d326ea3 100644
--- a/website-instructions/bedrockconnect/src/app/app.component.spec.ts
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.spec.ts
diff --git a/website-instructions/bedrockconnect/src/app/app.component.styl b/legacy/website-instructions/bedrockconnect/src/app/app.component.styl
index 4a720e9..4a720e9 100644
--- a/website-instructions/bedrockconnect/src/app/app.component.styl
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.styl
diff --git a/website-instructions/bedrockconnect/src/app/app.component.ts b/legacy/website-instructions/bedrockconnect/src/app/app.component.ts
index e98ac5b..e98ac5b 100644
--- a/website-instructions/bedrockconnect/src/app/app.component.ts
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.component.ts
diff --git a/website-instructions/bedrockconnect/src/app/app.module.ts b/legacy/website-instructions/bedrockconnect/src/app/app.module.ts
index 014550e..014550e 100644
--- a/website-instructions/bedrockconnect/src/app/app.module.ts
+++ b/legacy/website-instructions/bedrockconnect/src/app/app.module.ts
diff --git a/website-instructions/bedrockconnect/src/app/home/home.component.html b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.html
index 327869a..327869a 100644
--- a/website-instructions/bedrockconnect/src/app/home/home.component.html
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.html
diff --git a/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts
index 490e81b..490e81b 100644
--- a/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.spec.ts
diff --git a/website-instructions/bedrockconnect/src/app/home/home.component.styl b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.styl
index 90330ce..90330ce 100644
--- a/website-instructions/bedrockconnect/src/app/home/home.component.styl
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.styl
diff --git a/website-instructions/bedrockconnect/src/app/home/home.component.ts b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.ts
index 186929a..186929a 100644
--- a/website-instructions/bedrockconnect/src/app/home/home.component.ts
+++ b/legacy/website-instructions/bedrockconnect/src/app/home/home.component.ts
diff --git a/website-instructions/bedrockconnect/src/assets/.gitkeep b/legacy/website-instructions/bedrockconnect/src/assets/.gitkeep
index e69de29..e69de29 100644
--- a/website-instructions/bedrockconnect/src/assets/.gitkeep
+++ b/legacy/website-instructions/bedrockconnect/src/assets/.gitkeep
diff --git a/website-instructions/bedrockconnect/src/assets/background.png b/legacy/website-instructions/bedrockconnect/src/assets/background.png
index 97105cc..97105cc 100644
--- a/website-instructions/bedrockconnect/src/assets/background.png
+++ b/legacy/website-instructions/bedrockconnect/src/assets/background.png
Binary files differ
diff --git a/website-instructions/bedrockconnect/src/assets/github.png b/legacy/website-instructions/bedrockconnect/src/assets/github.png
index a8549e7..a8549e7 100644
--- a/website-instructions/bedrockconnect/src/assets/github.png
+++ b/legacy/website-instructions/bedrockconnect/src/assets/github.png
Binary files differ
diff --git a/website-instructions/bedrockconnect/src/assets/logo.png b/legacy/website-instructions/bedrockconnect/src/assets/logo.png
index d0b9c99..d0b9c99 100644
--- a/website-instructions/bedrockconnect/src/assets/logo.png
+++ b/legacy/website-instructions/bedrockconnect/src/assets/logo.png
Binary files differ
diff --git a/website-instructions/bedrockconnect/src/assets/switch.svg b/legacy/website-instructions/bedrockconnect/src/assets/switch.svg
index 30a1e76..30a1e76 100644
--- a/website-instructions/bedrockconnect/src/assets/switch.svg
+++ b/legacy/website-instructions/bedrockconnect/src/assets/switch.svg
diff --git a/website-instructions/bedrockconnect/src/assets/xbox.png b/legacy/website-instructions/bedrockconnect/src/assets/xbox.png
index 29f060a..29f060a 100644
--- a/website-instructions/bedrockconnect/src/assets/xbox.png
+++ b/legacy/website-instructions/bedrockconnect/src/assets/xbox.png
Binary files differ
diff --git a/website-instructions/bedrockconnect/src/browserslist b/legacy/website-instructions/bedrockconnect/src/browserslist
index 37371cb..37371cb 100644
--- a/website-instructions/bedrockconnect/src/browserslist
+++ b/legacy/website-instructions/bedrockconnect/src/browserslist
diff --git a/website-instructions/bedrockconnect/src/environments/environment.prod.ts b/legacy/website-instructions/bedrockconnect/src/environments/environment.prod.ts
index 3612073..3612073 100644
--- a/website-instructions/bedrockconnect/src/environments/environment.prod.ts
+++ b/legacy/website-instructions/bedrockconnect/src/environments/environment.prod.ts
diff --git a/website-instructions/bedrockconnect/src/environments/environment.ts b/legacy/website-instructions/bedrockconnect/src/environments/environment.ts
index 7b4f817..7b4f817 100644
--- a/website-instructions/bedrockconnect/src/environments/environment.ts
+++ b/legacy/website-instructions/bedrockconnect/src/environments/environment.ts
diff --git a/website-instructions/bedrockconnect/src/favicon.ico b/legacy/website-instructions/bedrockconnect/src/favicon.ico
index 8081c7c..8081c7c 100644
--- a/website-instructions/bedrockconnect/src/favicon.ico
+++ b/legacy/website-instructions/bedrockconnect/src/favicon.ico
Binary files differ
diff --git a/website-instructions/bedrockconnect/src/index.html b/legacy/website-instructions/bedrockconnect/src/index.html
index 52b1465..52b1465 100644
--- a/website-instructions/bedrockconnect/src/index.html
+++ b/legacy/website-instructions/bedrockconnect/src/index.html
diff --git a/website-instructions/bedrockconnect/src/karma.conf.js b/legacy/website-instructions/bedrockconnect/src/karma.conf.js
index b6e0042..b6e0042 100644
--- a/website-instructions/bedrockconnect/src/karma.conf.js
+++ b/legacy/website-instructions/bedrockconnect/src/karma.conf.js
diff --git a/website-instructions/bedrockconnect/src/main.ts b/legacy/website-instructions/bedrockconnect/src/main.ts
index c7b673c..c7b673c 100644
--- a/website-instructions/bedrockconnect/src/main.ts
+++ b/legacy/website-instructions/bedrockconnect/src/main.ts
diff --git a/website-instructions/bedrockconnect/src/polyfills.ts b/legacy/website-instructions/bedrockconnect/src/polyfills.ts
index ee8b84d..ee8b84d 100644
--- a/website-instructions/bedrockconnect/src/polyfills.ts
+++ b/legacy/website-instructions/bedrockconnect/src/polyfills.ts
diff --git a/website-instructions/bedrockconnect/src/styles.styl b/legacy/website-instructions/bedrockconnect/src/styles.styl
index 712a284..712a284 100644
--- a/website-instructions/bedrockconnect/src/styles.styl
+++ b/legacy/website-instructions/bedrockconnect/src/styles.styl
diff --git a/website-instructions/bedrockconnect/src/test.ts b/legacy/website-instructions/bedrockconnect/src/test.ts
index 1631789..1631789 100644
--- a/website-instructions/bedrockconnect/src/test.ts
+++ b/legacy/website-instructions/bedrockconnect/src/test.ts
diff --git a/website-instructions/bedrockconnect/src/tsconfig.app.json b/legacy/website-instructions/bedrockconnect/src/tsconfig.app.json
index 190fd30..190fd30 100644
--- a/website-instructions/bedrockconnect/src/tsconfig.app.json
+++ b/legacy/website-instructions/bedrockconnect/src/tsconfig.app.json
diff --git a/website-instructions/bedrockconnect/src/tsconfig.spec.json b/legacy/website-instructions/bedrockconnect/src/tsconfig.spec.json
index de77336..de77336 100644
--- a/website-instructions/bedrockconnect/src/tsconfig.spec.json
+++ b/legacy/website-instructions/bedrockconnect/src/tsconfig.spec.json
diff --git a/website-instructions/bedrockconnect/src/tslint.json b/legacy/website-instructions/bedrockconnect/src/tslint.json
index 52e2c1a..52e2c1a 100644
--- a/website-instructions/bedrockconnect/src/tslint.json
+++ b/legacy/website-instructions/bedrockconnect/src/tslint.json
diff --git a/website-instructions/bedrockconnect/tsconfig.json b/legacy/website-instructions/bedrockconnect/tsconfig.json
index 46aeded..46aeded 100644
--- a/website-instructions/bedrockconnect/tsconfig.json
+++ b/legacy/website-instructions/bedrockconnect/tsconfig.json
diff --git a/website-instructions/bedrockconnect/tslint.json b/legacy/website-instructions/bedrockconnect/tslint.json
index 6ddb6b2..6ddb6b2 100644
--- a/website-instructions/bedrockconnect/tslint.json
+++ b/legacy/website-instructions/bedrockconnect/tslint.json
diff --git a/website-prototype/app.js b/legacy/website-prototype/app.js
index 204f69b..204f69b 100644
--- a/website-prototype/app.js
+++ b/legacy/website-prototype/app.js
diff --git a/website-prototype/bin/www b/legacy/website-prototype/bin/www
index 79aae2c..79aae2c 100644
--- a/website-prototype/bin/www
+++ b/legacy/website-prototype/bin/www
diff --git a/website-prototype/database.js b/legacy/website-prototype/database.js
index daa2adb..daa2adb 100644
--- a/website-prototype/database.js
+++ b/legacy/website-prototype/database.js
diff --git a/website-prototype/models/server.js b/legacy/website-prototype/models/server.js
index 7e852ac..7e852ac 100644
--- a/website-prototype/models/server.js
+++ b/legacy/website-prototype/models/server.js
diff --git a/website-prototype/package-lock.json b/legacy/website-prototype/package-lock.json
index 9417f9a..9417f9a 100644
--- a/website-prototype/package-lock.json
+++ b/legacy/website-prototype/package-lock.json
diff --git a/website-prototype/package.json b/legacy/website-prototype/package.json
index c6fa544..c6fa544 100644
--- a/website-prototype/package.json
+++ b/legacy/website-prototype/package.json
diff --git a/website-prototype/public/font/minecraft_regular.ttf b/legacy/website-prototype/public/font/minecraft_regular.ttf
index 5f4a099..5f4a099 100644
--- a/website-prototype/public/font/minecraft_regular.ttf
+++ b/legacy/website-prototype/public/font/minecraft_regular.ttf
Binary files differ
diff --git a/website-prototype/public/images/bg.png b/legacy/website-prototype/public/images/bg.png
index b5bc31b..b5bc31b 100644
--- a/website-prototype/public/images/bg.png
+++ b/legacy/website-prototype/public/images/bg.png
Binary files differ
diff --git a/website-prototype/public/javascript/server.js b/legacy/website-prototype/public/javascript/server.js
index e64dd4a..e64dd4a 100644
--- a/website-prototype/public/javascript/server.js
+++ b/legacy/website-prototype/public/javascript/server.js
diff --git a/website-prototype/public/stylesheets/style.css b/legacy/website-prototype/public/stylesheets/style.css
index 901c7fc..901c7fc 100644
--- a/website-prototype/public/stylesheets/style.css
+++ b/legacy/website-prototype/public/stylesheets/style.css
diff --git a/website-prototype/routes/index.js b/legacy/website-prototype/routes/index.js
index ecca96a..ecca96a 100644
--- a/website-prototype/routes/index.js
+++ b/legacy/website-prototype/routes/index.js
diff --git a/website-prototype/routes/servers.js b/legacy/website-prototype/routes/servers.js
index a492e06..a492e06 100644
--- a/website-prototype/routes/servers.js
+++ b/legacy/website-prototype/routes/servers.js
diff --git a/website-prototype/routes/users.js b/legacy/website-prototype/routes/users.js
index 623e430..623e430 100644
--- a/website-prototype/routes/users.js
+++ b/legacy/website-prototype/routes/users.js
diff --git a/website-prototype/views/error.pug b/legacy/website-prototype/views/error.pug
index 51ec12c..51ec12c 100644
--- a/website-prototype/views/error.pug
+++ b/legacy/website-prototype/views/error.pug
diff --git a/website-prototype/views/index.pug b/legacy/website-prototype/views/index.pug
index 469f6e5..469f6e5 100644
--- a/website-prototype/views/index.pug
+++ b/legacy/website-prototype/views/index.pug
diff --git a/website-prototype/views/layout.pug b/legacy/website-prototype/views/layout.pug
index 36c61dd..36c61dd 100644
--- a/website-prototype/views/layout.pug
+++ b/legacy/website-prototype/views/layout.pug
diff --git a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/listeners/PacketHandler.java b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/listeners/PacketHandler.java
index f422a2d..5d3ad92 100644
--- a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/listeners/PacketHandler.java
+++ b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/listeners/PacketHandler.java
@@ -827,13 +827,13 @@ public class PacketHandler implements BedrockPacketHandler {
data.set(0, data.get(0).replaceAll("\\s",""));
data.set(1, data.get(1).replaceAll("\\s",""));
- if(data.get(0).length() <= 45)
+ if(data.get(0).length() >= 45)
session.sendPacketImmediately(UIForms.createError("Address is too large. (Must be less than 45)"));
- else if(data.get(1).length() <= 10)
+ else if(data.get(1).length() >= 10)
session.sendPacketImmediately(UIForms.createError("Port is too large. (Must be less than 10)"));
- else if (data.get(0).length() <= 45 && !data.get(0).matches("[a-zA-Z.1-9]+"))
+ else if (!data.get(0).matches("[a-zA-Z.1-9]+"))
session.sendPacketImmediately(UIForms.createError("Enter a valid address. (E.g. play.example.net, 172.16.254.1)"));
- else if (data.get(0).length() <= 10 && !data.get(1).matches("[1-9]+"))
+ else if (!data.get(1).matches("[1-9]+"))
session.sendPacketImmediately(UIForms.createError("Enter a valid port that contains only numbers"));
else {
boolean addServer = Boolean.parseBoolean(data.get(2));