-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TPA #2
base: master
Are you sure you want to change the base?
TPA #2
Conversation
How should I store the teleport requests? |
In-memory, I don't think persisting them would be useful. You really only need a mapping I'd say — UUID to request object. They should expire after 30 seconds or so as well. |
I think I pretty much implemented all of the needed functionality. Currently, the requests are stored in a weird map format and do not expire. |
With this weird UUID system if you request a teleport and had already requested it for that person it overwrites it, should I prevent that? The only way to delete a teleport request is to cancel it or deny it. |
Co-authored-by: SpaceClouds42 <[email protected]>
Co-authored-by: SpaceClouds42 <[email protected]>
src/main/kotlin/me/gserv/fabrikommander/commands/TpaHereCommand.kt
Outdated
Show resolved
Hide resolved
…d.kt Co-authored-by: SpaceClouds42 <[email protected]>
…d.kt Co-authored-by: SpaceClouds42 <[email protected]>
Co-authored-by: SpaceClouds42 <[email protected]>
…d.kt Co-authored-by: SpaceClouds42 <[email protected]>
This is of course a draft PR because it's not done yet.