BanEffect

Discussion in 'Plugin Requests' started by tooki, Jan 13, 2017.

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

    tooki

    Plugin category: admin utility

    Minecraft version: 1.8.8

    Suggested name: BanEffect

    What I want:

    Idk if that is possible
    i would like an plugin detect when an admin, moderateur, ... (no simple player ^^) when admin start to type /ban %player% when the name of the player is mark , i would like to assign effect to him ( blindness, god mode, freeze.) and mark on title (Just for the person who is going to be)
    i would like can config title , ... on config file.


    Ideas for commands: No command just detect

    Ideas for permissions: BanEffect.Allow

    When I'd like it by: ASAP


    Thanks in advance for your reply
     
  2. Offline

    timtower Administrator Administrator Moderator

    @tooki We can't see what is in the chat box when they are still typing.
     
  3. Offline

    tooki

    ok thanks
     
  4. Offline

    DoggyCode™

    Are you sure it isn't possible with NMS code? The TabCompleteEvent is able to get the word in the chatbox which is trying to be comleted with tab.
     
  5. Offline

    timtower Administrator Administrator Moderator

    1 word yes, not the entire command, and it won't work when they are typing everything by hand.
    Not to mention that you can't detect if they hit backspace so you would give them god forever.
     
  6. Alternatively you could listen for the ban command and add a delay...


    Sent from my iPhone using Tapatalk
     
  7. Offline

    termanator1128

    @TheEnderman Then what would be the point of having the player be frozen.
     
  8. Offline

    Skrubzy

    Or it could only ban them when you confirm by clicking "[Yes]"
    - Clicking "[No]" Would unfreeze them and take away their blindness
    Code:
    /ban Skrubzy Hacks
    
    Are you sure you want to ban Skrubzy? Reason: Hacks
           [Yes]                    [No]
    And the ban confirmation could expire after a configurable amount of time
     
  9. Interesting idea, will try it out, mind if I use this to teach my jr devs? It would be a good example.


    Sent from my iPhone using Tapatalk
     
  10. Offline

    tooki

  11. Due to complications with other plugins I am behind schedule, plugin will be ready in a day or so.
     
Thread Status:
Not open for further replies.

Share This Page