Infamy for Hurtworld

Allows players with permission to add, remove, reset, or set infamy

Total Downloads: 141 - First Release: May 28, 2017 - Last Update: Jul 21, 2017

5/5, 1 like
  1. Wulf
    Configuration File:
    No
    Infamy allows players with permission to add, remove, reset, or set the infamy of players.

    Permissions

    This plugin uses Oxide's permission system. To assign a permission, use grant user <name or steam id> <permission>. To remove a permission, use revoke user <name or steam id> <permission>.
    • infamy.admin (allows player to control infamy of players)
      Ex. grant user Wulf infamy.admin
      Ex. revoke user Wulf infamy.admin
      Ex. grant group admin infamy.admin

    Commands

    • infamy add <name or id> <amount>
      infamy add all <amount>

      Adds infamy to one player or all players

    • infamy remove <name or id> <amount>
      infamy remove all <amount>

      Removes infamy from one player or all players

    • infamy reset <name or id>
      infamy reset all

      Resets infamy for one player or all players

    • infamy set <name or id> <amount>
      infamy set all

      Sets amount of infamy on one player or all players
    Localization

    The default messages are in the Infamy.json file under the oxide/lang/en directory. To add support for another language, create a new language folder (ex. de for German) if not already created, copy the default language file to the new folder, and then customize the messages.
    Code (Javascript):
    {
      "CommandAlias": "inf",
      "CommandUsage": "Usage: {0} <add|remove|reset|set> <name|id|all> [amount]",
      "InfamyAdded": "{0} infamy has been added to {1}",
      "InfamyAddedAll": "{0} infamy has been added to all players",
      "InfamyRemoved": "{0} infamy has been removed from {1}",
      "InfamyRemovedAll": "{0} infamy has been removed from all players",
      "InfamyReset": "Infamy has been reset for {0}",
      "InfamyResetAll": "Infamy has been reset for all players",
      "InfamySet": "Infamy has been set to {0} for {1}",
      "InfamySetAll": "Infamy has been set to {0} for all players",
      "NotAllowed": "You are not allowed to use the '{0}' command",
      "PlayersFound": "Multiple players were found, please specify: {0}",
      "PlayerNotFound": "Player '{0}' was not found"
    }
    EdDaRd likes this.