AdminPunish GUI

Discussion in 'Plugin Requests' started by Newclear97, Dec 20, 2016.

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


    Plugin category: AdminTools

    Minecraft version: 1.10.2+

    Suggested name: AdminToolsGUI

    What I want: What I want to the plugin to do is when you do /punish [Player] it brings up a gui with a list of these punishments "Warn, Freeze, Mute, Temp Mute, Kick, Temp Ban, Ban" but make it so I can configure it so I can add more later

    Ideas for commands: /punish <player> or some aliases'

    Ideas for permissions:

    AdminTool.Mute -Allows temp mute too

    When I'd like it by: Soon if possible
    Lunix46 likes this.
  2. Offline


    I'll start working on this. I'll probably have it done by tonight or some time tomorrow.
    Do you want the command to be /punish <player> <reason> or just /punish <player>?? Also what do you mean by freeze? is that already a command in essentials or do you want me to disable player movement?

    EDIT: I'm finished. Download it from here!
    Last edited: Dec 25, 2016
  3. Offline


    Is there any way of making this work for 1.7.10?
  4. Offline

    timtower Administrator Administrator Moderator

    You requested it for 1.10...
    And do you get errors on 1.7.10?
  5. Offline


    Ik... I have a 2nd server and was seeing if it would work for 1.7.10 aswell
  6. Offline

    timtower Administrator Administrator Moderator

    @Newclear97 Then again:
  7. Offline


    I don't make any plugins for outdated versions ://
  8. Offline



    I think there might be a problem with your plugin here, where you have a global player object for target. What happens if someone else tries to punish another player whilst someone is already mid-punishment for a different player? Won't it overwrite the first guys punishment target player? I reckon so.

    A better way to do it would be a hashmap imo.
  9. Offline


    I've only got one account so I didn't test for that. I'm not sure it would overwrite it, though, since the command sender and target are set specific to the names.
  10. Offline


    The target player isn't unique to each command sender though, it's global and is overwritten by each commandsender
Thread Status:
Not open for further replies.

Share This Page