Leaderboard
Popular Content
Showing content with the highest reputation on 05/11/18 in all areas
-
You need to add some lines to the conf.json file (located under server-files folder) as you can see in this wiki article: https://wiki.rage.mp/index.php?title=Server_settings So answering your questions, change the language key to "de" and it will show the german flag, for the password not sure but I think it's not possible doing it with the configuration file, so you'll have to script a login system.2 points
-
Information library about the game's weapons. Contains Weapon Hash Weapon Hash Key (you can use this with joaat functions to generate hash) Weapon Name GXT (game text, use with getLabelText to get localized string) Weapon Description GXT (game text, use with getLabelText to get localized string) Weapon Name (in English) Weapon Description (in English) Weapon Group Weapon Model Hash Key (this is the model you can spawn as a prop, use with joaat functions to generate hash) Weapon Default Clip Size Weapon Ammo Type (won't exist if the weapon doesn't have an ammo type) Weapon Components --> Component Hash --> Component Hash Key (you can use this with joaat functions to generate hash) --> Component Name GXT (game text, use with getLabelText to get localized string) --> Component Description GXT (game text, use with getLabelText to get localized string) --> Component Name (in English) --> Component Description (in English) --> Component Model Hash Key (this is the model you can spawn as a prop, use with joaat functions to generate hash) --> Component Ammo Type (won't exist if the component doesn't have an ammo type) --> Component Is Default Weapon Tints --> Tint Name GXT (game text, use with getLabelText to get localized string) --> Tint Name (in English) Weapon Livery Colors --> Livery Color GXT (game text, use with getLabelText to get localized string) --> Livery Color Name (in English) Weapon DLC Name (mpgunrunning etc., this will be "core" for stock weapons) Example "1593441988": { "HashKey": "WEAPON_COMBATPISTOL", "NameGXT": "WT_PIST_CBT", "DescriptionGXT": "WTD_PIST_CBT", "Name": "Combat Pistol", "Description": "A compact, lightweight, semi-automatic pistol designed for law enforcement and personal defense. 12-round magazine with option to extend to 16 rounds.", "Group": "GROUP_PISTOL", "ModelHashKey": "W_PI_COMBATPISTOL", "DefaultClipSize": 12, "AmmoType": "AMMO_PISTOL", "Components": { "119648377": { "HashKey": "COMPONENT_COMBATPISTOL_CLIP_01", "NameGXT": "WCT_CLIP1", "DescriptionGXT": "WCD_CP_CLIP1", "Name": "Default Clip", "Description": "Standard capacity for Combat Pistol.", "ModelHashKey": "w_pi_combatpistol_mag1", "IsDefault": true }, "3598405421": { "HashKey": "COMPONENT_COMBATPISTOL_CLIP_02", "NameGXT": "WCT_CLIP2", "DescriptionGXT": "WCD_CP_CLIP2", "Name": "Extended Clip", "Description": "Extended capacity for Combat Pistol.", "ModelHashKey": "w_pi_combatpistol_mag2", "IsDefault": false }, "899381934": { "HashKey": "COMPONENT_AT_PI_FLSH", "NameGXT": "WCT_FLASH", "DescriptionGXT": "WCD_FLASH", "Name": "Flashlight", "Description": "Aids low light target acquisition.", "ModelHashKey": "w_at_pi_flsh", "IsDefault": false }, "3271853210": { "HashKey": "COMPONENT_AT_PI_SUPP", "NameGXT": "WCT_SUPP", "DescriptionGXT": "WCD_PI_SUPP", "Name": "Suppressor", "Description": "Reduces noise and muzzle flash.", "ModelHashKey": "w_at_pi_supp", "IsDefault": false }, "3328527730": { "HashKey": "COMPONENT_COMBATPISTOL_VARMOD_LOWRIDER", "NameGXT": "WCT_VAR_GOLD", "DescriptionGXT": "WCD_VAR_CBP", "Name": "Yusuf Amir Luxury Finish", "Description": "", "ModelHashKey": "w_pi_combatpistol_luxe", "IsDefault": false } }, "Tints": [ { "NameGXT": "WM_TINT0", "Name": "Black tint" }, { "NameGXT": "WM_TINT1", "Name": "Green tint" }, { "NameGXT": "WM_TINT2", "Name": "Gold tint" }, { "NameGXT": "WM_TINT3", "Name": "Pink tint" }, { "NameGXT": "WM_TINT4", "Name": "Army tint" }, { "NameGXT": "WM_TINT5", "Name": "LSPD tint" }, { "NameGXT": "WM_TINT6", "Name": "Orange tint" }, { "NameGXT": "WM_TINT7", "Name": "Platinum tint" } ], "LiveryColors": [], "DLC": "core" } Notes The information was generated using game files, if there are mistakes feel free to report them. Click me1 point
-
Configuring the server If you have fresh installed RAGE Multiplayer and you're aiming to create a new server, you'll need to know how to configure it. There are multiple parameters you can define on the conf.json file, located under server-files folder in path where you installed this mod. This will allow you to change some default values like used ports, refresh rates and more things explained below. Parameter list When openning the file for first time, you will find something like this on it: { { "announce": false, "bind": "127.0.0.1", "gamemode": "freeroam", "name": "RAGE:MP Unofficial server", "maxplayers": 100, "port": 22005, "streamdistance": 500.0 } } Those are some of the parameters we can configure and it will be as easy as adding a new line to that list with the desired key values from the list below: announce -> This parameter takes a boolean value (true/false) and it's used to announce (true) or not (false) the server on the master list, default value is false bind -> Defines the public IP address from the server you are hosting, default value is 127.0.0.1 gamemode -> The name of your gamemode, which will be displayed on the server list, default value is freeroam encryption -> Whether the connection to the server will be encrypted or not (true/false values), default value is false maxplayers -> The maximum ammount of concurrent players that can be online in the server, default value is 100 name -> Your server's unique name, this will help people to find and filter your server in that big server list, default value is RAGE:MP Unofficial server stream-distance -> The maximum distance at which player will be streamed, default value is 500.0 port -> The UDP port that the server will be listening to, remember that the TCP/IP will be the next number to this one, default value is 22005 disallow-multiple-connections-per-ip -> Allows (false) or disallows (true) multiple players to connect from the same IP address, default value is false limit-time-of-connections-per-ip -> Maximum time a player can try to reconnect before getting timeout, default value is 0 url -> The URL of your website, where you give more information about the server language -> The language used in your server, it takes two characters, default value is en sync-rate -> This number indicates how many times per second the server has to synchronize its entities, default value is 40 resource-scan-thread-limit -> Indicates the maximum number of threads used for resource scanning max-ping -> Maximum ping a player can have to be able to play in the server min-fps -> Minimum frames per second a player needs to be able to play in the server max-packet-loss -> Maximum packet loss a player can have to be able to play in the server min-game-version -> Minimum game version required to be able to connect to the server allow-cef-debugging -> Whether the client can (true) or not (false) debug the server's CEF pages csharp -> If your server will be using the C# bridge plugin set it to true, else don't add this line enable-http-security -> When set to true, enables an extra security layer to avoid the server being flooded by fake HTTP requests Note: Numbers and boolean values don't need quotation marks, you should only use them on text parameters. Link to the original Wiki article: Server settings1 point
-
1 point
-
OMG, you're an life saver! I gonna take a look at the Server Settings thing, thank you so much!1 point
-
I've heard rumors of too many CEF windows causes performance issues... take that as you will.1 point
-
mp.vehicles.new(mp.joaat('T20'), new mp.Vector3(-430, 1131, 325)); // Заспавнит T20 на координатах X: -430, Y: 1131, Z: 3251 point
-
There is already a CSharp extension here: https://www.nuget.org/packages/gtanetwork.api If you want auto-completion for Javascript then there are typescripts you can use Serverside: https://github.com/CocaColaBear/types-ragemp-s Clientside: https://github.com/CocaColaBear/types-ragemp-c Here's a quick guide on how to reference the typescript in your file: https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html1 point
