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 allResets infamy for one player or all players

infamy set <name or id> <amount>
infamy set allSets 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"}