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

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

  1. Offline


    Yeditor (Yedit) v1.2 [ALL] (β)
    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. :)

    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>

    * 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


    ok ill try:D
  3. Offline


    Nice job on this. Glad to see someone adding this functionality. This actually saves me from doing it myself.
    Samkio likes this.
  4. Offline


    I see after adding someone it changed how my permissions file was formated, is this ok?
  5. Offline


    Yes that's fine.
  6. Offline


    Ok cool, I was just confused because everything that was there before the plug in is now in a different format. But when I use this plug in to add new players, it formats it how the file originally was formatted.
  7. Offline


    /pr command does not work.
    Using build 440 w/ Permissions 2.5

    I don't get any error messages, nothing happens, that's all.

    If you need other info reply to the message please. :)
  8. Offline


    It's /permissions
    Look at Permissions topic :)
  9. Offline


    Oh, okay, thanks :) I'll test that now, and edit my post with results.

    Hah, I feel so stupid. My fault for not reading it throughly. >.<
    I'm used to using /pr :p

    Forgot to say it worked. :) Thanks a lot!
  10. Offline

    Lee Hayward

    I get Error: "An internal error occured while attempting to perform this command" when trying any permissions command. Logged in as Admin, so don't know what's going on...
  11. Offline


    Going to try it soon. But *Please* consider another way to upload your plugins. Preferably a wget compatible hoster. I recommend using www.dropbox.com. it's free and good and wget compatible.
  12. Offline


    This breaks the 2.5.1 permissions config file.
  13. Offline


    Nope, works without any problems on my #484 testserver with permissions 1.51!
    Tested adding and modify.
  14. Offline


    Hello again!
    I have a problem!
    I'm using Permissions 2.5
    and whenever I use your plugin, in turns everything into the config into 3lines in notepad, I had to literally rewrite everything and wish I knew how to fix this.

    Build 440

    No other info is needed, correct?

    Thanks :)
    --- merged: Mar 2, 2011 11:29 PM ---
    No reply? Its been almost 24 hours : /
  15. Offline


    You should definitely add a modify command to Permissions directly!
  16. Offline


    I refuse to do that. Permissions is a framework, that is all. Think of it sort of like an API for other plugins to make use of. Would be like adding in commands to create databases that you can use from a command line to a java mysql dbc.
  17. Offline


    Someone reply please....................... ._.
  18. Offline


    Ok, but then your API should have methods for adding/editing and removing permissions ;-) A read-only API where one has to edit it's settings by punching badly formatted files in the backyard isn't very comfortable IMHO...
  19. Offline


  20. Offline


    Hey guys!

    I am setting up a server for a group of users, and while I'll be doing initial setup locally, another user will host the server package. So I need to be able to do some simple stuff in-game. The main problem I have is that with Permissions 2.5.1 and craftbukkit version (git-Bukkit-0.0.0-458-g557f3d2-b440jnks (MC: 1.3)
    ), this plugin is not working. And it destroys my world.yml file (it seems to be using 3 different systems, most likely due to the 2.5.1 version of Permissions). Will you update?

    I need a way to add/modify users to/from groups, that works with Permissions 2.5.1, and I need it today (the guy who's hosting the server wants it given to him by tonight).

    Anyone have any help?
  21. Offline


  22. Offline


    i get this error when trying to add anyone,
    An internal error occured while attempting to perorm this command

    any ideas?
  23. So is this working with 2.5.1 or not? I wanna get my baby smokin.... (and by baby I mean server, and by smoking I mean doing crack)
  24. Offline


    CraftBukkit-493 with Permissions 2.5.1 running on Arch Linux 64bit

    >yedit modify vsTerminus admin
    08:40:47 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'yedit' in plugin Yeditor v1.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:33)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:183)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:381)
            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:31)
            ... 6 more
  25. Offline


    Use recommended build 440.

    ...or are you writing commands via the console?
  26. Offline



    I didn't realize it was an in-game command only, so yes I was trying it from the console.
    To that end, it works fine in-game on CraftBukkit-493 and Permissions 2.5.1

  27. Offline


    Thanks :)
    But thanks for making me aware that commands via console does this.
    I will make it so commands may be entered via console. :)
  28. Offline


    Really glad that an ingame permission editor has been made :)

    I have a request, would it be possible to make yeditor make new player who has logged into the server for the first time automatically be added to the default group? I find it very irritating to manually add people via a yml file or even a command.
  29. Offline


    Players are in the default group automatically if they are in no other group.
  30. Offline


    I never knew, i naturally assumed they weren't because i remember certain commands wornt working when i tested it. perhaps an issue with another plugin? Either way i am glad i havent had to add to many people to default like a moron. :p
  31. Offline


    Is it possible you could add the ability to set who ran promote people to what rank.

    So for example, I want my admins to be able to make people members, but not to be able to promote themselves or promote other people to their rank.

    Perhaps add something like yeditor.editor.<group name here> for each group that group can change to?

Share This Page