Commit Graph

76 Commits

Author SHA1 Message Date
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
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 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 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 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
Louis 8511f5e897
Forgot to remove System.out.println of the packet class 2022-06-10 22:01:18 +02:00
LOOHP 8b37a26424 Minecraft 1.19 2022-06-11 02:34:26 +08: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 4ebe77d5dd Minecraft 1.18.2 Proper support 2022-03-05 17:43:31 +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
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
LOOHP 2988e605b5 Re-structure + Adventure 2021-12-22 00:33:31 +00:00
GamerDuck123 48b8cdab80 Added PacketPlayOutSetTitleTimes, PacketPlayOutSetTitleTimes, and PacketPlayOutSetTitleSubTitleText, along with a few methods in Player such ass Player.setTitleSubTitle which calls all of these packets to create a beautiful title and sub title system for the server owners 2021-12-21 14:15:42 -05:00
LOOHP 224e12a6a8 Fixed keepalive packet issue 2021-12-06 20:42:49 +00:00
LOOHP 9d507f684f Fill chunks outside of world (schematic) with empty chunks 2021-12-04 18:56:57 +00:00
LOOHP abc5a83b48 Removed debug messages 2021-12-01 01:03:43 +00:00
LOOHP 14a1f50abf Minecraft 1.18 2021-12-01 00:55:27 +00:00
LOOHP 9eb2060457 Improved kick command logic & player class internal code 2021-11-24 19:00:37 +00:00
LOOHP 6847f46a3b Polished tab header footer & default command handling & other internal code 2021-11-24 18:38:12 +00:00
LOOHP 0fcab21a4d
Merge branch 'master' into master 2021-11-24 17:13:59 +00:00
GamerDuck123 120f9dce3f Added a way to change PlayerList Header and Footer 2021-11-24 01:52:26 -05:00
GamerDuck123 7e81f6b3be Added default commands inside the server jar instead of plugin 2021-11-23 23:44:53 -05:00
LOOHP d86bcdb48d Polish resource pack support 2021-11-22 01:16:20 +00:00
GamerDuck123 92a4a85b50 Added ResourcePack related packets, along with sending and recieving them, and added PlayerResourcePackStatusEvent to simplify reading the incoming packets for plugins. 2021-11-15 21:02:12 -05:00
LOOHP d460ca735b bump version 2021-09-07 22:40:38 +08:00
GrizzlT 6ce1a73411
Changed chat conditions 2021-08-21 18:58:25 +02:00
GrizzlT 268b8dc234
Corrected conditions to better meet expectations 2021-08-21 15:44:03 +02:00
GrizzlT a7f6a34fbe
Added option to disable chat 2021-08-21 15:32:32 +02:00
LOOHP 7d8208272f Cache Event Methods, Polish Last PR 2021-08-19 20:50:45 +08:00
GrizzlT b35a2ca54d
Added BungeeGuard behaviour for slightly increased safety from the BungeeGuard plugin 2021-08-17 12:05:54 +02:00
GrizzlT 69ef34dc54
Implemented Velocity Modern Forwarding validation
- Added ForwardingUtils to deal with Modern Forwarding data
- Added validation checks in ClientConnection to safely get the forwarded data
2021-08-17 11:34:54 +02:00