Commit Graph

252 Commits

Author SHA1 Message Date
Tad Hunt 2c2285b54c add updated server properties missed in last commit 2022-11-05 14:40:37 -06:00
Tad Hunt d3b0aba94f Flesh out allowlist handling
Addresses comments from https://github.com/LOOHP/Limbo/pull/57#issuecomment-1304543589

In particular:

* Functionality now matches other server types

* only enforce the allowlist if a new "enforce-allowlist"
  boolean in server.properties is set to true

* Loads and process the allowlist only once when the server starts (or
  the reload command is executed), instead of every time a user connects.

* Add a new command & associated permissions "allowlist reload"
  to reload the allowlist
2022-11-05 14:32:25 -06:00
Tad Hunt 898fe20b14 add allowlist processing 2022-11-04 18:36:56 -06:00
LOOHP e88656b1bf Default reduced debug info to true 2022-09-30 15:57:00 +01:00
LOOHP bcf9d0a450 Bump version 2022-09-30 15:50:21 +01:00
LOOHP 027a552468
Merge pull request #55 from tadhunt/fix-issue-54
Teach Loohp-Limbo how to login clients connecting via floodgate
2022-09-30 15:49:53 +01:00
Tad Hunt 23dfbd0df2 fix whitespace 2022-09-30 08:27:14 -06:00
Tad Hunt 4d1fade2e7 Merge remote-tracking branch 'upstream/master' into fix-issue-54 2022-09-29 16:15:32 -06:00
Tad Hunt a1ba8fc0b1 conditionalize debug messages on debug flag 2022-09-29 16:08:15 -06:00
Tad Hunt 39d90d79ff revert extraneous .gitignore changes 2022-09-29 15:25:28 -06:00
LOOHP c6d6089f8d
Merge pull request #53 from tadhunt/fix-issue-51
A fix for Incorrect Payload Received in KeepAlive packet for player <XXX>
2022-09-26 22:31:42 +01:00
Tad Hunt 70caa3cd0a handle floodgate stuff in login packets 2022-09-26 14:41:12 -06:00
Tad Hunt 2866d9c015 remove extra debug info from log message 2022-09-23 11:15:24 -06:00
Tad Hunt d29279285e This commit fixes https://github.com/LOOHP/Limbo/issues/51
"Incorrect Payload Received in KeepAlive packet for player"

The problem is that in my setup (described in the issue linked above)
the loohp-limbo server is receiving an unsolicited PacketInKeepAlive
message prior to sending any out.  This causes the payload validation
check to fail, resulting in the connection then being closed.

This commit changes the PacketInKeepAlive handler to ignore (other than
logging) unsolicited KeepAlive messages rather than act on them.

Possibly the logging is a bad idea unless it's limited to being
suppressed via a debug flag...
2022-09-22 22:54:50 -06:00
LOOHP c40a48b7ba Update README.md 2022-09-10 02:32:00 +08:00
LOOHP 1f31bfa893
Partnerships 2022-08-20 00:02:13 +08:00
LOOHP 4c2d0a25cd show 1.19.2 on startup 2022-08-09 23:20:10 +08:00
LOOHP 21a20af667 Clean up 2022-08-08 00:38:24 +08:00
LOOHP cfbd9951af
Merge pull request #49 from SlenkyDev/master
Added the option to hide IP addresses in logs
2022-08-08 00:31:37 +08:00
MrSlenky 2652064fda Changed the style of if statements 2022-08-07 16:38:01 +02:00
MrSlenky 8863d699e5 Fixed double ;; 2022-08-07 16:33:44 +02:00
LOOHP 114f14baa7
Update README.md 2022-08-06 21:10:54 +08:00
LOOHP dac03d9d2f Minecraft 1.19.2 2022-08-06 21:07:39 +08:00
LOOHP cfa1728c9b Update README.md 2022-07-28 18:08:38 +08:00
LOOHP ace420a017 Minecraft 1.19.1 2022-07-28 18:07:31 +08:00
MrSlenky 69dc6eaa7d Added the option to hide IP addresses in logs 2022-07-10 17:44:07 +02:00
LOOHP 42559d83f0
Merge pull request #47 from LouissXI/remove-print-packet-class
Forgot to remove System.out.println of the packet class
2022-06-11 07:23:39 +08:00
Louis 8511f5e897
Forgot to remove System.out.println of the packet class 2022-06-10 22:01:18 +02:00
LOOHP 0f10f91191
Update README.md 2022-06-11 02:36:37 +08:00
LOOHP 8b37a26424 Minecraft 1.19 2022-06-11 02:34:26 +08:00
LOOHP 0f909c4c11
Merge pull request #46 from LOOHP/dependabot/maven/com.google.code.gson-gson-2.8.9
Bump gson from 2.8.5 to 2.8.9
2022-05-25 00:41:45 +01:00
dependabot[bot] 2eb01129fd
Bump gson from 2.8.5 to 2.8.9
Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 21:54:07 +00:00
LOOHP f421da833d Slight color change 2022-05-01 15:57:17 +01:00
LOOHP effcbab3e4 Fixed PacketPlayInPluginMessaging & Added default command /version 2022-05-01 15:29:46 +01:00
LOOHP 0ac9810554 Separated PlayerSpawnEvent and PlayerJoinEvent, PluginMessages now uses String channels, Added PluginMessageEvent 2022-04-25 19:13:31 +01:00
LOOHP 7ad2b19177 Broadcast server brand 2022-04-22 23:14:56 +01:00
LOOHP d0cc0b05dc
Update README.md 2022-03-29 09:58:18 +01:00
LOOHP 0deb3b1fcd
Update README.md 2022-03-09 16:25:25 +00:00
LOOHP 4ebe77d5dd Minecraft 1.18.2 Proper support 2022-03-05 17:43:31 +00:00
LOOHP 26aabe66bd
Create FUNDING.yml 2022-03-02 01:21:07 +00:00
LOOHP c1b498419a Bump to 1.18.2 2022-02-28 14:46:43 +00:00
LOOHP 99b2a81546 Added license headers 2022-02-17 13:26:44 +00:00
LOOHP 67f24599f2 Changes to ChannelRead 2022-02-10 10:08:22 +00:00
LOOHP 31b3a954a2 Name methods better 2022-02-10 02:05:17 +00:00
LOOHP ea7d33a0e3 format ClientConnection.java 2022-02-10 01:57:52 +00:00
LOOHP 4353859951 Made packet intercepting possible 2022-02-10 01:54:13 +00:00
LOOHP 00600647ae
Bump version 2022-01-28 22:24:43 +00:00
LOOHP 76901d85a3
Merge pull request #43 from GamerDuck123/master
Fixed ClientboundSetSubtitleTextPacket mapping
2022-01-28 22:24:25 +00:00
GamerDuck123 99cd4b0dc8
Fixed ClientboundSetSubtitleTextPacket mapping
ClientboundSetTitleTextPacket was mapped twice, once under 0x5A (The correct mapping) and under 0x58 (ClientboundSetSubtitleTextPacket 's mapping)
2022-01-28 17:20:46 -05:00
LOOHP e8fc0aee0e Update Player.java 2021-12-22 00:38:15 +00:00