SHOWCASE VIDEO
About Medals
You are able to authorize any player by rank, usergroup, team or steamid to give and take medals from players on your server. They can be given to online and offline players from an easy-to-navigate user interface in-game.The medals can serve any purpose you want. Should it be DarkRP, StarWars RP or any other gamemode you can customize the medals as you want by adding or removing them. There's descriptions, categories and PlayerSpawn/PlayerDeath hooks per medal that you can also utilize.

- Authorized players are able to give and take medals from an in-game menu.
- The menu is accessable through a simple customizable chat command.
- A list of all medals can be found in the menu.
- Give and take medals from a drop-down list of players or by typing their SteamID64.
- This supports both online and offline players.

- Server owners are able to authorize who can give/take medals.
- They can authorize staff by usergroups (supports most admin mods).
- They can authorize by SteamID64.
- They can authorize by team names (usually what DarkRP uses).

- You are able to add as many medals as you want through the config.
- Determine name, description, category and icon for a medal.
- There is support for calling custom code on PlayerSpawn and PlayerDeath hooks.
- I have also pre-configured medals already that you can find in the knowledge base.

- Players can choose which medals they want to display above their head.
- The medals are shown above players heads in 3D2D with a distance clamp and alpha fading.
- The Y position of the medals can be determined in the config to match your servers HUD.

- Generic DarkRP medals as seen in the media/video.
- NYPD
- Metropolitan Police Service
- LAPD
- UK Army
- StarWarsRP

- The addon supports bLogs.
- There is also a custom logging system that can log events into your own DB of the addon if you want.
- Logs when a player receives a medal (receiver name, medal name, giver name)
- Logs when a medal is taken from a player (taker name, medal name, target name)
INSTALLATION
This addon supports all game modes.
Extract
Please visit the Setup & Customizing tab to see how you configure the addon.
CONTENT
There's a single content pack that you must add to your servers workshop collection.
Workshop
This addon supports all game modes.
Extract
ch_medals
to your addons folder.Please visit the Setup & Customizing tab to see how you configure the addon.
CONTENT
There's a single content pack that you must add to your servers workshop collection.
Workshop
Setup & Customizing
There is a single configuration file to modify various parts of the addon.
Configure the general settings of the addon in
View the configuration HERE
CUSTOM MEDALS
You can find the medals in
Example:
MYSQLOO
By default the addon saved using sqlite (default build into gmod). If you wish to enable MySQLOO then you can do so.
Go to the file
Set the
Then fill in your information below. This will of course require that you have the MySQLOO module by FredyH.
There is a single configuration file to modify various parts of the addon.
Configure the general settings of the addon in
lua/ch_medals/shared/ch_medals_config.lua
View the configuration HERE
CUSTOM MEDALS
You can find the medals in
lua/ch_medals/shared/ch_medals_config_medals.lua
Example:
Code:
CH_Medals.Medals[ "medal_bitcoin" ] = {
Name = "Bitcoin King",
Icon = Material( "materials/craphead_scripts/ch_medals/medals/bitcoin.png", "noclamp smooth" ),
Description = "A special mark for players who have dedicated their life to mining bitcoins.",
Category = "DarkRP",
PlayerSpawn = function( ply )
-- custom code
end,
PlayerDeath = function( ply )
-- custom code
end,
}
MYSQLOO
By default the addon saved using sqlite (default build into gmod). If you wish to enable MySQLOO then you can do so.
Go to the file
lua/ch_medals/server/sql/ch_medals_sql_functions.lua
Set the
CH_Medals.SQL.UseMySQLOO
config to trueThen fill in your information below. This will of course require that you have the MySQLOO module by FredyH.
Discord Server & Support
I own a Discord server for customers and anyone else who wish to join. I will occasionally provide exclusive offers and help with minor issues that might occur with my scripts. If you have a more serious problem, please create a conversation with me onsite.Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have found a conflicting addon, then feel free to create a conversation and I'll see if I can assist with solving the conflict.