Garry's Mod

Garry's Mod

Not enough ratings
Calladmin - Beta
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
4.456 KB
21 May, 2018 @ 3:27am
16 Sep, 2018 @ 1:35am
3 Change Notes ( view )

Subscribe to download
Calladmin - Beta

Description
THIS IS THE BETA BRANCH - IF YOU AREN'T WANTING TO TEST SOMETHING THAT MIGHT BE BROKEN, USE THIS INSTEAD

TL;DR
Players can request admin assistance with a chat command, creating a pop-up box for all admins to teleport and respond. Once one responds, the pop-up is automatically closed for any other online admins. Supports ULX permissions (see below).

About
As players and admins in Garry's Mod, most players have experienced the often-infuriating experience of a player proclaiming "admin to me!", over and over again until they get some sort of response - they might even get too much response, multiple administrators teleporting, or multiple private messages.

This addon is built to solve that problem. Need an admin? Type /calladmin in chat, and the admins will be notified and given the option to teleport to you. No admins online? It'll let you know, and optionally direct you to the server's website to file a report.


Configuration
There are multiple configuration options included to make life easier. Enter the name of the configuration option in your respective control console, followed by the value you want to set it to. For example: call_forcenoclip 0

  • call_forcenoclip - Forces the admin into noclip when teleporting. This prevents unfortunate (often fatal) falls when teleporting near ledges. Default: 1. Options: 1 (on), 0 (off).
  • call_antispam - Some players can't wait, this can result in call spam. This will disregard calls within 15 seconds of each other (by default), and notify the player that help is indeed on the way. Default: 15. Options: Any number >= 0.
  • call_reporturl - Webpage players are directed to if they make a call while no admins are online. Default is disabled, will accept any webpage.

If you use ULX, you can assign access to accepting requests as a permission - guide[i.imgur.com].

Usage
  • /calladmin - Request assistance from online admins
  • /recall - Return to where you were before you accepted the call (ADMIN ONLY)
  • /adminstats - View statistics on how often each admin answers calls (ADMIN ONLY)
  • /userstats - View statistics on how often each player places calls (ADMIN ONLY)

Theoretically compatible with most gamemodes and addons. Have a suggestion or question? Comment below.

Some portions of the code are used with permission from FPtje.
1 Comments
Im Dominating U 21 May, 2018 @ 3:44am 
Very Nice Useful Addon. Its Will Be Very Useful :goodidea:.