An open API service indexing awesome lists of open source software.

https://github.com/kurama250/gmod_drm

This code is to create a basic drm for a Garry's Mod server !
https://github.com/kurama250/gmod_drm

drm garrysmod php

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Script for a drm Garry's Mod


(Programming Language - Php)






# Tutorial to config script !

- 1 : Download script
- 2 : Open (drm.php)

```php
You must modify this line with the ip of your gmod server !

$allowedServerIPs = array('IPV6 or IPV4', 'IPV6 or IPV4');
```

- After

```php
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

```php
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](https://github.com/Kurama250/Gmod_drm/blob/main/drm.png?raw=true)

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 !