Logout plugin

Discussion in 'Plugin Requests' started by lilian58660, Dec 29, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    lilian58660

    Suggested name: LogoutSystem

    What I want: Is there a plugin which has anti logging and if you are in a safe place you can type in /logout which will log you off the server safely.

    Anything that hits you,move you will disable this logout.


    Ideas for commands: /logout

    Ideas for permissions: logout.logout

    I don't really believe that there is a way to "safely" disconnect someone besides kicking them, and it would be way easier for them to use the "disconnect" button instead. I don't understand the point of making a plugin that would make them safely logout.

    <Edited by bwfcwalshy: Merged posts, please use the edit button rather than double posting.>
     
    Last edited by a moderator: Dec 29, 2014
  2. Offline

    Laxer21117

    There are many plugins that already have this feature. If you want one just search combat logging plugins on bukkit.
     
  3. Offline

    lilian58660

    before create this threat I already searched... pls
     
  4. Offline

    XvXRainbowzZ3D

    So you want a plugin that disconnects players when they type /logout?
     
  5. Offline

    lilian58660

    Yes
     
  6. Offline

    XvXRainbowzZ3D

    Ill do this give me a minute
     
  7. Offline

    DemKazoo

    You can't force someone to be unable to press the disconnect button, also when they click it, you can't make the force run a command.
     
  8. Offline

    XvXRainbowzZ3D

    Is that what he wants? i thought he only wanted them to disconnect when they type /logout
     
  9. Offline

    Samthelord1

  10. Online

    timtower Administrator Administrator Moderator

    Can't block things client side. He can also just hit the big red X in the corner.
     
  11. Offline

    lilian58660

    Can you create config, for I be able to change the timer ( seconds) and the message like:
    ( ChatColor Red + <s> until safe logout.)
     
  12. Offline

    XvXRainbowzZ3D

    Sorry im not making this, i dont have much time i thought you just wanted a player to log out when they type /logout
     
  13. Offline

    lilian58660

    yes :(
     
  14. Offline

    lilian58660

  15. Offline

    IZeusI

    I don't think you understand the fact that it is impossible to change the client side stuff... So, if a player wants to disconnect from the server, then they can, by either closing their minecraft client down or by using the Disconnect button in the esc menu. Instead, maybe you want somebody to build you a plugin that /punishes/ a player for leaving when damaged or whatever, instead of /preventing/ them from leaving. For example, Player1 hits Player2 and, withing 10 seconds, Player2 leaves the game. Because of this, Player2 loses money/ingame items/dies etc.
     
  16. Offline

    Freack100

    You can block inventories and menus by telling the client that he is standing in a portal.
     
  17. Offline

    lilian58660

    I don't want he left, I just want he got kick at the end of the timer c:
     
  18. Offline

    IZeusI

    So if the player leaves within the timer, you want the leaving message to be changed to something like '[Player] Left Before The Timer Ended]'?
     
  19. Online

    timtower Administrator Administrator Moderator

    Then the X point still stands.
     
  20. Offline

    Freack100

    @timtower
    True, but the X button causes a EOS, which you could listen for.
     
  21. Online

    timtower Administrator Administrator Moderator

    That would be possible indeed. But the conversation that I was having on here was about stopping people from clicking disconnect.
     
  22. Offline

    lilian58660

    yep c:
     
  23. Offline

    rocket4wheel

    it would detect the EOS, but also, keep track until the timer ends if disconencted before timer ends left before timer ended.
     
  24. Offline

    lilian58660

    Yes :D
     
  25. Offline

    5chris100

    I don't think you understand what @timtower is trying to say. Sure, you can stop players from clicking "Disconnect," but forcefully closing Minecraft is something that you're unable to touch. I'm also curious...

    ...how you would detect if the player opened the menu. If you kept sending "Hey, client! You're in a portal!" packets over and over until they type /logout, there are a few problems with that.
    1. Players can't chat while in a portal, so they wouldn't even be able to type /logout, immediately ruling out this method.
    2. The visual purple portal effect that appears when you're in a portal or when the Nausea effect ends, which would be highly annoying.
    3. The constant packet sending would cause possible memory issues if the OP has a small server.
    Cheers,
    ~Chris
     
  26. Offline

    lilian58660

    Just want if player type /logout, 15 sec timer start and if player move or other player hurt, he's cancelled. with custom message, and the player get KICK at the end of the timer !!


    ~Lilian
     
  27. Offline

    lilian58660

    bump pls :c
     
  28. But again: Why? Why on earth would somebody choose to do /logout rather than any of the following which would also log them out faster than your command:

    1. Hitting the disconnect button
    2. Pressing alt + f4
    3. Closing it with the X button
    4. Closing it with task manager
    5. Disconnecting from internet
    6. Taking a baseball bat to their PC (not recommended)

    And so on
     
Thread Status:
Not open for further replies.

Share This Page