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
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.
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.
Alternatively you could listen for the ban command and add a delay... Sent from my iPhone using Tapatalk
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
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