[INACTIVE][ADMN/CHAT] JOPHWarn - The awesome way to warn users! V 1.6.3 [1.3.1-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by JOPHESTUS, Jul 20, 2012.

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

    JOPHESTUS

    [​IMG]
    BUKKITDEV PAGE
    JOPHWarn - The awesome way to warn users!
    Note: For support please go to my site
    What it does?
    JOPHWarn is a simple plugin that is used to warn players about griefing, stealing, swearing or anything really.
    Is it heavy on resources?
    No. JOPHWarn is designed to be lightweight and it runs smoothly
    What features does it have?
    • Warn players with /warn <playername> warning
    • You can view the warnings of any player, they don't have to be online :D[​IMG]
    • You can define how many warnings before a user is kicked
    • You can define how many warnings before a user is banned
    • You can clear a user's warnings using a command (see below)
    • All warnings show in the console and go in your server.log file
    • Offline warning :D
    • Players with a perm node can be notified on warnings
    • Timestamps in warnings
    Commands
    • /warn PLAYERNAME WARNING-TEXT-HERE -warns a user
    • /warnings view PLAYERNAME - shows the users warnings and who warned them
    • /warnings clear PLAYERNAME - clears all of a user's warnings
    Permissions
    • JOPHWarn.warn - Allows players to warn other users
    • JOPHWarn.view - Allows players to view other users warnings
    • JOPHWarn.warnings.clearall - Allows a player to clear all of a users warnings
    • JOPHWarn.notify - Notifies anyone with this perm when a user is warned
    Config
    Code:
    ################################################
    #            JOPHWarn Config                  #
    ################################################
     
    #Notify all people with JOPHWarn.notify when a player is warned
    notifyadmins: true
     
    #Enable kick feature?
    enablekick: true
    #The maximum amount of warnings a players gets before they are kicked
    kickafter: 3
    #kick message
    kickmessage: 'Slow down, you are gonna get banz0rd'
     
    #enable ban feature?
    enableban: true
    #ban after how many warnings?
    banafter: 10
    #Ban message
    banmessage: 'You have reached the maximum allowed warnings'
     
    ################################################
    #            JOPHWarn Custom Commands        #
    ################################################
     
    #!!!!! %p will be replaced with the players name !!!!!#
    #!!!!! %w will be replaced with the warn reason  !!!!!#
     
    #enable customcommand1?
    enablecustom1: false
    #execute custom command after:
    custom1warns: 5
    #custom command1 (use %p for player)
    custom1command: 'tempban %p 1d'
     
    #enable custom command2?
    enablecustom2: false
    #execute custom 2 after
    custom2warns: 2
    #custom2 command (use %p for player)
    custom2command: 'jail %p jailname'
     
    #enable custom command3?
    enablecustom3: false
    #execute custom custom 3 after?
    custom3warns: 1337
    #custom3 command (use %p for player)
    custom3command: 'deop %p'
     
    #enable custom command4?
    enablecustom4: false
    #execute custom 4 after
    custom4warns: 1337
    #custom4 command (use %p for player)
    custom4command: 'jail %p jailname2'
     
    #enable custom command5?
    enablecustom5: false
    #execute custom 5 after
    custom5warns: 1337
    #custom5 command (use %p for player)
    custom5command: 'jail %p jailname3'
     
    #enable custom command6?
    enablecustom6: false
    #execute custom 6 after
    custom6warns: 1337
    #custom6 command (use %p for player)
    custom6command: 'jail %p jailname4'
    
    Changelog (open)

    V 1.6.6
    Added:
    %w in custom commands is now replaced with the warning reason
    V 1.6.5
    Added:
    Timestamps to warnings
    V 1.6.4
    Fixed:
    Users without jophwarn.warn will no longer be able to just type /warn.
    V 1.6.3
    Added:
    Offline warning :D
    Notify feature
    V 1.6.2
    Fixed:
    More bugs
    V 1.6.1
    Fixed:
    A bug when not entering enough args
    V 1.6
    Added:
    4 extra custom commands (total of 6)

    V 1.5
    Added:
    2 configurable custom command features
    V 1.4
    Added:
    A command to clear all of a user's warnings
    V 1.3
    Added:
    Configurable kick feature (with customisable message)
    Configurable ban feature (with customisable message)
    When a user is kicked or banned from too may warnings it prints it to the console.
    V 1.2.1
    Added:
    Warnings are no longer stored in config.yml, they are stored in warnings.yml now.
    V 1.2
    Added:
    All warnings are put into a file, and they can be viewed at any time via command.
    V 1.1.2
    Added:
    You now get an error when you have not entered the name of an online player.

    V 1.1.1
    Fixed:
    Fixed the message confirming when you warn a player. I forgot to add in .getName() so it was showing CraftPlayer{name=playername}

    V 1.1
    Added:
    When you warn a user you get a notification. e.g. "[JOPHWarn] Warning sent to playername"

    V 1.0
    Added:
    /warn player reason


    Please note:
    The built in banning in JOPHWarn does not ban with reasons, they will get the ban message "Banned by admin". I recommend using a custom command to do the banning e.g. "custom1command: 'ban %p %m' "
    You should liek, totally check out my site! It has all my plugin documentation and it's just really awesome :D HERE
     
  2. Offline

    md_5

    Could adapt this to view how many warnings the Bukkit account JOPHESTUS has :p
    Approved.
     
  3. Offline

    JOPHESTUS

    Can I has access to mysql database? >;D
    readme.txt (open)

    8 :(

    P.S - THANKS :D
     
  4. Offline

    md_5

    I was more hinting at your potentially high warn count :p
     
  5. Offline

    JOPHESTUS

    Updated to version 1.3
     
  6. Offline

    benvig

    How do you change the amount of warnings before something happens?
     
  7. Offline

    JOPHESTUS

    In the config, there is kickafter and banafter.
    If those features are enabled you change
    kickafter: 3
    banafter:10

    kickafter is where you put the amount of warnings a user gets before they get kicked
    banafter is where you put the amount of warnings before a user is banned
     
  8. Offline

    benvig

  9. Offline

    JOPHESTUS

    Updated to V 1.4 - can be downloaded via dropbox or bukkitdev (once accepted)
     
  10. Offline

    Darthmineboy

    Please make it that a command is being executed whenever a player reaches a maximum amount of warnings. So we can use any plugin that can punish them. For example /tempban <player> 10 day .. I dont want permament bans and maybe first jail them :p.... I think this is also good so different commands are being executed and we as server owners can really configurate what is going to happen!

    Tnx!'

    Edit :
    Add in the config like
    Grief: 3 , means if you say /warn <player> grief , he will receive 3 warnings instead of 1. And with this loads of more events like
    Biggrief: 5
    Smallgrief: 2
    AFR = Asking for rank : 1

    I need this plugins to do that features XD... This is all I think
     
  11. Offline

    Mkisner328

    Is there any way to get it to work offline? like warning someone when they arent online.. because its highly unlikely someone who griefs is going to get cought in the act.
     
  12. Offline

    JOPHESTUS

    When I get time I will add in a couple of custom command features :)
    Yes, this will be there soon :)
     
  13. Offline

    JOPHESTUS

    Updated to V1.5
    Added in custom commands (see changelog) Darthmineboy
    Awaiting approval
     
  14. Offline

    Stevensaurus

    Wow, this looks really cool. Can we have more than 2 custom commands?
     
  15. Offline

    JOPHESTUS

    I can add more tonight
     
  16. Offline

    Darthmineboy

    Yeey! Im going download it :D Just back from vacation TNX!
     
  17. Offline

    Mkisner328

    so when will we be able to warn ppl that are offline??
     
  18. Offline

    JOPHESTUS

    Soon, at most a week. Sorry for any inconvenience
     
  19. Offline

    CraftUrToe

    dude this plugin is AWESOME!!
     
  20. Offline

    JOPHESTUS

    Thanks :)
     
  21. Offline

    Darthmineboy

    Back from Vacation, Tnx for adding my ideas

    Hope it works on 1.3 :)
     
  22. Offline

    JOPHESTUS

    I tested it and it seemed to work
     
  23. Offline

    Darthmineboy

    what happens if your first command is exectuted when he has 10 warnings and second when he has 20 warnings, and you give the player 40 warnings?
     
  24. Offline

    JOPHESTUS

    Sorry, I don't understand what you mean
     
  25. Offline

    JOPHESTUS

    Updated to 1.6
     
  26. Offline

    CraftUrToe

    nice man!
     
  27. Offline

    dhdeanha

    You should add a feature that after a while (configurable) for example 12 hours your warnings gets cleared automatically.
     
  28. YES. Exactly what I've been hoping for!
     
  29. Offline

    Mkisner328

    can we warn players who r offline yet?
     
  30. Offline

    JOPHESTUS

    Not yet sorry.

    UPDATED TO V 1.6.1
    (fixed bug)

    Updated to V 1.6.2 Mkisner328 I am currently working in offline warning, Just trying to "squash" a bug

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
Thread Status:
Not open for further replies.

Share This Page