JRS COREДокументация
Начало работы

Frequently Asked Questions

Answers to the questions we get most

How can I translate JRS scripts?#

Every script has a config.lua and a locales folder (EN / AR). jrs_core has a per-player language: /language en|ar for yourself, /setlang <id> en|ar for another player.

How can I translate item name / label / description?#

Edit the jrs_items table in the database (label, label_ar, descriptions). Do not rename the item column. Run /reloaditems to apply it without a restart.

How can I give item / weapon / money / job?#

Use jrs_admin, or the commands: /additem <id> <item> <count>, /addweapon <id> <weapon>, /addmoney <id> <type> <amount>, /addjob <id> <job> <grade>.

How can I add new items?#

Insert a row into the jrs_items table, then /reloaditems.

How can I add images for items in the inventory?#

Put a .png named like the item in jrs_inventory/html/img/items.

How do I add food and drinks?#

Any jrs_items row with type = food or drink and usable = 1 is registered automatically by jrs_metabolism (Config.AutoItems). Add a block in jrs_metabolism/config.lua only to change its values.

How can I allow more than one character?#

Set Config.Char_Count in jrs_core/config/config.lua.

How can I add an admin?#

Set group to admin in jrs_users, or add your identifier to Config.CoreOwners. Groups that may use admin commands are listed in Config.AdminGroups.

How can I CK a character?#

Use the /delchar command, or delete the row from the characters table by the player's Steam hex.

How can I integrate Discord Rich Presence?#

Create an application in the Discord Developer Portal, upload the assets and fill the Config.Discord* values in jrs_core/config/config.lua.

How can I solve the 32 player problem?#

It is a CFX limit. Make sure OneSync is on. For general RedM problems see the RedM FAQ.

JRS Core · Бесплатный фреймворк RedM с открытым кодом · JRS TEAM