-
Notifications
You must be signed in to change notification settings - Fork 518
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
Add option to disable fly status saving. #1036
Comments
Thank you, and wait version with that feature. ^_^ You guys the best! |
Up. =) Hope you make possible off saving soon. ^_^ |
Wouldn't this solve it? In commands.yml: onLogin:
noFly:
command: 'fly %p off'
executor: 'CONSOLE' |
I will try it. Thank you. =) |
Thanks, I look forward to your response :) |
Yes it help, but now all users when in be saw msg about disabling fly.... It can be anoying but anyway for tempoary solution it excelente! THANK YOU again. |
Also it saved in files, when i have SQL... files.... when have sql.... ohhh it realy anoying. |
(alphabetically) hi @DNx5 @Gnat008 @Eufranio @Mabus13 @sgdc3 @Twonox, pardon the disturbance. As said in #1113 I think we can make it configurable how each property on the limbo player should be handled. I would be very thankful for naming suggestions and guidance on what is useful for plugin users. I propose something like this: limbo:
# Options: RESTORE = keep fly status, DISABLE = always disable, ENABLE = always enable
flyStatus: RESTORE
# Options: RESTORE = keep to current value, DEFAULT = reset to default
flySpeed: RESTORE
# Options: RESTORE = keep to current value, DEFAULT = reset to default
walkSpeed: RESTORE |
sounds good |
Hi @Mabus13 , this is now available with build n. 1611 and above — http://ci.xephi.fr/job/AuthMeReloaded/ limbo:
# [...]
# Whether the player is allowed to fly: RESTORE, ENABLE, DISABLE.
# RESTORE sets back the old property from the player.
restoreAllowFlight: 'RESTORE'
# Restore fly speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.
# RESTORE: restore the speed the player had;
# DEFAULT: always set to default speed;
# MAX_RESTORE: take the maximum of the player's current speed and the previous one
# RESTORE_NO_ZERO: Like 'restore' but sets speed to default if the player's speed was 0
restoreFlySpeed: 'MAX_RESTORE'
# Restore walk speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.
# See above for a description of the values.
restoreWalkSpeed: 'MAX_RESTORE' Could I ask you to give us some quick feedback whether this corresponds to your expectations or if there's still something that we should do? |
These settings work fine ! restoreFlySpeed: ''
restoreWalkSpeed: '' But I don't understand the utility of Why there is still: # Should not authenticated players have speed = 0?
# This will reset the fly/walk speed to default value after the login.
removeSpeed: false
|
When a player joins a server we put him into limbo until he is logged in. In that limbo state, certain properties like fly speed, OP status are removed from the player and stored elsewhere (in a so-called limbo player). Once a player logs in, we take the limbo player and copy over the properties back to the player (so we take the fly speed, OP status etc. from that limbo player and set them to the player). Now, what happens by default if a non-logged in player is opped or his fly speed is changed is that these changes will be lost again, because we will take over whatever values we have from the limbo player and put them back to the player. Restoring values with
I think some confusion is happening here; I think it's quite tricky to keep the player at that place in the air where he was. This is another issue, namely #1124. I'm curious how this will be solved. |
What behaviour is observed:
Fly status saved. But I not need it.
What behaviour is expected:
I want use /fly playername. And after exit and in playername he must not have fly.
AuthMe build number:
1492
The text was updated successfully, but these errors were encountered: