Home / Gmod Addons Marketplace / Gmod Karma + Reputation System


Media
Description πŸ‡¬πŸ‡§ Description πŸ‡«πŸ‡·

Gmod Karma + Reputation System - Script


Demonstration Youtube video of Gmod Karma + Reputation System

Gmod Karma System will allow your Gmod server to define the reputation of a user according to his Karma points which are segmented in several alignments that you will have defined and in quantity that you will need, for example a user will be able to have a title: Very Bad, Bad, Neutral, Friendly, Very Friendly... You can create your own levels and define a karma according to the user's actions in an automated way. The system also provides a system of restricting jobs based on the number of karma points required. For example, bad people can only be Slytherin, this is just an example. You can also use this system outside of the gameplay but as an additional administration tool where you can manually set the player's reputation. This ultra-modular system will have whatever role you decide to give it. Customizable karma gauge display on the HUD included.


database-management spawnmenu job-restriction set-job-apply hud-modular modules darkrp-restricted-job easy-reset inventory-compatibility scoreboard-compatibility restriction-with-dealer

Maximum image size
Description

Description of Gmod Karma + Reputation System

Contents:
  1. πŸ“˜ What is Gmod Karma and Reputation System
  2. πŸ“¦ Contents of Gmod Karma and Reputation System
  3. ❓ What type of need can Gmod Karma and Reputation System meet?
  4. βš™οΈ The integrated administration panel
  5. πŸ—ƒοΈ Database and database management integrated
  6. πŸ”› Modular Karma system options
  7. 🎨 HUD of editable karma gauge and reputation indicator
  8. βœ”οΈ Known compatibility
  9. 🧲 Symbiosis between existing scripts
  10. 🧩 APIs for devs


πŸ“˜ What is Gmod Karma and Reputation System?

Gmod Karma and Reputation System adds a Karma and Reputation system for your Garry's Mod server (as the name suggests). It defines a player's reputation rank based on his or her level of Karma points.

These points can have a real meaning for the people and the communities they participate in. But also in the judgment of the moderation and administration team. In addition to being able to restrict access to certain functions according to the reputation gained or lost. Karma reflects who the user really is. Except in the case of roleplay, which allows you to remember that the character is playing a villain.

The system will automatically assign titles of distinction to a user based on their reputation which will evolve based on their good and bad deeds on your server, you can assign it manually or define in the options panel which deeds will distribute karma points based on the consequences. Although this can be changed, by default the karma points go from 0 to 1000. You can create as many levels as you want, named by titles. For example, by default

100 karma points = Very bad person (or super bad, you can rename them as you like)
400 karma points = Bad person.
600 karma points = Neutral person.
750 karma points = Good person.
1000 karma points = Very good person.

If you want to remove or add intermediates, it's your choice.

You will be able to rename its levels and add some to match the theme of your Gmod server. You will also be able to modulate the points it takes to reach its levels. Titles indicating the user's alignment are distributed automatically according to the number of points the user has. APIs exist to integrate them directly into other GMod addons and are provided in the description and the Wiki.

Finally, actions have consequences. If you don't use it to enrich the history of your server, you can use it as an add-on to the administration system. No more digging through logs to find evidence.

Why did I think of a karma system?
I thought it was a good idea because I already coded a Karma system initially on my Gamemode for my server and it served me well. In my own case, I had several servers, one PvP and one PvE, but it was impossible to enforce the PvE (players versus environment) rules. PvP players just wanted to kill other players and were eventually banned by the team. Stronger rules never solved this problem and it required a lot of presence. So I stopped calling the server PvP and PvE and created a karma system that allowed me to classify PvP players who attacked the good guys as "Bandit" automatically when they killed neutral and friendly players. This allowed PvE players to band together to defend themselves and cooperate against players who were labeled as bandits, because before you couldn't tell who was good or bad, the good player would end up losing their character because the bad player was the first to attack. With a karma-based system, PvP players have their PvP. And PvE players can avoid combat or help each other by forming support groups. And I stopped banning people who kill players on PvE servers, the bandit has become part of the gameplay.
This kind of situation concerns me but the fact that this script is designed to be modular and adapt to all gamemodes will allow you to adapt it to your needs from the included administration interface.

The system can be used in two ways. Either in an administrative and private way, it indicates that the player is not very well intentioned because his reputation is tarnished by his actions (or improved).
Or in the RP or Lore, it will tell who is on the side of the good guys or the bad guys.

The icing on the cake is that this system will also allow you to limit access to professions according to the user's reputation. For example, to be a police officer, you must have a certain level of Karma, otherwise access to the job will be denied.

You will also be able to restrict access to my merchants according to their Karma points (Scripts already compatible in the store below)

Feel free to consult the wiki which provides more detailed information.



πŸ“¦ Contents of Gmod Karma and Reputation System

1. A database that saves the reputation of users, when they log back in they get their reputation back.
2. A system that allows you to configure the gauge of Karma displayed on the HUD and customize it.
3. A module system editable from the management panel that allows you to define the rules of behavior of the karma system.
4. A Job and Job Category Management System that allows you to restrict access based on the required Karma.
5. Compatibility with different scripts that allows to define rules according to the user's karma and make life easier.
6. Admin panel.



❓ What kind of need can Gmod Karma and Reputation System meet?

You need a system that allows you to display a player's reputation based on their actions for your Gmod server.
You want the reputation points to allow access to Jobs on Gmod in DarkRP mode (If darkrp is not installed this will concern :Team() instead of jobs).
Do you want to display which players are reliable and which are not?
You want to display the character alignments Good or Bad.
You want to abandon the idea of making a PvE or PvP server by creating a system of bandit and friendly players.
You want to restrict access to a school in Hogwarts based on the user's karma so that the hat doesn't face something random.
You need an administration tool that allows you to make fairer decisions when dealing with a problem that affects a user. For example you can set the system to complain about a player who has a bad reputation is not harmless. It is up to you how you will use this system.



βš™οΈ The integrated administration panel

You have the possibility to manage everything from an interface you are now used to see. And to switch between all the interfaces of my different systems from the shortened buttons.
From this single interface you will be able to manage the database, the DarkRP jobs (or team), the modules, and the HUD.



πŸ—ƒοΈ Database and integrated database management

The database allows you to save the reputation of players or their characters.
You will be able to manually set the karma points of players that will define the title of their reputation if you have the need to make an exclusively manual system is possible, each option that automates the distribution of karma points based on the actions of the user is disable.



πŸ”› Modular Karma system options

The module panel allows you to enable and disable a wide variety of options. Disabled options are not dormant but completely inactive.
The list of modules:
karma_start: New users arrive on your server with this karma
karma_restriction_job: Job restriction system based on karma (if DarkRP installed)
karma_account: ON= Account reputation. OFF= From characters (Character System)
karma_lost: Karma points lost when a player dies. 0=OFF
reward_karma_time: Players gain karma in game time, in seconds. 0=OFF
reward_karma_points: Karma points earned per game time.
jb_reward_timer: Loop in seconds of the karma point system of a busy Job. 0=OFF
karma_notif_change: Notify the user when his karma points change
karma_chat_cmd: Activate the Chat: /rep or /mykarma command to know his rank
karma_npckill: Karma earned when the player kills a npc. 0=OFF
karma_pvpkill: Karma earned when the player kills another player. 0=OFF
karma_teamkill: Karma lost when the player kills a player of the same team/job. 0=OFF
karma_badkill: Killing a player who has a good Karma (>750) makes the player lose Karma points. 0=OFF
karma_goodkill: Killing a player with bad Karma (<400) gives karma points. 0=OFF



🎨 Editable Karma Gauge and Reputation Indicator HUD

You have the option to make the Karma Gauge and Reputation Title visible or hide it via the HUD which offers 15 more or less discreet display styles on the HUD. The position, size, colors and format of the text displayed will be modified as you wish without coding a single line of Lua or GLua.



βœ”οΈ Known compatibility

Job limitations by karma points will allow for example to restrict DarkRP jobs and this system will not conflict with BWhitelist, nor Nordahl Whitelist System.



🧲 Symbiosis between existing scripts

If you are wondering if my scripts will already be compatible with the Karma System at its release. Yes they will be.

None of my scripts are DLC. Each one plays its role individually and all of them can work without any Gamemode, when you put them together you get an automatically supported symbiosis between their features. This means that features will complement each other without interference. And if this is the case the technical support also consists of updating each Originahl Scripts.

So among the scripts already in the store:
1. Ability to display karma and rank only in the user's inventory and not on his HUD with Gmod Advanced Inventory System
2. Ability to restrict access to a merchant NPC depending on the number of karma points of the user. This concerns the Gmod Items Bank and the Gmod Items Dealer.
3. Ability to display the user's karma title in the Scoreboard with Gmod Scoreboard Modulable
4. Ability to set precise karma gains and losses when killing NPCs with Gmod NPC Reward Manager e.g. if you kill this NPC you lose karma points. If you kill the other one you will be able to gain Karma points.



🧩 APIs for devs

