sh
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
luego ejecutar para ver la versión
node -v
El Plugins de la Screenshot Funciona como Objetivo ver la pantalla del jugador por si esta utilizando Wallhack , modificaciones en el juego ect. Fue Creado Para Cod4x soporta la herramienta IW4MADMIN.
Necesita Descargar el zip
1.Con el Archivo descargado Necesitas Entrar a la carpeta de tu servidor o vps de linux entrar a la raiz de tu Iw4admin
folder y entrar a la Carpeta llamada
Plugins
y añadir el archivo Javascript descargado GetScreenshot.js
Luego ir a la caperta Configuration
y entrar CommandConfiguration.json
en las penultima lineas añadir esto.
"GetssCommand": {
"Name": "getss",
"Alias": "ss",
"MinimumPermission": "User",
"AllowImpersonation": false,
"SupportedGames": []
luego de bajo este siguiente codigo
"GetssallCommand": {
"Name": "getssall",
"Alias": "ssall",
"MinimumPermission": "User",
"AllowImpersonation": false,
"SupportedGames": []
Luego Reinicia tu IW4MAdmin sigue con el siguiente paso.
Entrar a la Base de tu juego CoD4 o CoD4x Crear una Carpeta llamada screenshot
-
Necesitas ahora entrar a la caperta llamada
root
de tu vps y pegar la carpeta que descargaste llamadadirWatcher
pegarla todo -
Necesitas Editar la carpeta llamada
config.json
y poner la ruta donde pusiste la carpeta screenshot en la raiz de tu Juego mostrare un ejemplo
"ssPaths": [ "/home/ogp_agent/kfc_promod/screenshots"
Agregar en enlace discord si quieres ver la screenshot en Discord
- webhookUrl
], "copiar aqui el enlace del webhookurl de tu canal de discord"
luego de eso necesitas reiniciar el IW4admin.
Con las Instalaciones realizada anteriormente se necesita Ejeucutar en el putty los comando y Ejecutarlo
cd /root/dirWatcher
Luego Ejecutar y poner
npm install
luego ejecutar y poner
npm install pm2@latest -g
y luego ejecutar y poner
pm2 start watcher.js
y luego ejecutar y poner
pm2 save
Te debe parecer un ejemplo asi
ID NAME (MODE) | Descripcion |
---|---|
cpu | 0% |
watcher | 0% |
fork | online |
memory | 40.0mb |
y ultimo comandos para verificar si esta Funcionando "debe Reflejar un mensaje en el cuadrado que diga que esta ONLINE
pm2 status
y luego
pm2 save
El GetScreenshot.js ya deberia estar Funcionando y corriendo GetScreenshot.js
- No dudes en unirte al KFC Community Discord
Si se encuentra con un problema, error o solicitud de función, publique un problema
sh
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&&
sudo apt-get install -y nodejs
then run to see the version
node -v
The Screenshot Plugin works as a tool to view the player's screen in case they are using Wallhack, game modifications, etc. It was created for Cod4x supports the IW4MADMIN tool.
You need to download the zip file
With the downloaded file, you need to enter the folder of your server or Linux VPS, go to the root of your IW4admin
folder, and enter the folder called Plugins
. Then, add the downloaded JavaScript file GetScreenshot.js
.
Then, go to the Configuration
folder and enter CommandConfiguration.json
. Add this to the second-to-last lines:
"GetssCommand": {
"Name": "getss",
"Alias": "ss",
"MinimumPermission": "User",
"AllowImpersonation": false,
"SupportedGames": []
Immediately below this code:
"GetssallCommand": {
"Name": "getssall",
"Alias": "ssall",
"MinimumPermission": "User",
"AllowImpersonation": false,
"SupportedGames": []
Then, restart your IW4MAdmin and proceed to the next step.
Enter the root of your CoD4 or CoD4x game, create a folder called screenshot
.
Now, you need to enter the root folder of your VPS and paste the downloaded dirWatcher
folder.
Edit the folder named config.json
and put the path where you placed the screenshot folder at the root of your game. Here's an example:
"ssPaths": [ "/home/ogp_agent/kfc_promod/screenshots"
Add a Discord link if you want to view the screenshot on Discord:
- webhookUrl
], "copiar aqui el enlace del webhookurl de tu canal de discord"
With the installations done previously, you need to run the commands in Putty and execute it:
cd /root/dirWatcher
Then, execute and enter:
npm install
Then, execute and enter:
npm install pm2@latest -g
Then, execute and enter:
pm2 start watcher.js
Then, execute and enter:
pm2 save
You should see an example like this:
ID NAME (MODE) | Descripcion |
---|---|
cpu | 0% |
watcher | 0% |
fork | online |
memory | 40.0mb |
And the last commands to verify if it's working: "It should reflect a message in the box that says it's ONLINE
.
pm2 status
And then
pm2 save
The GetScreenshot.js should already be working and running GetScreenshot.js.