Filled Admin Reporter Plugin

Discussion in 'Plugin Requests' started by ripstikerpro, Sep 17, 2017.

Thread Status:
Not open for further replies.
  1. Plugin category: Admin Tools

    Minecraft version: Minecraft 1.11.2-1.12.1

    Suggested name: Admin Reporter

    What I want: I'd like a plugin that allows the user to use a simple command like /report to report a bug , an exploit , or someone missbehaving to the server administrator (anyone who has the permission AReporter.admin) by logging the messages and giving them a number in a log file (So you have the file in the plugins folder ) but you can also call the list of messages in pages (like the /help command) by typing /reports (needs the permission AReporter.admin) And /reports 2 would give you the second page of reports (provided there are enough to saturate the first page)

    And this is optional , a command that can remove the reports by typing /report-remove {report number}


    Ideas for commands:
    • /report {message} (if it has no following text it should return in chat "use /report {message} to report something") permission : AReporter.send
    • /reports (shows the reports) permission : AReporter.read
    • (OPTIONAL) /report-remove {report number} (removes the report with that number) permission : AReporter.rem

    Ideas for permissions:
    1. permission : AReporter.send
    2. permission : AReporter.read
    3. (OPTIONAL ) permission : AReporter.rem

    When I'd like it by: Within a month is ok for me.

    EDIT By Original Poster: In case you were wondering:
    1: An reports.yml or a reports.txt would do the job and the command will remove it from the file (if possible).
    2: A config is not necessary , but it would be cool to be able to change the messages.
    3: I do not think an delay to the command would be necessary
     
    Last edited: Sep 18, 2017
  2. Offline

    Reflxction

    So, the reports go to a file, for example, reports.yml, and /reports remove <number> removes it from the reports.yml file? Also, does/should it have a config? If so, what options? Also, should the command have a delay?
     
    Last edited: Sep 17, 2017
  3. @xTechno_ First : I am really sorry for the late response .
    Second: Yeah , an reports.yml or a reports.txt would do the job and the command will remove it from the file (if possible).
    Third: A config is not necessary , but it would be cool to be able to change the messages.
    Fourth: I do not think an delay to the command would be necessary .

    P.S. Will be adding these under the request to provide more info.
     
  4. Offline

    Reflxction

    @ripstikerpro Got it. Is this format for the reports.yml okay?
    Code:
    reports:
      report1: "haxor pls"
      report2: "op me"
      report3: "me names jeff"
      etc
      
    Not limited to 3 reports only, it will automatically add more based on the amount.
     
  5. @xTechno_ That is actually perfect .
    p.s. Them memes tho. <3
     
  6. Offline

    timtower Administrator Administrator Moderator

    @xTechno_ Why not a list instead of the key value pairs?
     
  7. Offline

    Reflxction

    @timtower I thought this was the easiest way I could use to be able to modify the yaml using in game commands
     
  8. Offline

    timtower Administrator Administrator Moderator

    Reflxction likes this.
  9. Imma agree with @xTechno_ , it seems a bit easier. <3
     
  10. Offline

    Reflxction

    @ripstikerpro Almost done with the plugin, sorry for the late response, dem school :p
    The only thing left is to add /reports remove and /reports list, hopefully this will be done within 2 hours of this post.
     
  11. @xTechno_ Great ! also , I feel ya , school is taking up most of my time as well.
     
  12. Offline

    Reflxction

    I apologize for the long delay, there were issues with /reports list and /reports remove, so those 2 commands won't work properly. I'll just give you what I have done so far. I'll just continue to try to fix the issues. For now, the only bugs are with /reports list and /reports remove. If you find any, let me know.
    And if reports.yml is blank/empty, just fill it with this:

    Code:
    current-reports: 1
    reports:
      report1: ""
      
    https://www.dropbox.com/s/k4o7znz1h0acq5b/AdminReport.jar?dl=0
     
  13. @xTechno_ I am supper thankful of what you did , you are awesome .
    Also , I am not bothered by /reports list & /reports remove since I can view them in the physical File.

    thanks
     
    Reflxction likes this.
Thread Status:
Not open for further replies.

Share This Page