[FUN/MISC] joerep v0.5 - Simple player driven reputation system [740]

Discussion in 'Inactive/Unsupported Plugins' started by JoeJoeMcBean, Apr 11, 2011.

  1. Offline

    JoeJoeMcBean

    joerep - A simple player driven reputation system.
    Version: v0.5

    Uses Permissions (Tested with v2.7 Phoenix).
    Uses sqlite or mysql.

    Description:
    Allows players to give and take reputation points from each other based on their interactions. Don't like that someone pvp'd you - take a rep point from them! Feeling generous give someone some rep. Over time players will be able to see how others 'feel' about each other based on their chat name color.

    Default: ( @overlordror - Thanks for the scale!)
    [-40 : -31] Grey - Criminal
    [-30 : -21] Dark Red - Evil
    [-20 : -11] Light Red - Despised
    [-10 : -1] Gold - Hated
    [0 : 10] Yellow - Neutral
    [11 : 20] Dark Green - Liked
    [21 : 30] Light Green - Loved
    [31 : 40] White - Divine (white not black, otherwise can't see on this background.)

    Features:
    Show Spoiler

    • Use ~PN for PlayerName, ~REP for reputation and ~0-f for colors in the ranks.config file. Easily build fairly complex display names with suffix, prefix, colors, etc.
    • Based on the number of points you have your chat name may be a different color, have a prefix or suffix or even have the chat text a different color
    • The plugin can add a [#] to the chatname allowing others to see your exact number of reputation points. For example JoeJoeMcBean[50]: Hi There! by using the ~REP option in the ranks. config file.
    • Players can display the top 1 best and worst reps, as well as a top/worst number of reps (rankings).
    • Cannot give or take rep from yourself.
    • Can only give or take reputation once per configurable time frame per player.
    • Admins can set player reputation, and reset their re-use timer.
    • Admins can generate a report to list players and reputation to a log file.
    • Source included in jar.


    Download jar's here (or from attached file below):
    Show Spoiler

    joerep:
    sqlite:
    mysql:

    Installation:
    Show Spoiler

    Copy the joerep.jar file to your plugins directory. The plugin will create the plugins/joerep folder, joerep.db, joerep.config, and ranks.config.
    Copy sqlite.jar or mysql.jar to the main server folder or to the plugins/joerep folder (if you do not already have).

    Permissions:
    Show Spoiler

    joerep.user.*
    joerep.user.me
    joerep.user.best
    joerep.user.worst
    joerep.user.give
    joerep.user.take

    joerep.admin.*
    joerep.admin.info
    joerep.admin.set
    joerep.admin.resetuse
    joerep.admin.report


    Commands:
    Show Spoiler

    User:
    /rep
    /rep me
    /rep best [#] # is optional; /rep best 10 will show top 10 rankings, otherwise just top 1.
    /rep worst [#]
    /rep give <playername>
    /rep take <playername>

    Admin:
    /rep info <playername> Display player reputation info.
    /rep set <playername> <rep #> Sets player repution.
    /rep resetuse <playername> Sets use timer back a day so player can give or take reputaion point.
    /rep report Dumps DB PlayerName and Reputation to joerep_report.log


    TODO:
    Show Spoiler

    Clean up code.​


    Changelog:
    Show Spoiler

    Version 0.5
    Allow players to give rep more than once in the time period but only to different players.​
    Version 0.4
    Added mysql support.​
    Simplified re-use time setting in the joerep.config​
    Version 0.3
    Greatly simplified display name configuration in the config (Thanks @Valrix code for getting me pointed in the right direction.)​
    Version 0.2
    Added customizable configs.​
    Added ability to not use color. (May conflict with plugins that change DisplayName, untested)​
    Added ability to set re-use time (milliseconds)​
    Added ability to set each rank level and color.​
    Added prefix, suffix and color choices for each.​
    Added joerep_report.log​
    Version 0.1
    Release​
     

    Attached Files:

  2. Offline

    clownfish

    Someone please update this.. I could really use this on my server! :) Is there anything else like it, that's up to date?
     

Share This Page