Skip to content

This code is to create a basic drm for a Garry's Mod server !

License

Notifications You must be signed in to change notification settings

Kurama250/Gmod_drm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Script for a drm Garry's Mod

(Programming Language - Php)

Tutorial to config script !

  • 1 : Download script
  • 2 : Open (drm.php)
You must modify this line with the ip of your gmod server !

$allowedServerIPs = array('IPV6 or IPV4', 'IPV6 or IPV4');
  • After
You must put your own code for the request to do the capcha after the first steps !

$validCaptchaCode = 'YOUR_CODE';

/\ Namely, you will have to do in your code as below for your drm link to be good !

https://domain_name.name/api/drm.php?captcha=YOUR_CODE
  • After
You must put your Glua code in the place provided for this purpose !

        if ($captchaCode === $validCaptchaCode) {
            $gluaCode = "
                // Start code Glua

                // ...

                // End code Glua
            ";
  • Demo :

alt text

If you like this repository don't hesitate to give it a star ⭐ !

Then it's the end you have modified the script have fun !

About

This code is to create a basic drm for a Garry's Mod server !

Topics

Resources

License

Stars

Watchers

Forks

Languages