AdminLog - Allow admins to easily record offences

Discussion in 'Archived: Plugin Requests' started by DVnity, Mar 10, 2013.

  1. Offline

    DVnity

    Plugin category: Tool

    Suggested name: AdminLog

    What I want: A plugin where an Admin can log an offence and then the plugin will execute a punishment depending on the number of times the user has been previously 'logged'. For example, if a user x-rays, an admin would add the offence through the plugin (ie. /adminlog user x-rayed @ x y z) the plugin would add this to a mysql database then check to see how many previous offences the user has and if it's his first it could jail him for a day and if it's the second it could ban him.

    It should be quite simple just basically needs to do:
    -Admin adds a log to user through command with reason
    -Gets saved in a mySQL table with the reason
    -Checks the number of offences for users
    -Commits a punishment depending on the time

    Ideas for commands:
    -/adminlog username add reason for adding an offence
    --This would add an offence to a user
    -/adminlog username get
    --This would return the number of offences the user is on
    -/adminlog username check
    --This would return the last reason that an offence was added for

    Ideas for permissions:
    adminlog.get - Can check personal number of offences
    adminlog.getOther - Can check others' number of offences
    adminlog.check - Can check personal last reason for offence
    adminlog.checkOther - Can check others' last reason for offence
    adminlog.add - Can add an offence

    When I'd like it by:
    As soon as possible! :)

    Thanks for reading,
    If you have any questions please ask!
     
  2. Offline

    darkphantom934

    I'd be interested -- Add me on skype (darkphantom934)
     
  3. Offline

    penguinben

    Called: strikes
     
  4. Offline

    DVnity

    It doesn't offer much support or features yet, but if it gets updated this would not be needed.
     
  5. Offline

    penguinben

    Message the creator, he would most likely be willing to add features :)
     
  6. Offline

    DVnity

    Will do
     

Share This Page