samolego / SimpleAuth

Simple authentication mod for Fabric or Forge servers.
https://modrinth.com/mod/SimpleAuth
MIT License
39 stars 14 forks source link

kikk time #15

Closed seba0025 closed 4 years ago

seba0025 commented 4 years ago

can you add a timer in the login and registration phase that will eject you from the server if it expires?

samolego commented 4 years ago

https://github.com/samolego/SimpleAuth/blob/eb2b83f3d7a53c08a978d162b7d3eb7c6d431f19/src/main/java/org/samo_lego/simpleauth/storage/AuthConfig.java#L37

It's already available, but now that I think of it, kickTime might be better name for the variable 🤔