Garry's Mod

Garry's Mod

Not enough ratings
Gmod Terminal
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
56.893 KB
6 Mar, 2023 @ 1:00am
5 May, 2023 @ 3:59pm
4 Change Notes ( view )

Subscribe to download
Gmod Terminal

Description
Terminal CMD is a command terminal that is similar to the real terminal found on all known computers.

Its operation is almost the same as a classic command terminal but with a number of features implemented.

The interest of this addon is to offer to the players a way to be as close as possible to the use of a command terminal in a roleplay scene that would involve the use of a terminal.

Don't forget to download on the workshop the contents.

You can find all the documentation here[gitlab.com].

If you have any question, don't hesitate to ask on the discord [discord.gg].









Available languages
English
French

Quick Doc
Echo
Write the text you like as an argument and it will be displayed in the chat and in the terminal.
Example:
echo Hello
Ping
Indicate the exact nickname of the player to whom you want to display the information (Position, status, equipment, job)
Example:
ping MrMarrant
Color
Color attributes are specified by TWO hexadecimal digits,the first corresponds to the background, the second one is the foreground. Each number can take any of these values :
number
color
0
Black
1
Blue
2
Green
3
Blue-gray
4
Red
5
Violet
6
Yellow
7
White
8
Gray
9
Light Blue
A
Light Green
B
Cyan
C
Light red
D
Light Violet
E
Light Yellow
F
Bright White

If no arguments are given, this command restores the colors selected at the time the terminal was opened.
If only one argument is filled in, only the text color will be changed.
Example:
color 1A

CLS
This command deletes all entries currently written in the terminal, no arguments are expected.
Example:
cls

Help
This command allows you to display additional information about a specific command or to display all available commands.
You can put the name of an available command as an argument, or put no argument and display all commands.
Example:
help color

Touch
This command creates a text file on the current directory.
Example:
touch test.txt

CD
This command allows you to change the folder by indicating the path of the folder.
Example:
cd data_terminal_cmd

VIM
This command allows to modify/create a text file in the specified directory.
To exit the VIM interface, you must indicate a command at the bottom left of the interface:
command
result
:q<Enter>
Exit
:q!<Enter>
Exit without saving
:w<Enter>
Save file
:wq<Enter>
Save file and exit

Example:
vim data_terminal_cmd/job_access.txt

DIR
This command displays all folders and files in the current directory (if there are too many folders/files, they will not all be displayed)
Example:
dir

SHUTDOWN
This command closes the interface.
Example:
shutdown


Disclamer
Please do not repost, I accept changes, but at least credit me, thanks.
I developed it as part of the DarkRP game mode and always in multiplayer.
It is possible that there are errors in single player or in another mode than DarkRP
If you want to support my work, click here[wlo.link].

tags: terminal, cmd, windows, terminalcmd, apple, powershell, brew, iterm
3 Comments
Beelzebub 24 Mar, 2023 @ 4:41am 
I'll be looking forward to it :necroheart:
I think it can be implemented as a wire mod entity - like E2 chip, with a terminal inside that can run E2/starfallex code (just e2, starfall commands that works like cli interpreters)
MrMarrant  [author] 23 Mar, 2023 @ 12:58pm 
@Beelzebub Yea i guess, but i don't have the time and i've no plans to make any update on this, if somes bugs are discover i will try to fix it, but thats' it
Beelzebub 10 Mar, 2023 @ 9:34am 
make starfall/wiremod integration, it would be cool as plugin for wiremod/starfall