[INACTIVE][ADMIN] Yeditor v1.2 (β) - Edit Permissions on the fly [740]

Discussion in 'Inactive/Unsupported Plugins' started by Samkio, Feb 12, 2011.

  1. Offline

    Samkio

    Yeditor (Yedit) v1.2 [ALL] (β)
    Description
    Yeditor allows you to edit the the permissions file in game. Similar to that of hMods modify commands. At the moment it is fairly limited but i will extend as time persists :).

    Works on 2.5.1 Permissions! (Default world name).
    Note: It changes the format of your config. This is nothing to worry about the permissions will still work. :)


    Features:
    Note requires Permissions.
    Also add "yeditor.editor" as a permission node for editors.
    * /yt(/yedit) add <player> <group> - Adds player to a group.
    * /yt del <player> - Removes the player altogether from the permissions.
    * /yt modify <player> <group> - Changes a players group.
    * <font color="rgb(255, 0, 0)">/yt addC <group|player> <command.node> - Adds a command node to a group or player. Not updated.</font>
    * Then once done type /permissions to reload permissions.

    Download <Edit by Moderator: Redacted mediafire url>

    ChangeLog
    * v1 : Released
    * v1.1 : Update for 400+. Should work on all permission formats.
    * v1.2: Update for permissions 2.4.
     
    Last edited by a moderator: Dec 15, 2016
    TheYeti, ssechaud, komes and 3 others like this.
  2. Offline

    Samkio

    @Azur
    Maybe a log?
    As to the other question i am going to implement the fact that you cannot modify anyone in your group or above aswell as not being able to modify yourself. :)
     
  3. Offline

    Azur

    Thanks, it's just a bit annoying that only the highest rank on my server is able to promote people, because if I give the editor command to my lower staff they could just promote themselves :/
     
  4. Offline

    Tohclan

    Hide group names from them then. If group names appear in chat use a prefix from a plugin like iChat.
     
  5. Offline

    Azur

    But even if they don't know the names of groups to be able to promote themselves, they would still know the names of the lower groups and be able to demote anyone :/
     
  6. thanks so much!
     
  7. Offline

    Waffletastic

    Say, for instance I add a player to a new group, will he be recognized as in that group instantly?
     
  8. Offline

    Samkio

    @Waffletastic you must reload permissions manuall (via command).
    I will add auto reload next update (along with everything else). :)
     
  9. Offline

    Waffletastic

    When will the next update be released?
     
  10. Offline

    korin125

    I am unable to relaod permissions on 2.5.3. It says I don;t have the permissions to do that, I'm admin.
     
  11. Offline

    Linaks

    Can you please make a feature, which writes in all .yml files the user into the group?
    If I add a user into builder group, then it should write it into world1.yml and world2.yml..
    Thanks ;) Would be grate
     
  12. Offline

    Riot

  13. Offline

    GmK

    This plugin needs more attention - it works beautifully on CB 531 and Permissions 2.5.4 !
     
    Samkio likes this.
  14. Offline

    korin125

    Are you able to reload permissions in game? I and at least one other person on the permissions thread aren't able to reload permissions, making this plugin unusable :(
     
  15. Offline

    GmK

    Using permissions 2.5.4 I just do the /permissions -reload all, and it works perfectly.
     
  16. Offline

    Samkio

    Will update so that it automatically reloads. :)
     
  17. Offline

    Gun_Asylem

    out of curiosity, are there any plans to change the formatting/Reformatting?
    i find that when i open it to look for something it makes it a bit harder to read and find things.
    especially since it gets rid of all the comments (which i use to help keep organized)
     
  18. Offline

    sirkusaakkonen

    ^this
     
  19. Offline

    Samkio

    @Gun_Asylem and @sirkusaakkonen
    Using the way its formatted allows it to be used on all differntly formatted files.
    If for instance i edited it like a text editor it would keep the comments and format, but however will not work on some types of fomatted files. The way it edits is that it reads the config file and saves it as a map. This then overwrites the file. However comments are not written to this map and so are not copied over, and thus there is no way to resolve this.

    However techically if i improve this with add commands etc then the editing of the config file will be reduced.
     
  20. Offline

    GmK

    For anyone that cares, here's an incredibly simple bash script to reload your permissions file automatically. This is for all setups where you have an external script adding people to your usergroups. Or in the case of Yeditor, so any change you do will be reflected automatically.

    Needs your server to be running on linux or similar, in a screen session. Copy&Paste into a new <nameyouwish>.sh, set it chmod+x <scriptname>.sh, and set a cronjob (e.g. "* * * * * reload.sh" to reload them every minute).

    Code:
    #!/bin/bash
    
    #Name of the screen session your server runs in
    
    SCREENNAME="minecraft"
    
    #Send permissionms reload command to the console
    
    screen -x $SCREENNAME -X stuff "`printf "permissions -reload all\r"`"
    
    #Uncomment the next line if you want your users to be notified ingame of a reload
    
    #screen -x $SCREENNAME -X stuff "`printf "say Permissions reloaded..\r"`"
    
     
  21. Offline

    Samkio

    This plugin is still active. [​IMG]
     
  22. Offline

    MacG32

    Confirmed working with build #556. [​IMG]
     
  23. Offline

    Samkio

    @MacG32
    Cheers :)
    I'ts one of these plugins that will never break unless there has been a lot of drastic changes. :p
     
  24. Offline

    MacG32

    I like the way it reorganized the permissions file. Looks very neat, compact, and much easier to read and edit. [​IMG]
     
  25. Any release date for the next update ?
     
  26. Offline

    ZachBora

    Why is this in the inactive/unsupported section? It still works fine.
     
  27. Offline

    Samkio

    @ZachBora
    I have no idea. [​IMG]
    This Plugin is still active.
     
  28. Offline

    Azur

    Any news on when you'll update this? My staff are getting a little annoyed that they can't make people members since it's either give them everything or nothing :/
     
  29. Offline

    martin8768

    We have Multiverse and it's causing some players to change to default group when moving to nether. Is this permissions or multiverse problem? I re added them to correct group but it doesn't change anything.
     
  30. Offline

    kexus

    Yayz! This is great! Its been really annoying listen to everyone complain when I announce I have to restart the server any time I have to update Permissions
     
  31. Offline

    ZachBora

    @Samkio can you make this support a world argument?
     

Share This Page