Reputation 1.4

Controlling player reputation and giving punishment

  1. Peace2016
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    My Plugin
    CombatTag, Reputation, CommandSpy, GroupWorldChat, AntiPluginSpy, SafetyGuard

    Description
    This created for controlling player reputation and giving punishment. It is easy to use with other plugin. It also suitable for server that having warning system. This plugin working with java 8.

    SoftDepend Plugin
    PlaceholderAPI


    Feautures
    • Log File
    • DailyReputation Add
    • Every 60 seconds update maxreputation
    • Permission based max reputation
    • Punishment based reputation with command
    • Easy to work with other plugin by using reputation plugin command / Public API
    • 95% message editable
    • Placeholder Support
    How to use
    1. Download this plugin.
    2. Put this plugin into your plugin folder.
    3. Reload or restart your server.
    4. Configuration your file.
    Commands & Permission
    • /reputation <player>
      • Description: Check your reputation/other player reputation
      • Aliases: [rep]
      • Permission: reputation.check / OP
    • /reputationadmin
      • Description: Display admin command
      • Aliases: [repadmin]
      • Permission: reputation.admin.help /reputation.admin / OP
    • /reputationadmin reload
      • Description: Reload plugin
      • Aliases: [repadmin reload]
      • Permission: reputation.admin.reload /reputation.admin / OP
    • /reputationadmin <player> default
      • Description: Set player reputation to default
      • Aliases: [repadmin <player> default]
      • Permission: reputation.admin.default /reputation.admin / OP
    • /reputationadmin <player> add
      • Description: Add reputation to player
      • Aliases: [repadmin <player> add]
      • Permission: reputation.admin.add /reputation.admin / OP
    • /reputationadmin <player> subtract
      • Description: Remove reputation from player
      • Aliases: [repadmin <player> subtract]
      • Permission: reputation.admin.subtract /reputation.admin / OP
    • /rate <player>
      • Description: Rate player with giving 1 reputation
      • Permission: reputation.rate / OP
    Placeholder
    • PlaceholderAPI by clip
      • %reputation_rep% - Get player reputation
      • %reputation_max% - Get player max reputation
    Configuration
    ######################################
    # Options #
    ######################################
    UpdateChecker: true
    #Log add/subtract reputation to log.yml
    Log: true
    #Reputation: Default reputation set for newplayer
    #MaxReputation: Default max reputation set for newplayer
    #DailyReputationAdd: Add custom reputation every day.
    Default:
    Reputation: 100
    MaxReputation: 100
    DailyReputationAdd: 2
    ######################################
    # Permission Max Reputation #
    ######################################
    #(PermissionID):
    # Permission: (permission)
    # MaxReputation: (MaxReputation you want)
    # Priority: (the lower number the higher priority)
    PermissionMaxReputation:
    perm1:
    Permission: reputation.perm1
    MaxReputation: 110
    Priority: 2
    perm2:
    Permission: reputation.perm2
    MaxReputation: 120
    Priority: 1
    ######################################
    # Punishment #
    ######################################
    #(Reputation):
    # Command:
    # - '(Command to run when less or equal to reputation)'
    ReputationPunishment:
    0:
    Command:
    - 'ban %player% Your account suspended as your reputation is %reputation%'
    10:
    Command:
    - 'tempban %player% 3day Your account limited access as your reputation is %reputation%'
    20:
    Command:
    - 'tempban %player% 2day Your account limited access as your reputation is %reputation%'
    40:
    Command:
    - 'tempban %player% 1day Your account limited access as your reputation is %reputation%'
    Prefix: '&7[&eReputation&7] '
    Messages:
    Usage-Reputation: '&cUsage: /reputation <player>'
    Usage-ReputationAdd: '&cUsage: /repadmin <player> add <integer>'
    Usage-ReputationSubtract: '&cUsage: /repadmin <player> subtract <integer>'
    PluginReload: '&aSuccesful reload plugin.'
    NoPermission: '&cSorry, you do not has permission.'
    NotInteger: '&cSorry, %arg% not integer.'
    PlayerNoFound: '&cSorry, player not found.'
    PlayerNotOnline: '&cSorry, player not online.'
    SelfReputationCheck: '&aYour reputation&7: &6%reputation%&7/&6%maxreputation%.'
    OtherReputationCheck: '&b%player% &areputation&7: &6%reputation%&7/&6%maxreputation%.'
    PlayerDefaultReputation: '&6%player% &areputation &breturn to default.'
    PlayerReputationAdd: '&aSuccesful &badd &6%integer% &bto &6%player% &areputation.'
    PlayerReputationSubtract: '&aSuccesful &bsubtract &6%integer% &bfrom &6%player% &areputation.'
    Help-ReputationAdmin:
    - '&c-------------&7[&eReputation&7]&c-------------'
    - '&a/repadmin help &7- &bDisplay reputation help.'
    - '&a/repadmin reload &7- &bReload reputation plugin.'
    - '&a/repadmin <player> add <integer> &7- &bAdd reputation to player.'
    - '&a/repadmin <player> subtract <integer> &7- &bSubtract reputation from player.'
    - '&a/repadmin <player> default &7- &bSet player reputation to default.'
    Help-Player:
    - '&c-------------&7[&eReputation&7]&c-------------'
    - '&a/repadmin <player> add <integer> &7- &bAdd reputation to player.'
    - '&a/repadmin <player> subtract <integer> &7- &bSubtract reputation from player.'
    - '&a/repadmin <player> default &7- &bSet player reputation to default.'
    Public Api
    Code (Java):
    import org.bukkit.entity.Player;
    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.event.player.PlayerQuitEvent;

    import com.peacehero.reputation.main.PublicApi;

    public class ExampleApi implements Listener{
        public void getReputation(Player player){
            int RepInt = PublicApi.getReputation(player);
            String RepString = PublicApi.getReputationString(player);
            int MaxRepInt = PublicApi.getMaxReputation(player);
            String MaxRepString = PublicApi.getMaxReputationString(player);
        }
        #Just an example#
        @EventHandler
        public void OnLeave (PlayerQuitEvent event){
            Player player = event.getPlayer();
            PublicApi.AddReputation(player, 10);
            PublicApi.RemoveReputation(player, 5);
        }
    }
     

    Plan To Do
    • MVdWPlaceHolder API
    • Suggest any idea

Recent Updates

  1. Fixed Error
  2. Improve PublicAPI, add placeholder support
  3. Fixed bugs

Recent Reviews

  1. SrKeviin
    SrKeviin
    4/5,
    Version: 1.4
    Upload placeholders ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
  2. Rexmen
    Rexmen
    5/5,
    Version: 1.0
    Good plugin with a good idea. Works great and no issues or anything. But not usable for me. I will suggest adding player commands so players can add reputation for other players.
    Players can only give one reputation to another player. They can give a new reputation to diff player but can't give 2 reputations to the same player.
    They can edit later.
    1. Peace2016
      Author's Response
      Thank you for your review. Noted your suggestion.