GlamReports

Discussion in 'Plugin Requests' started by Glamourized, May 7, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Glamourized

    Plugin category: Community Management / Admin Tools

    Minecraft version: 1.11

    Suggested name: GlamReports

    Update News: So the plugin is almost complete thanks to @yPedx, however, there is a bit of a speed bump in the plugin. This would be the /note check <player> command. Sending the list of notes to the player correctly seems to be the issue. If you think you can solve this issue, please message me or yPedx.

    What I want:
    I'd like a plugin that allows players to report other players and open tickets, all while using a GUI. Staff members will be able to manage both tickets and reports to help the community. Another smaller addition, notes. Notes are like little messages about players that staff can assign to that player; useful when there is a sibling of someone who is bypassing a punishment.

    Ideas for commands:
    /report <player> <reason> (Opens up the following GUI):
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    (This next image will only be seen by staff)
    [​IMG]
    Reports are clickable and if you click on a report in chat, you will teleport to %reported%
    (Next image used if player lacks glamreports.submitreport)
    [​IMG]

    /note add <player> <note> - Adds a little message about a player to a player.
    (Obviously, %player% will be the player's name, the "1" will be the ID and the reason will be the reason)
    [​IMG]
    /note check <player> -
    Lists notes about a player.
    (The numbers in aqua are the ID, the Admins are staff with glamreports.addnote that added the note, and the messages in white are the notes.)
    [​IMG]
    [​IMG]

    /note delete <player> <ID> - Deletes a note with a given ID. It'd be nice if after a note is deleted, the following notes go down by 1 integer. For example, if a staff member deletes note 2 out of 3. Note 3 would take two's place.
    [​IMG]
    [​IMG]

    /ticket <message> -
    Used to ask staff a question or concern.
    [​IMG]
    [​IMG]
    /tickets - View ticket GUI.
    [​IMG]
    [​IMG]
    [​IMG]

    /ticketsound - Toggles the sound played when a new ticket is created. (Default sound - ENTITY_EXPERIENCE_ORB_PICKUP)
    /cleartickets - Mass deletes every ticket.

    Ideas for permissions:
    glamreports.submitreport -
    Able to use /report and submit the report.
    glamreports.viewreports - Able to view incoming reports.
    glamreports.bypass - Players will be unable to report players with this permission i.e. Staff
    glamreports.addnote - Able to add a note to a player.
    glamreports.checknotes - Able to view notes about a player.
    glamreports.delnote - Able to delete notes.
    glamreports.ticket - Open a ticket.
    glamreports.ticketsounds - Toggle ticket sounds.
    glamreports.viewtickets - Able to view incoming tickets and GUI.
    glamreports.managetickets - Able to delete tickets.
    glamreports.cleartickets - Clear all tickets. Dangerous!

    When I'd like it by: I understand that this is a big request, if you're willing to make it, timing isn't a huge issue.

    Due to the 20-image-limit, I had to make a separate Imgur link with every image needed. You can find that link here.
    ** Information in
    blue are things that have been added since the original post! **
     
    Last edited: May 24, 2017
  2. Offline

    yPedx

    @Glamourized
    Might be able to do this, I'll keep you updated :p Should the tickets be clickable? If so, what should happen?
     
    Last edited: May 8, 2017
    Glamourized likes this.
  3. Offline

    Glamourized

    Well, if you Shift-Left-Click them, they are removed from the GUI and the player that submitted the ticket gets a message that states their ticket was handled, will you need an image for the message?
     
  4. Offline

    yPedx

    @Glamourized
    Alright, an image would be great too.
    Should there be a max of how many tickets a player can submit? As people may spam.
     
    Last edited: May 8, 2017
    Glamourized likes this.
  5. Offline

    S1ant

    @yPedx If you decide to quit on this plugin, I'd gladly take it up!
     
    Glamourized likes this.
  6. Offline

    yPedx

    @Glamourized
    You risk a plugin crash if you want the main menu's name to be "Reporting: <player>" as an inventory's name has a limit of 32 characters.
     
    Last edited: May 8, 2017
  7. @yPedx Slightly offtopic, but: why?
    Playernames can have 16 characters maximum.
    Code:
    §cReporting: §f
    is 15 characters long (including color codes). Combined that's 31 chars - at maximum. Impossible to be longer than that.

    Furthermore: I tested (in mc 1.11.2) an inventory name longer than 32 chars and that worked without any problems (the text just sticks out of the gray inventory texture). The only limitation is renaming an item with an anvil which apparently has a limit of 32 characters.
    On the other hand the scoreboard used to have a limit of (I think) 16 chars in older versions of minecraft; so there might have been a limit in older versions for inventories as well.
     
    ipodtouch0218 and Glamourized like this.
  8. Offline

    yPedx

    @Coww
    mhm, forgot the player name limit..
    The reason why I mentioned it was because I had problems with it before, and the reason was that it was longer than 32 characters. (1.8.8) Might have been as you said, older version settings.
    Thanks for letting me know :p
     
  9. Offline

    Glamourized

    @yPedx
    Perhaps add that option in the config, if you haven't already.
     
    Last edited: May 8, 2017
  10. Offline

    yPedx

    Glamourized likes this.
  11. Offline

    S1ant

    Glamourized likes this.
  12. Offline

    yPedx

    @S1ant
    No, still a bit to do. Did you finish it though?
     
  13. Offline

    S1ant

    @yPedx No, I was just going to see if you didn't want to follow up with it, then I was going to do it!
     
  14. Offline

    yPedx

  15. Offline

    IcyRelic

    I have also started making something like this but more advanced. Using this as an outline. I have completed everything but tickets and notes. Will also add tickets, notes, and more.

    @yPedx Let me know if you need anything.
     
  16. Offline

    Glamourized

    What do you mean more advanced @IcyRelic
     
  17. Offline

    IcyRelic

    More options more capabilities
     
    Glamourized likes this.
  18. Offline

    Glamourized

    @S1ant @IcyRelic the plugin is almost complete thanks to @yPedx, however, there is a bit of a speed bump that we'd be grateful if you could help solve. Basically, the issue is /note check <player> and sending the notes to the executer. If you could help that would be amazing.
     
  19. Offline

    S1ant

    Glamourized likes this.
  20. Offline

    IcyRelic

    The way I did it it is database driven. So I'd just run a sql query to get the notes by uuid
     
  21. Offline

    yPedx

    @S1ant @Glamourized
    Finally found a solution to the /note check <player> thanks to the amazing bukkit forums :p Only tickets left.

    EDIT: Stuck at tickets. Not enough knowledge to continue at all. You may contact @Glamourized if you want to continue the project :)
     
    Last edited: May 26, 2017
    Glamourized likes this.
Thread Status:
Not open for further replies.

Share This Page