Commit Graph

150 Commits

Author SHA1 Message Date
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