Commit Graph

150 Commits

Author SHA1 Message Date
samo_lego cd704bfbf3 Fixing #13 2020-07-28 10:14:19 +02:00
samo_lego fa1557a577 Minor change 2020-07-27 09:28:34 +02:00
samo_lego f522334305 fixing carpet debug 2020-07-16 11:40:19 +02:00
samo_lego 60328df15e Adding logger util 2020-07-16 11:18:39 +02:00
samo_lego 27d5f77d75 Fixing server crash #7 2020-07-16 11:01:57 +02:00
samo_lego cfce56df95 Cleanup 2020-07-15 20:40:03 +02:00
samo_lego 4db0578cf7 Fixing handleDisconnection() #9 2020-07-06 10:40:32 +02:00
samo_lego 94d83ddbc7 NPE at server stopping fix 2020-07-02 10:00:44 +02:00
samo_lego 5982028eda UTF-8 config support (#8) 2020-06-29 15:32:16 +02:00
samo_lego 103d634eb2 Fixing #6 2020-06-29 12:06:02 +02:00
samo_lego 780e3a3ae1 1.16-rc1 2020-06-18 22:43:32 +02:00
samo_lego a9172ed157 Moving password related commands to own thread 2020-06-11 13:49:33 +02:00
samo_lego f5597a9626 1-16-pre2 2020-06-10 22:38:42 +02:00
samo_lego 8e15ce6e21 1-16-pre1 2020-06-05 08:52:02 +02:00
samo_lego 27a5fa25fb Finalising 20w22a, hooray 2020-06-01 21:50:11 +02:00
samo_lego 96bf9a52de 20w22a. More dimension/world mess 2020-05-29 23:00:50 +02:00
samo_lego 7dfe1ff5b3 Done updating DIM stuff :) 2020-05-28 18:45:15 +02:00
samo_lego 4223536e49 variable typo fix 2020-05-27 12:06:30 +02:00
samo_lego 782f6fbabe Fixing dimension mess from previous snapshot. 2020-05-27 12:03:23 +02:00
samo_lego 4c01a1a6ab 20w21a. Waiting for Fabric dims 2020-05-20 21:20:27 +02:00
samo_lego 3e0f9777d6 Merge branch 'portalRescue-overhaul' 2020-05-18 13:52:03 +02:00
samo_lego b250a52426 Finishing portal rescue overhaul 2020-05-18 13:22:43 +02:00
samo_lego 9ab30f2ee9 Command text feedaback can be reloaded now. Deprecated ChangepwCommand.java and UnregisterCommand.java 2020-05-15 14:09:28 +02:00
samo_lego 774042af9c Unifying some cmds to /account cmd 2020-05-15 09:45:59 +02:00
samo_lego 7edc9c6f64 Polishing 2020-05-14 20:13:36 +02:00
samo_lego aeb07007c8 20w20a 2020-05-14 11:40:43 +02:00
samo_lego 68475009a6 Creative inv protection 2020-05-11 21:39:24 +02:00
samo_lego c335e2233f PLayer portal rescue with fake blocks replacing portal 2020-05-11 21:25:20 +02:00
samo_lego 5d68fe9f57 Version bump & imports missing from merge fixed 2020-05-07 22:19:01 +02:00
samo_lego 4e3a0aebbc Merge branch 'pos-protect'
# Conflicts:
#	src/main/java/org/samo_lego/simpleauth/SimpleAuth.java
#	src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java
#	src/main/java/org/samo_lego/simpleauth/storage/PlayerCache.java
#	src/main/resources/fabric.mod.json
2020-05-07 21:48:47 +02:00
samo_lego 8405680f42 Finalising position protection. 2020-05-07 21:32:45 +02:00
samo_lego 1e88180b23 Polishing comments etc. 2020-05-07 12:20:00 +02:00
samo_lego 6d507bdc7b Crash fixes 2020-05-06 08:44:28 +02:00
samo_lego 1b0b72afa1 "Updating position protection." 2020-05-05 18:18:38 +02:00
samo_lego 216c7dd45b Checking for online mode to decide on UUID password storage 2020-05-04 16:46:30 +02:00
samo_lego f5d7de0b41 Starting with player position protection. RN throws NPE when leaving server 2020-04-23 14:57:02 +02:00
samo_lego eb927bbf37 20w17a and Loom update 2020-04-23 09:54:35 +02:00
samo_lego 2d6911484a Build fixes, present in previous commit. 2020-04-19 17:13:16 +02:00
samo_lego efe8f5727c Rewamped UUIDs + gradle bugfix 2020-04-19 17:00:23 +02:00
samo_lego 8ba4879c6e Mod should now be compatible with carpetmod /player cmd. Thanks for help, @sug0 2020-04-19 16:44:35 +02:00
samo_lego c71604bc8a Fixing carpet fake player incompatibility. Thanks @sug0 2020-04-19 13:46:52 +02:00
samo_lego 4c838cb477 Fixed player not being authenticated after joining. 2020-04-19 10:30:33 +02:00
samo_lego 06e30f7f15 Exception throwing if mod couldn't create save dir. 2020-04-19 10:12:14 +02:00
samo_lego 0fc462b642 Started with new uuid system. 2020-04-19 09:38:43 +02:00
samo_lego 27cdcf324d Fixed NPE that could occur when stopping server. 2020-04-16 14:26:27 +02:00
samo_lego 898ed03e26 20w16a fixes, updating. 2020-04-15 19:22:36 +02:00
samo_lego 52f2f3c3f8 Added "Logged in from another location" protection. 2020-04-15 19:21:15 +02:00
samo_lego bd595b60de Added username char checking (regex). 2020-04-14 22:23:19 +02:00
samo_lego 79ebe3962e Session polishing. 2020-04-14 19:47:35 +02:00
samo_lego d2ec59f269 Session polishing. 2020-04-14 19:45:54 +02:00
samo_lego 367aa29646 Added player sessions. 2020-04-13 20:23:10 +02:00
samo_lego e884f37b11 Changed DB writing to allow more data to be stored. 2020-04-13 20:22:13 +02:00
samo_lego ef301883b7 Starting with password caching. 2020-04-12 17:54:52 +02:00
samo_lego 9ec2e4478c Auth command cleanup, clearer method names at db class. 2020-04-12 16:55:50 +02:00
samo_lego 30e261c767 Merge branch 'leveldb' - switched from SQLite to leveldb database. 2020-04-12 16:27:50 +02:00
samo_lego 9af4995fdc Added option for limiting password length. 2020-04-12 16:11:14 +02:00
samo_lego c4ca8ca18f Bugfix - unregistering didn't de-authenticate player. 2020-04-11 19:32:10 +02:00
samo_lego 1083665fac Checking if user is registered, finalising leveldb. 2020-04-11 19:27:49 +02:00
samo_lego 65a2c5de15 Starting with leveldb database system. 2020-04-10 14:57:15 +02:00
samo_lego 2430d220d1 20w15a + bug fix 2020-04-09 10:40:07 +02:00
samo_lego 6cda3d7d08 Nether portal rescue working. 2020-04-07 21:10:01 +02:00
samo_lego cbe720198c Really ugly, but working rescue (+S direction) 2020-04-07 20:25:20 +02:00
samo_lego 5172dcd059 Starting portal rescue feature. 2020-04-07 14:28:23 +02:00
samo_lego c9a99dbec7 Gradle & Library update. 2020-04-05 21:56:00 +02:00
samo_lego 2bd71eefee Merge branch 'master' of https://github.com/samolego/SimpleAuth 2020-04-05 20:24:38 +02:00
samo_lego 5aa82f0db0 20w14a update
Updating, plus fixing colors in config.
2020-04-05 20:23:11 +02:00
samo_lego ddb5fb22cd Config color polishing
Some fixes
2020-04-04 12:37:40 +02:00
samo_lego af1c51bf73 Bug fixes; /logout command didn't work 2020-03-31 22:32:26 +02:00
samo_lego aba4100297 Added logout command. 2020-03-28 20:35:16 +01:00
samo_lego 0112004457 Finally! Better inventory protection. 2020-03-28 20:11:38 +01:00
samo_lego 1f274c3034 Added login tries tracking. 2020-03-18 19:18:40 +01:00
samo_lego 2c16cb8318 Trying to get better inventory protection. Doesn't work atm. 2020-03-17 22:59:01 +01:00
samo_lego 52687dac54 Updating looom and yarn 2020-03-10 15:15:57 +01:00
samo_lego 0dda490964
Update MixinServerPlayNetworkHandler.java 2020-03-03 21:27:24 +01:00
samo_lego c578783727
Added fabric api to dependencies
in fabric.mod.json
2020-03-03 18:43:06 +01:00
samo_lego 56fcfdfe64 Update to 1.16 snapshot
Changed some imports etc.
2020-02-22 22:46:12 +01:00
samo_lego a5a30ba3e6 Disabled changing password / unregistering if global password is enabled. Updated unregitser lang config. 2020-02-17 19:41:07 +01:00
samo_lego ff1b6749c6 Bug fixes for global password. 2020-02-17 19:21:52 +01:00
samo_lego 322c3ad00b Added option to "lock" server using global password. Users won't be able to register. 2020-02-17 18:51:23 +01:00
samo_lego 7934c1242b Update to 1.15.2 2020-01-21 21:52:54 +01:00
samo_lego eb2084ce96 Fixing msgs, adding comments
Changed HashSet of authenticated users to deauthenticated ones to speed up the process. Removed the player leave mixin callback since it's not needed anymore.
2020-01-14 22:18:06 +01:00
samo_lego a8c0410fbf Comments on config 2020-01-04 14:09:43 +01:00
samo_lego 16773c125a Added timeout
Added timeout for not authenticated players, as well as kick for wrong password.
2020-01-03 22:46:30 +01:00
samo_lego 9965e8d804 Config added
Some cleanups as well.
2019-12-30 20:19:53 +01:00
samo_lego 8054602a23 Language
Hardcoded rn, planning to add language file in the future.
2019-12-02 17:41:22 +01:00
samo_lego 4187a855fb Disable movement
Update player's position
2019-11-30 22:07:23 +01:00
samo_lego 653230e534 Update to 1.15pre2
Added chat protection and movement protection. Mod should now enter polishing state.
2019-11-26 22:11:56 +01:00
samo_lego beeb1183fc Added invulnerability & invisibility
started with movement and chatting as well. both don't work atm
2019-11-24 22:16:02 +01:00
samo_lego 51892ec52d 1.15 update
Updatede onUseItem event. Making the dropitemcallback work now.
2019-11-23 17:58:43 +01:00
samo_lego 47fd0cb0fb The actual cleanup
Removed commented old code
2019-11-19 22:22:20 +01:00
samo_lego 5ef361da64 Cleanup
Moved utility functions (rn just auth) to utils package.
Also started playing with unregister cmd.
2019-11-19 22:19:36 +01:00
samo_lego 8054a8fa6d Moved to Fabric API events
As well as fixed some bugs and did some changes to /auth
2019-11-17 20:07:54 +01:00
samo_lego c51fdc7c0a Disabling double registering
^ as well as trying to cancel the droping of items.
2019-11-14 22:08:48 +01:00
samo_lego e1e0ed4121 Another command update
Added changepw cmd, changed auth cmd.
2019-11-13 19:16:15 +01:00
samo_lego 3e06344197 Implemented password hashing
With the help of Argon2 lib
2019-11-09 17:01:59 +01:00
samo_lego bac5c879fa Database stuff
Mostly updating the database manager class. Added translations which don't work yet.
2019-11-07 22:18:14 +01:00
samo_lego b6c1ff6c3b Update
Starting to work on database ...
2019-11-05 20:24:58 +01:00
samo_lego b98f627875 Adding events
Triggers, listeners etc.
2019-10-31 14:11:03 +01:00
samo_lego 91ddfa1fe8 Some updates to commands 2019-10-27 11:19:13 +01:00
samo_lego 9adff8c50d Initalization
Starting my first mod :D for Fabric and for Minecraft in general.
2019-10-24 22:13:52 +02:00