|
|
872c3475b3
|
Improved allowed keybindings implementation. Fixed an exploit where if a key was bound to two different actions it could bypass the detection of it; the method now checks for the key on every possible keybinding.
|
2021-09-30 21:18:05 +01:00 |
|
|
|
80eebcf308
|
Implemented configurable keybinding options that will allow players perform certain actions while protected without becoming active.
|
2021-09-30 17:47:14 +01:00 |
|
|
|
eabcd590a0
|
First commit
|
2021-09-26 22:50:34 +01:00 |
|
|
|
94f9a7935f
|
Optimized imports. Changed ServerTickEventHandler to PlayerTickEventHandler and made grace periods are now updated per player.
|
2021-06-03 20:49:56 +01:00 |
|
|
|
84cf5cdeff
|
Fixed dumb error in ProtectedPlayers.java getPlayer method. Fixed client crash when joining server and clicking/pressing keys.
|
2021-06-03 20:37:18 +01:00 |
|
|
|
6022797e04
|
Changed grace period time from 200 to 400 (5s to 10s). Added function to ProtectedPlayers.java to remove a player from the list, updated the updateGracePeriods method. Updated C2SKeyPress.java. Made OnKeyPressEventHandler.java check for mouse clicks as well, also made sure it only fires on client-side. Added an event for when a player leaves the server to remove them from the list.
|
2021-06-03 19:58:21 +01:00 |
|
|
|
532a49744b
|
Created a network packet for when a client presses a key. (Mod is now also client sided). Renamed some event handlers. Made it so after a client presses a key their grace period starts. After the grace period ends the player is removed from the list.
|
2021-06-03 17:01:28 +01:00 |
|