INTERNAL HANDLED PORTS AND FUNCTIONS OF
MEGAMIND'S VCMP BROWSER

Browser handles self, not required to portforward

            

Player list on http://localhost:8080 

Masterlist on http://localhost:3000 

VCMP STORE on http://localhost:8000 

            
        

API TO CONNECT AND PROXIED BY BROWSER

Browser handles self, not required to portforward

            
// use only api key from google-translate113.p.rapidapi.com for language translate no need to portforward browser handles self
Translation proxy server running at http://localhost:4500 
POST /api/v1/translator/html for language translation

// use only api key from api.groq.com for ai chat no need to portforward browser handles self
Chatgpt Proxy server running at http://localhost:3300 
POST /openai/v1/chat/completions for ai

// use only api key from api.api-ninjas.com for badwords detection no need to portforward browser handles self
Badwords detection Proxy server running at http://localhost:3700 
GET v1/profanityfilter?text= for bad words or censored words

// use only api key from weatherapi-com.p.rapidapi.com for for weather detection realtime no need to portforward browser handles self
Weather server is running on http://localhost:3800 
GET /weather?place= to get realtime weather 

//browser handles self, not required to portforward
Npc Vision running at http://localhost:3330 
GET /getImageDescription?model=" + model + "&apiKey=" + apiKey

// Use only API key from OneSignal for sending push notifications, no need to portforward, browser handles self  
OneSignal Notification Server running at http://localhost:3309  
POST /sendNotification to send a push notification  
Required JSON Payload:   
{
   "appId": "ur id",
   "restKey": "ur key" ,
   "playerName": "YourPlayerName",  
   "avatarUrl": "https://example.com/avatar.png",  
   "randomImageUrl": "https://example.com/randomImage.png",  
   "latestPostLink": "https://example.com/news-post",  
   "title": "Custom Notification Title",  
   "message": "Custom Notification Message"  
   "androidChannelId": "ur channel id"
}


// Use Bot Token / webhook / channel id from Discord, no need to portforward, browser handles self  
 Discord Proxy server running at http://localhost:3310
    "description": "No need to port forward, browser handles self.",
    "POST /sendDiscordMessage to send a message to Discord",
    "Required JSON Payload": "{\"discord_app_message\": \"Your message here\"}",
    "Example": "POST /sendDiscordMessage {\"discord_app_message\": \"PlayerOne: Hello, Discord!\"}"
    "POST /receiveDiscordMessage to receive messages from Discord"
            
        

API TO CONNECT AND PROXIED BY BROWSER & PORTFORWARD

Requires portforwarding

            
// Requires portforward to take screenshot form user prespective (Help full in ai to detect realtime game play)
F10 Camera HTTP API is running on port 3308 

// Requires portforward to send and recive voice for PTT
Relay server is running on yourpublicip:2301 
GET /text-to-wav?text=

// Requires portforward to get youtube music for user
Music API on yourpublicip:7777 
GET /song?query= for youtube music
            
        

Reserved Ports

Used by browser

            
// 8080, 4500, 3000, 8000, 3300, 3700, 3800, 3330, 2301, 7777, 3308, 3309, 3310
            
        

Usage Method

Learn from topics

            
http request
1. https://forum.vc-mp.org/?topic=7522.0
2. https://forum.vc-mp.org/index.php?msg=49282

Plugins required
1. sockets04rel64 
2. json04rel64
3. httprequest04rel64