Lock gamemode with permissions

Discussion in 'Archived: Plugin Requests' started by Kararty, Aug 9, 2012.

  1. Offline

    Kararty

    Plugin category: Fix / Anti-Grief / Mech

    Suggested name: GameMode Lock Permission

    What I want: I want a plugin that locks a player into a gamemode and to be specific, AdventureMode. Even if they log-out and log-in they will still be in adventuremode or the selected gamemode.
    But Creative, Survival is good too :D

    Ideas for commands: Hmmm It's not neccessary but it would be great if you could add those permissions in-game, example: /lockgm [group] [gamemode] or /lockgm [gamemode]
     
  2. Offline

    breezeyboy

    Ill give it a try torrmow
     
  3. Offline

    Kararty

    Ok thank you, Just Quote this post back when it's done...or if you have any questions..
     
  4. Offline

    escortkeel

    What exactly do you mean? Aren't game modes persistent?
     
  5. Offline

    Kararty


    I mean, I want to lock people into a specific gamemode, No admins or mods can change it (like /gamemode player 1)
    And even if they logout and login again, they will still be in that specific gamemode which has been added to their group in the permission group file, permissions: - lockgm.adventuremode (If that is there or is set to : true then they will always be in that gamemode, [adventuremode] )
     
  6. Offline

    escortkeel

    Hmm... I don't know if it is possible to intercept a /gamemode server command. I'll look into it.
     
  7. Offline

    Kararty

    Ok thanks!
     
  8. Offline

    Kararty

    So any updates on this?
     
  9. Offline

    escortkeel

    I'll experiment with this in a few hours, promise. :)
     
  10. Offline

    Kararty

    Okay...
     
  11. Offline

    Kararty

    So any more updates? -.-'
     
  12. Offline

    XbannisherX

    ill make this, i can intercept the /gamemode
     
  13. Offline

    Kararty

    Okay...

    I hope you don't "drop" it... as the others... :/
     
  14. Offline

    XbannisherX

    no, im done already
    :D

    https://www.dropbox.com/s/vif41qj662wcbgk/GmLocker.jar
    people with GM.lock permissions have creative all the time, doesnt matter if a admin does /gamemode 0
    it brings them back at gamemode 1

    just tell me if you need anything else :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  15. Offline

    tacticalsk8er

  16. Offline

    Kararty

    Love it...But...You maybe weren't reading the post...I was also referring to adventuremode...So that would be good if you implement it...
     
  17. Offline

    Jake0Jacob

    So I tried to edit this myself but couldn't get it to work. Basically are you able to change it so it makes it gamemode 0 instead of 1?
     
  18. Offline

    escortkeel

    I will be able to upload something that does this tomorrow. :)
     
  19. Offline

    Beijiru

  20. Offline

    Kararty

    Ah, This post should be closed. A lot of those gamemode 'forcers' has been made.
    Thank you all for creating a plugin that made some servers possible! ;)
     

Share This Page