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 !
- Host: GitHub
- URL: https://github.com/kurama250/gmod_drm
- Owner: Kurama250
- License: gpl-3.0
- Created: 2023-06-30T21:56:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T12:02:05.000Z (12 months ago)
- Last Synced: 2024-05-11T13:25:21.608Z (12 months ago)
- Topics: drm, garrysmod, php
- Language: PHP
- Homepage:
- Size: 34.2 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 :

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 !