player:Karma() -- Returns the number of karma points of the user. (Client + Server)
player:GetMaxKarma() -- Returns the maximum karma. (Client + Server)
player:GetKarmaRank() -- Returns the name of the reputation title. (Client + Server)
player:addKarma(add,text) -- Add and remove karma points. Works with positive and negative numeric values. (Server)
player:setKarma(add) -- Allows you to directly set the number of karma points of the user. (Server)


πŸ”Ή WIKI & F.A.Q πŸ‡¬πŸ‡§
Wiki πŸ‡¬πŸ‡§ Wiki πŸ‡«πŸ‡·

Wiki of Gmod Karma + Reputation System

Gmod Karma + Reputation System


☰ 1. Installation of Gmod Karma + Reputation System
Installation: Download and Unzip the folder norda_karma_system.zip Install the addon in the addons file of your Gmod server,
Path: garrysmod/addons/norda_karma_system
☰ 2. Where can I find resources and materials? What is the Gmod Karma + Reputation System Workshop id?
Vous trouverez les ressources dans le workshop de Garry's Mod sur Steam. - Gmod Workshop ID of Gmod Karma + Reputation System: 2958612490
- The AddWorkshop function is automatically added to the script server file and can be deactivated from the configuration file. : resource.AddWorkshop( 2958612490 )
- To add gmod workshop resources to your collection : Gmod Karma + Reputation System [Content Only] | Gmod Workshop
☰ 3. Admin: How do I open the Admin menu of Gmod Karma and Reputation System?
There are several ways:
1- The console command: norda_karma_system
2- Easier from the Karma System button in the admin panel. This avoids searching for the name of the command.
☰ 4. User: What is the command to know how many karma points we have? (Because HUD would be disabled by the owner)
The chat command: /rep and /mykarma. It can be disabled from the management interface includes.
☰ 5. Admin: How to reset the configuration of jobs and limitations?
At the top of the admin interface there is a blue button. Click on it and select: Reset
Modules of Karma System
☰ 6. Admin: How do I reset the HUD customization?
At the top of the admin interface there is a blue button. Click on it and select: Reset HUD SETTING
Modules of Karma System
☰ 7. Admin: How do I reset the Module configuration?
At the top of the admin interface there is a blue button. Click on it and select: Reset MODULES SETTING
Modules of Karma System
☰ 8. Admin: How do I manually change the Karma points of a user?
From the system database management interface search and click on the user and: Manual setting of karma points. Put the number you want between the minimum and maximum you have defined. Default 0 - 1000
Database of Karma System
☰ 9. Admin: How to add support for a DarkRP job or job category?
By default Citizen and Mayor jobs are present, you can remove them with a right click and put your own custom jobs and also job categories if you have too many jobs.
Karma options per DarkRP jobs
☰ 10. Admin: How to enable job restriction based on user's kara?
After activating the karma_restriction_job module explained here on line 18. Go to the job you want to restrict and activate the first line: Job Restricted by Karma so on: ON. And set the minimum number of points that will be needed to access the job below the second line. (See image)
Karma options per DarkRP jobs
☰ 11. Admin: Can we spawn items that decrease or restore karma points? If so how?
Yes, from the gmod spawnmenu if you use the sandbox gamemode. If you don't use the sandbox from the admin menu of the karma system there is a tab spawnmenu where you can spawn them.
Spawnmenu of Karma Reputation System
☰ 12. HUD: How to disable the HUD?
From the HUD setting interface, set the slider to 1 in the Karma HUD Style line.
HUD of Karma Reputation System
☰ 13. HUD: How do I just hide the karma points in the HUD?
From the HUD setting interface, set the button to OFF at the line: karma_showpts.
HUD of Karma Reputation System
☰ 14. HUD: How to hide the karma max / 1000 in the HUD to show only the points?
From the HUD setting interface, set the button to OFF at the line: karma_showmax.
HUD of Karma Reputation System
☰ 15. HUD: How to hide the reputation in the HUD?
From the HUD setting interface, turn the button OFF at the line: karma_showtitle.
HUD of Karma Reputation System
☰ 16. HUD: How do I change the unit of measurement e.g. replace 100 Rep with 100 pts?
From the HUD setting interface, replace Rep in the text field at the line: karma_ext.
HUD of Karma Reputation System
☰ 17. HUD: How to hide the characters displayed after the points, e.g. I want 200 instead of 200pts?
From the HUD setting interface, clear the text field at the line: karma_ext.
HUD of Karma Reputation System
☰ 18. HUD: How to change the color of the Karma points gauge elements?
From the HUD setting interface, at the bottom you will have 4 color palettes from which you can change, the background color, the text color, the gauge color and the icon color if you use one.
HUD of Karma Reputation System
☰ 19. Module: How to change the starting karma points of new players?
From the management menu of the karma system: Indicate the starting value in the line: karma_start. Default 500 pts.
Modules of Karma Reputation System
☰ 20. Module: How to activate the DarkRP job or category restriction system?
From the karma system management menu: set the button to ON at the line: karma_job_restriction. Default OFF.
Modules of Karma Reputation System
☰ 21. Module: How to separate the karma of each character with the character system?
From the karma system management menu: set the button to OFF at the line: karma_account. Default ON.
Modules of Karma Reputation System
☰ 22. Module: How to make a player lose karma points when he dies?
From the management menu of the karma system: Indicate the value of the points in the line: karma_lost. Default 0 pts.
Modules of Karma Reputation System
☰ 23. Module: How can I earn karma for my time?
From the management menu of the karma system:
Specify the time in seconds in the line: reward_karma_time. By default 0 sec.
And indicate the number of points per loop under the line: reward_karma_points. Default 0 pts.
Modules of Karma Reputation System
☰ 24. Module: How to activate karma point gain while a job is busy? For example occupying a good job improves the reputation.
From the karma system management menu: Specify the time in seconds in the line: jb_reward_timer. By default 0 sec.
The rest is done in the job management panel.
Modules of Karma Reputation System
☰ 25. Module: How to disable chat notification of earned karma points?
From the management menu of the karma system: set the button to OFF at the line: karma_notif_change. Default ON.
Modules of Karma Reputation System
☰ 26. Module: How to disable the chat command that lets the user know how many points he has and what reputation he has?
From the management menu of the karma system: set the button to OFF at the line: karma_chat_cmd. Default ON.
Modules of Karma Reputation System
☰ 27. Module: How to make a player earn karma points when he kills an npc?
From the management menu of the karma system: Indicate the starting value in the line: karma_npckill. Default 0 pts.
Modules of Karma Reputation System
☰ 28. Module: How can I earn karma points when a player kills another player?
From the karma system management menu: Set the starting value to the line: karma_pvpkill. Default 0 pts.
Modules of Karma Reputation System
☰ 29. Module: How can I lose karma points when a player kills another player who is in the same team?
From the karma system management menu: Set the starting value to the line: karma_teamkill. Default 0 pts.
Modules of Karma Reputation System
☰ 30. Module: How can I lose karma points when a player kills another player who has a good reputation?
From the karma system management menu: Set the starting value to the line: karma_badkill. Default 0 pts.
Modules of Karma Reputation System
☰ 31. Module: How can I earn karma points when a player kills another player who has a bad reputation?
From the karma system management menu: Set the starting value to the line: karma_goodkill. Default 0 pts.
Modules of Karma Reputation System
☰ 32. API: What are the APIs for devs?
player:Karma() -- Returns the number of karma points of the user. (Client + Server)
player:GetMaxKarma() -- Returns the maximum karma. (Client + Server)
player:GetKarmaRank() -- Returns the name of the reputation title. (Client + Server)
player:addKarma(add,text) -- Add and remove karma points. Works with positive and negative numeric values.(Server)
player:setKarma(add) -- Allows you to directly set the number of karma points for the user. (Server)
☰ 33. NPC reward manager: How to make gain or lose reputation points depending on the type of NPC? For example if you kill a zombie you gain reputation. If you kill a human NPC you lose reputation?
This is the job of a script Gmod NPC Reward Manager we will be able to define precisely which NPC makes you lose karma or gain it.
☰ 34. Scoreboard: How to display the reputation in the Scoreboard?
There are two APIs that allow you to return the number of points, the maximum karma and also the name of the reputation title.
See the API list above.
Gmod Scoreboard Editable supports it.
Display karma in the scoreboard
☰ 35. Visible from the inventory: How to display karma in the inventory information section instead of the HUD?
There is nothing to do, this is automatically supported in Gmod Advanced Inventory System
For all other systems please refer to the APIs given above for the devs.
Draw karma in GMod inventory system
Tips

Tip to avoid the leak of Gmod Karma + Reputation System installed on your Garry's Mod server: How avoid the Leak of your Gmod scripts
How Install an addon on Gmod? : How install an addon on Gmod
How Publish an addon on the Gmod workshop? : Documentation how create a content pack to publish on the workshop?

Gmod Addon


πŸ“₯ Download 1.9


🎫 Open Ticket
⛔️ Sorry, you are not connected


avatar-76561198033784269

Creator: Norda Scripts

Sales :39
Published :1 year
Last update :
Version :version 1.9
DRM :Yes
Categories : Gmod addons
Requierements : Garry's Mod Server
Languages : πŸ‡¬πŸ‡§ πŸ‡«πŸ‡·
Tags :
DarkRP Jobs HUD Entities Optimisation Gameplay Management Allgamemode