Search the Community

Showing results for tags 'server-side'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RAGE Multiplayer
    • Announcements
    • Discussion
    • Suggestions
    • RDR2 Multiplayer
  • Scripting
    • Scripting
    • Resources
  • Community
    • Support
    • Servers
    • Media Gallery
  • Non-English
    • Русский - Russian
    • Français - French
    • Deutsch - German
    • Espanol - Spanish
    • Română - Romanian
    • Portuguesa - Portuguese
    • Polski - Polish

Categories

  • Scripts
  • Gamemodes
  • Libraries
  • Plugins
  • Maps
  • Tools

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Facebook


Youtube


Skype


Web


VK

Found 11 results

  1. it's always useful to keep an eye on the activity of the server like players joining/leaving the server while you're chatting on discord. This can be achieved by using our lovely Webhook friends. This tutorial aims to give you knowledge about how to use those web-hooks to keep in contact with some server logs. Creating a Webhook It's really easy, create a channel go to channel settings -> webhooks -> Create a webhook I'll call mine Spicy. Copy the webhook URL and wait for further instructions. Using the Webhook Now we'll create a small server-side function that'll help us use the webhook. Now here's a small example of how to use it: // Triggers once player joins the server... mp.events.add('playerJoin', (player) => { mp.discord.sendMessage(`Player joined the server [${mp.players.toArray().length}/${mp.config.maxplayers}]`, player.name, [], mp.discord.colors.GREEN); }); // Another one with fields mp.events.add('playerJoin', (player) => { let fields = [{ name: `Player's IP`, value: player.ip, inline: false }] mp.discord.sendMessage(`Player joined the server [${mp.players.toArray().length}/${mp.config.maxplayers}]`, player.name, fields, mp.discord.colors.GREEN); }); Now you have your own discord logger, use it wisely. Enjoy spamming discord.... Regards, Keptin
  2. Version 1.0.1

    169 downloads

    Internet radio over colshapes using CEF. Scope of application: custom clubs, interiors. Default location is the Galileo Observatory (behind the monument). Default radio station - Wacken Radio (DE). Installation: I. Put server files to: server-files\packages\yourGameMode II. Add require('./rStreamColshapes'); to your server's index.js III. Put client files to: client_packages then edit your client's index.js and add require('./rStream'); To change radio stream url, edit index.html here: client_packages\cef\rStream\index.html GitHub
  3. Version 1.0.0

    38 downloads

    Simple solution to check incoming connections from unwanted countries. I. Install geoip-Lite: npm i geoip-lite II. Edit country_ban list with the specified country codes https://dev.maxmind.com/geoip/legacy/codes/iso3166/ III. Save and put this script to "server-files\packages" and add require('./countryBan'); in index.js
  4. unkaid

    Realtime Weather

    Version 1.0.0

    196 downloads

    Server-sided script, that getting a real weather hourly and sets it in the gta 5 world. HowTo: I. Install getJSON: npm install get-json --save II. Go to https://developer.accuweather.com/ and register as the Developer. III. To get your new API key, create your WeatherAPP here, https://developer.accuweather.com/user/me/apps On the question: "What programming language is your APP written in?" Answer will be: JavaScript. IV. Go to https://www.accuweather.com/ and find your preferred location on the map or by the search field, for example: Moscow, Russia. To set more accurate location to your preferred, click on the nearest point on the map, for me it is Yakimanka, then click on 'Hourly". V. The URL will look like this: https://www.accuweather.com/en/ru/yakimanka/2515350/hourly-weather-forecast/2515350 Well, 2515350 is the Location Key that we will use further. VI. Let's assemble your AccuWeather URL: http://dataservice.accuweather.com/forecasts/v1/hourly/1hour/YOUR_LOCATION_KEY?apikey=YOUR_API_KEY VII. Paste new AccuWeather URL into the script and save it. Warning! The Trial Version of AccuWeather is limited for 50 requests per day. GitHub
  5. Hello everyone! 🙂 First of all, i'm a random gta v modder and i'm very new to rage mp. I mod gta and many many games for few years. Before i was using other multiplayer modification which was mostly client-sided. I wasn't fan of it and community was so helpful that forced me to find better alternative. Then i heard a lot of good things about this app and it's possibilities from a friend of mine so i thought it would be nice to make my own server using rage mp. I saw on youtube that rage mp is everything from scratch: no traffic, npc's and so on. I know there is a wiki with "how to set up a server" and tutorials how to write functions & scripts but since i'm not programmer and never tried it, would like to ask if there any more friendly ways to make it work with your content on server? Like: traffic, scenarios (if it's possible), maps, graphics, weather, sounds (add-on too), new vehicles (add-on) / replace (working modkit in both cases?), scripts (what kind of?), peds, props etc. ? Here are some file formats i would like to know if they are working or not: .yft .ydr .ytd .ipl .ymt .ybn .dat .awc .rel .xml .meta and of course the most important if i can stream gameconfig.xml and main vehicles.meta (vanilla) I've searched on the forum what type of files can be streamed server-side but didn't found an answer. Rage mp supports streaming .rpf's ? If yes it would be great since I know rockstar limitations of loading files outside of .rpf (famous 16mb). I also need to know what are the limitations of this multiplayer. Tell me everything u know about it. If some of the things i mentioned above are not working or are actually in progress & plans, please let me know. I'm really looking forward for further updates! 😃 Ps. Sorry if the whole topic looks like a mess and sorry for my bad english. Greetings, RageVision.
  6. Hello to all! I have a question about chat messaging. I read the OnChatMessage documentation. There was an example for filtering bad words. The [DisableDefaultChat] attribute was used to disable the default chat behavior, but it was written that this attribute was not yet implemented. What can I use instead of this attribute for the same behavior? Thank you in advance
  7. Hello to all, I started learning API on the c # serve side. I tried to write a spawn system player. I checked the documentation and found the code: [DisableDefaultOnConnectSpawn] [ServerEvent(Event.PlayerConnected)] public void OnPlayerConnected(Client player) { NAPI.Player.SpawnPlayer(player, new Vector3(2, 5, 8)); // Will spawn the player at the given position } My compiler is showing me an error: the type or namespace “DisableDefaultOnConnectSpawnAttribute” could not be found. Can anybody help me? Thank you in advance
  8. tl;dr: - How to check if player is carrying a specific weapon - How to check how much ammo he is carrying Hello, i hope that this is the right subforum for my problem. I am trying to make an armory where players can take and put weapons/ammo. The "take" is working fine, but I don't find a way to check (on server-side) if a player carries the weapon he wants to put in and how much ammo he is carrying, so when a player wants to put a weapon in the armory, i don't know if hes actually carrying the weapon. In the wiki i have found: Player::getWeaponAmmo (not working with weapon hash, always returns 0) Player::weaponAmmo (don't know how to use) Player::weapons (don't know how to use) Player::allWeapons (returns "{}") Regards, Pacco (i'm not a native english speaker, so please have indulgence)
  9. Включаю server.exe. Вылвзит ошибка: (тут должен быть путь к файлу)\server.exe не является приложением Win32. Если что, это Windows XP 32-bit.
  10. Как вызвать клиентское событие с сервера? Метод ::callRemote не существует, метод ::call не вызывает сторону клиента, лишь сервера.
  11. kostya_nad

    Crashing

    Server crashes when I go to this place (https://imgur.com/a/zKigh) It was MySQL connection is too long. Please close or delete!!