Commit Graph

131 Commits

Author SHA1 Message Date
LOOHP 949d2f34d7 Inventories! (Part 1) 2022-12-09 02:40:16 +00:00
LOOHP ca186938f4 Fixed chat packets 2022-12-08 17:43:13 +00:00
LOOHP 081776e4fe Use Adventure Key replacing NamespacedKey 2022-12-08 12:22:18 +00:00
LOOHP 9193d907d1 Implemented Bossbar & Sounds Partially 2022-12-08 02:35:37 +00:00
LOOHP 50fd145d77 Minecraft 1.19.3 2022-12-07 21:38:20 +00:00
LOOHP c720a0fd67 Clean up whitelist changes 2022-12-07 19:13:46 +00:00
Tad Hunt a797e89c14 change allowlist implementation to HashMap & don't leak the implementation outside of the ServerProperties class 2022-11-06 09:54:54 -07: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
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
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
GrizzlT c7378beb2b
Added new Server Properties and cleaned up Login Plugin Packets
- Added option for Modern Forwarding and BungeeGuard (for proxies that are connected to older servers)
- Made Modern, Bungeecord and Bungeeguard mutually exclusive
- Fixed PacketLoginInPluginMessaging, structure was incorrect
- Added `readUUID` in DataTypeIO
2021-08-17 11:19:14 +02:00
LOOHP 7be0b5f9da Fixed Creative Mode Allow Flight on Join 2021-08-01 18:25:09 +08:00
LOOHP d920577ed8 Update to 1.17.1 2021-07-12 22:59:02 +08:00
LOOHP edbc668fa2 Bump development to 1.17, Added a few more light emitting blocks, Improved PlayerChatEvent formatting 2021-06-13 00:56:41 +08:00
LOOHP c6ac7b3593 Suppress socket errors 2021-04-19 13:27:55 +08:00
LOOHP 3d0c00bd73 Revert "Suppress socket errors"
This reverts commit 728306ec88.
2021-04-19 13:26:55 +08:00
LOOHP 728306ec88 Suppress socket errors 2021-04-19 13:26:40 +08:00
LOOHP 1962ff0eec Use bungeecord provided ip (if bungeecord is true) for connection messages 2021-04-10 21:21:54 +08:00
LOOHP 6d14314bd9 reupload 2021-04-06 21:14:05 +08:00
LOOHP 05cfdb73a9 clear 2021-04-06 21:12:32 +08:00
LOOHP 6c90a82f7c Follow naming conventions 2021-04-06 12:50:26 +08:00
LOOHP 2d77a0e15c reorganize classes for a better future 2021-03-22 00:22:13 +08:00
LOOHP e8a7d68e3b Temporary solution to LightEngine ArrayIndexOutOfBounds error 2021-03-16 20:44:26 +08:00
LOOHP 5be44b597a Updated pom.xml, handles interrupt signal 2021-02-27 17:32:31 +08:00
James Puleo 06cdbff2f8
Allow modifying of the spawn location (and thus, the spawn world) of
players joining through the PlayerJoinEvent.
2021-02-27 01:46:35 -05:00
LOOHP 25afa65ad9 Limbo Schedulers 2021-02-22 22:26:14 +08:00
LOOHP 2a0839963a
Merge pull request #12 from drunderscore/feature/player-selected-slot
Track the players selected slot index
2021-02-22 22:24:59 +08:00
James Puleo 3f60ffd1ef Track the players selected slot index with PacketPlayInHeldItemChange,
and allow changing of a players selected slot with
PacketPlayOutHeldItemChange.

Also introduces an event that can be used to change or cancel a player's
selected slot change.

I tried to follow the style and mannerisms of existing code, but what's
up with the Unsafe class? The class is okay, but why are the methods
named as such? Having all the methods named 'a' will be sure to cause
conflict once two methods take the same parameters.
2021-02-22 01:54:26 -05:00
James Puleo 00af9afe43 Reduce code duplication, tell client about new position if an event
handler used setTo
2021-02-22 00:40:08 -05:00
LOOHP 48cd3a8b9a UTF-8 when saving FileConfiguration 2021-02-21 14:58:05 +08:00
LOOHP 9fe48fc2a9 Use Java 8 Methods 2021-02-21 14:44:59 +08:00
LOOHP 6013235c73 Fixed resource not closing 2021-02-20 18:12:11 +08:00
LOOHP 8d2b7ea0cb 0.4.0 SNAPSHOT 2021-02-19 23:33:21 +08:00
LOOHP aeac3730ac Updated to 1.16.5 2021-01-16 11:08:43 +08:00
LOOHP 1040e75ca9 Do not stop server when receving unknown flags 2021-01-02 14:21:00 +08:00
LOOHP c77c700fac Reorganize sources to maven project standard 2020-12-29 01:50:43 +08:00