|
|
cb4e0e73ca
|
Fixed allowed keys implementation by converting the list to hold String values.
|
2021-09-30 23:12:12 +01:00 |
|
|
|
6d244db8ea
|
Updated implementation of Config.java. Fixed issue where server would create infinite amounts of backup files for the config file; this was caused by checking if the allowedKeys list values were of type KEYS instead of String.
|
2021-09-30 23:01:58 +01:00 |
|
|
|
e7346e53d9
|
Updated the grace period messages sent to players. Added a new message to notify player when he is seen as active. Removed old console message when a player is no longer protected.
|
2021-09-30 22:26:14 +01:00 |
|
|
|
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 |
|
|
|
419be8ee4f
|
Changed jar file version from 1.17.1 to 1.16.5. oops.
|
2021-09-29 19:39:54 +01:00 |
|
|
|
fea005cef5
|
Optimized imports. Fixed pattern variable that didn't want to work in OnLivingSetAttackTargetEventHandler.
|
2021-09-29 19:33:56 +01:00 |
|
|
|
58953dc988
|
Implemented config features into the ProtectedPlayer and ProtectedPlayers classes.
|
2021-09-29 18:51:22 +01:00 |
|
|
|
519815f320
|
Added OnLivingSetAttackTargetEventHandler event.
|
2021-09-29 18:49:26 +01:00 |
|
|
|
712ab92bc5
|
Updated C2SKeyPress class.
|
2021-09-29 18:45:10 +01:00 |
|
|
|
db787d46d1
|
Added configuration file.
|
2021-09-29 18:39:53 +01:00 |
|
|
|
b6c51aa5ed
|
Removed pointless variable.
|
2021-09-29 18:37:45 +01:00 |
|
|
|
a06e1395cb
|
Changed version number to 2.0.0.
|
2021-09-29 18:35:57 +01:00 |
|
|
|
afd5a5d3e8
|
Updated forge version to 1.16.5-36.2.6. Changed version and jar file name. Fixed issue where version number didn't show up correctly in-game.
|
2021-09-29 18:33:59 +01:00 |
|
|
|
b1b8204200
|
Removed unnecessary files.
|
2021-09-29 03:32:30 +01:00 |
|
|
|
819ff074ae
|
Added other project files.
|
2021-09-29 03:03:45 +01:00 |
|
|
|
eabcd590a0
|
First commit
|
2021-09-26 22:50:34 +01:00 |
|
|
|
d187fec27f
|
Fixed grace period updating when it shouldn't. Fixed singleplayer making player invulnerable.
|
2021-06-03 20:56:04 +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 |
|
|
|
bfbb9111ba
|
Changed version from 1.0 to 1.0.0
|
2021-06-03 19:59:12 +01:00 |
|
|
|
8794efbe96
|
Optimized imports.
|
2021-06-03 19:58:46 +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 |
|
|
|
635a801ff2
|
Added new data class for list of protected players. Created new event for entities getting damaged and made it so that protected players don't take damage.
|
2021-06-03 15:55:23 +01:00 |
|
|
|
093f15edf3
|
Added ProtectedPlayer.java for storing data on protected players. Created an event for players joining and adding the joined player to a list of protected players.
|
2021-06-03 15:28:05 +01:00 |
|
|
|
8caef44d72
|
Added Registration.java
|
2021-06-03 14:20:50 +01:00 |
|
|
|
5482ac52c7
|
Initial commit.
|
2021-06-03 14:18:19 +01:00 |
|