Skip to content

Shell

Execute terminal commands programmatically.

Permission required: shell

Methods

exec(command)

Execute a terminal command as if the player typed it.

typescript
Shell.exec("nmap 10.0.0.1");

execSilent(command)

Execute a command without showing output in the terminal.

typescript
Shell.execSilent("ping 10.0.0.1");

WARNING

The shell permission grants powerful access. Use sparingly and only when necessary.

HotBunny Interactive Entertainment Inc.