1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Permission Finder

Discussion in 'Plugin Suggestions' started by Antagonist, Jan 27, 2013.

  1. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
    Something that you can use like "/findperm <command>" and it returns the permission required to use the command. It would be good to have on the go, rather than having to look up the permissions for something when you wanna add them to a particular group. POSSIBRU? :rolleyes:
     
  2. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    644
    Yep, probably.
     
  3. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    644
  4. Snirk Immington

    Snirk Immington Level 9

    Joined:
    Jan 12, 2012
    Messages:
    378
    I was going to tell you to use string.Join for parameters with spaces, then I realized that you wouldn't need to worry about commands with two word names...
     
  5. DaGamesta

    DaGamesta Level 5

    Joined:
    Sep 3, 2011
    Messages:
    114
    There's gotta be a place for all of these smaller commands that don't really fit into other plugins but aren't really big enough to make a plugin themselves. MoreAdminCommands was kind of that idea, but Olink is in charge of that now. Maybe you should could pull request this command into MoreAdminCommands? Unless there is some other similar plugin that's popped up since I stopped updating MAC that would be better for it.
     
    • Like Like x 1
  6. Ijwu

    Ijwu Level 11

    Joined:
    Apr 4, 2012
    Messages:
    644
    Pull request sent for MAC. Thanks for the suggestion.
     
  7. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    im not maintaining it, i just happen to have the most up to date source on my account :\
     
  8. DaGamesta

    DaGamesta Level 5

    Joined:
    Sep 3, 2011
    Messages:
    114
    I'd assumed that you were taking pull requests, but if not then I can start maintaining it again.

    EDIT: Well, I see you accepted the pull request anyways. Regardless, after looking at this I was thinking I'd pull a Redigit and resurrect my project here. Nowadays I'm far more experienced with GitHub and programming in general, so I think I'm now capable of seeing this thing all the way through. (As far as pull requests go, anyways. I'll probably be updating it far less often this time around, and stop entirely at some point, though I'll keep accepting pull requests and updating the topic until the day TShock dies or the planet ends. I'm presuming the latter will come first)

    So look forward to it, I'll get around to it tomorrow when I post my other new plugin.

    As far as TileEditing is concerned, I still think it's probably not worth it since there is the WorldEdit plugin already.
     
    • Like Like x 1
  9. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
    Wow that was quick, thanks! :)
     
  10. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    As I said, i maintain the most up to date code source, so if you make pr's, I will accept them. However if you want to add a melon ton or rewrite it, than feel free to fork/reupload to your own account ;)
     
  11. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
    Could this please be fixed? It just returns 'command failed..' thanks
     
  12. scavenger

    scavenger Level 9

    Joined:
    Sep 13, 2011
    Messages:
    304
    This is probably my fault again :( I can send a pull request later today
     
  13. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
  14. scavenger

    scavenger Level 9

    Joined:
    Sep 13, 2011
    Messages:
    304
    Sorry its taken a bit longer xD are you using this with MAC? or Ijwu's version?
     
  15. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
    Ijwu's, what's the MAC one :O
     
  16. scavenger

    scavenger Level 9

    Joined:
    Sep 13, 2011
    Messages:
    304
  17. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
    Works :D thank you!! Amazing plugin I've missed it
     
  18. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
    I have a suggestion/problem: it can't do specific terms onto commands, etc finding the permission for "/iw tp" because sometimes there are permissions required for extra stuff
     
  19. scavenger

    scavenger Level 9

    Joined:
    Sep 13, 2011
    Messages:
    304
    Not really possible because it's handled by the plugin and not tshock, you would have a list for each plugin which isn't really practical. It is possible to get it to tell you what plugin a command is from so you can look it up, but that defeats the purpose.
     
  20. Antagonist

    Antagonist Level 6

    Joined:
    Sep 15, 2012
    Messages:
    149
    Ok :( thanks though!