Commit Graph

75 Commits

Author SHA1 Message Date
8918f523d1 Registered new player state packet. 2022-05-22 03:16:01 +01:00
9093966c07 Created new packet for sending the player state to the client. 2022-05-22 03:15:47 +01:00
b69fd80c5d Removing player from protected players if afk protection is disabled after applying effects and when the grace period runs out. Sending player state packet to player when it gets updated. 2022-05-22 03:15:09 +01:00
fe1434478b Added player state field with getter and setter to the Client Proxy. Registering events. 2022-05-22 03:13:38 +01:00
9c2a11d312 Removed old network channel. 2022-05-21 21:17:19 +01:00
fd89f13a99 Registered the ClientInputPacket. Added method to get the channel. 2022-05-21 21:16:57 +01:00
a9086486fa Renamed and reworked C2SKeyPress packet class. 2022-05-21 21:16:11 +01:00
1c260166f2 Removed Registration class. 2022-05-21 21:15:20 +01:00
0ba8806cd6 Removed old initialization of the protected player manager. Added methods for creating a resource location and getting the mod version. 2022-05-21 20:59:44 +01:00
894a108c78 Initializing the protected player manager whenever a server is started. This should help prevent any unwanted remnants from another server to be present on other servers. 2022-05-21 20:58:58 +01:00
af189737dc Renamed and rewrote the manager for protected players. Most protected player logic should now be handled by the manager. 2022-05-21 20:57:32 +01:00
a20da22703 Rewrote the ProtectedPlayer class. 2022-05-21 20:56:28 +01:00
9bf6bd6dce Created a network manager for better implementation of network related content. 2022-05-21 20:55:46 +01:00
d74dedc053 Created a new exception for mismatched mod versions. 2022-05-21 20:55:38 +01:00
038f1f631d Reduced the max value for the water, lava and fire duration options. Moved the KEYS enum. 2022-05-21 20:52:19 +01:00
c93bd99099 Implemented a generic proxy for dealing with different logical sides. 2022-05-21 20:04:09 +01:00
82b7fd9c68 Renamed POST_DROWN_ENABLED to POST_REFILL_AIR_ENABLED. 2022-05-21 19:11:10 +01:00
4f5818ee2f Changed some definitions of config options and increased limit of some duration options. 2022-05-21 19:10:13 +01:00
0c1e5f74f8 Renamed 'main' protection options to 'login'. 2022-05-21 17:08:18 +01:00
4ed3487362 Added new config options for afk protection. Renamed 'main' protection options to 'login'. 2022-05-21 17:07:43 +01:00
5a0820dd14 Updated mods.toml to reflect version change.
- Changed mod description.
2022-05-21 16:45:51 +01:00
6c2e9eb1b9 Started updating to v1.18.2-3.0.0.
- Changed forge to v40.1.20.
2022-05-21 13:05:14 +01:00
757354774b Fixed crash due to version not starting with a number. forge-1.18.1-2.1.1 2022-01-19 18:50:58 +00:00
6b6a029541 Ported 1.17.1-2.1.1 to 1.18.1. 2022-01-19 16:47:55 +00:00
9c77ebc2cb Initial commit. forge-1.18.1-2.1.0 2022-01-19 16:36:39 +00:00