[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

    KrisEike

    My config file looks like shit now. All messed up and such. Any possibility of getting it to NOT mess with my permissions file?

    Kris
     
  3. Offline

    Samkio

  4. Offline

    KrisEike

    Bah, won't use this plugin then.. =/
    Good luck with it anyway.

    Kris
     
  5. Offline

    KazukiMutou

    Hello, I was just wondering if the option to modify players through console could be added/fixed?

    Right now I'm getting the following error:

    Code:
    2011-03-23 00:54:15 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'yt' in plugin Yeditor v1.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:221)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:380)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:366)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
        at me.samkio.yedit.Yeditor.onCommand(Yeditor.java:80)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    However, when I log in and promote someone, it works just fine.

    Thanks!
     
  6. Offline

    Xin_TiGeR

    this does not work for me, i tried to change someone´s group and instead of changing the group from that person it created another one on the permissions.yml...
    big bug!
     
  7. Offline

    Imitation

    Same thing for me. Also /permissions does not reload the permissions? Need to reload.
     
  8. Offline

    Mattie112

    Does this work from the console???
    (if not: can you make that?)
     
  9. Can you make this plugin work with multiverse ? (change the group of a player for all the worlds for example)

    And is this plugin still in progress ?
     
  10. Offline

    Samkio

    Plugin still in progress.
    Will add console commands and mulitverse in the next update.
     
  11. Offline

    thernztrom

    The commands work fine for me. Great plugin!
    But the relaod permissions command stopped working after i installed this plugin.
    We need a solution so we can reload them after very soon!
     
  12. Offline

    Samkio

    @thernztrom
    The reload command is accociated with Permissions itself.
    I will make it auto reload in the next update. :)
     
  13. Offline

    Shenlong

    Will this



    work in the next update? And if so, do you have an ETA? I would like to make quest towers/areas on my server to give people access to skills but I'm not sure I can do it until I can put something like the above on a CommandSign.

     
  14. Offline

    City Builder

    Ooooh grand. While I'm able to add new members to our servers whitelist through our console, it was starting to get annoying having to login to the game to add our sponsor members into the permission sheet using /yt

    I'm very pleased to hear this will be in the next update, it's going to simplify my administration of new sponsor members.
     
  15. Offline

    Thelyfe21

    Does this work on 600+ builds yet?
     
  16. Offline

    darthsiddious

    wondering this too.
     
  17. Offline

    thernztrom

    Now its time for MC 1.4! Anyone have confirmed it does/doesnt work with it?
     
  18. Offline

    Samkio

    In theory yes it should work unless there are drastic changes in Bukkit. xD
     
  19. Offline

    Thelyfe21

    Just confirming that it DOES work on 612. Tested last night with the newest Permissions.
     
    Samkio likes this.
  20. Offline

    Samkio

  21. Offline

    darthsiddious

    confirmed that it works with latest build.
     
  22. Offline

    Ryole

    Does it work with CB617?
     
  23. Offline

    Randy Schouten

    Could you add that the let's say Moderator group can't promote people to Admin?
    Promotion restrictions, if you wish.

    That'd be really nice to have on our server.
     
  24. Offline

    dreadiscool

    Man!

    I came in thinking it was a good plugin, but it doesn't do anything - doesn't even print to the console. I tried to edit myself, but not even an error! Please help me! I'm running 630

    btw, i like your plugin writing tutorials!
     
  25. Offline

    Steve Member

    Have you got a link to the source of this plugin as we use a custom version of Permissions which makes the multi world support much more manageable but in doing so alters how it saves permissions so would need to look at the source to confirm it would work for all our users.
     
  26. Offline

    ZachBora

    I'm using this on b670.
     
  27. Offline

    woodzy

    EEKK plese make work with permissons 2.6!! it says player added but when i do /reload it wont take, please FIX!!!! my server relies on this plugin more just as much as permissons. ill message the permissons guy to
    CB#670
     
  28. Offline

    ZachBora

    It still works for me with 2.6, BUT I've had other people (mods) report than cannot promote or something... Not sure exactly what it means. I'm admin+op so it might handle differently for me.
     
  29. Offline

    woodzy

    i am as well, so i dont know what is diffrent between you an and me ur welcome to join me server and fine out
     
  30. Offline

    ZachBora

    I'm getting this error on permissions 2.6 :

    Code:
    2011-04-12 18:36:50 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'yt' in plugin Yeditor v1.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: while parsing a flow node
    expected the node content, but found StreamEnd
     in "<reader>", line 1393, column 39:
    
         ^
    
        at org.yaml.snakeyaml.parser.ParserImpl.parseNode(ParserImpl.java:486)
        at org.yaml.snakeyaml.parser.ParserImpl.parseFlowNode(ParserImpl.java:370)
        at org.yaml.snakeyaml.parser.ParserImpl.access$2500(ParserImpl.java:119)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseFlowMappingValue.produce(ParserImpl.java:770)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at me.samkio.yedit.Functions.loadPermissions(Functions.java:50)
        at me.samkio.yedit.Functions.addPlayer(Functions.java:87)
        at me.samkio.yedit.Commander.command(Commander.java:28)
        at me.samkio.yedit.Yeditor.onCommand(Yeditor.java:81)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    doing a server /reload fixed the problem
     
  31. Offline

    woodzy

    u have to add in the permisson NODE in CB#670 and itll work just fine
     

Share This Page