Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*-don't touch-*/ local _blackberry = _blackberry or {};
- /*-don't touch-*/ _blackberry.character_base = _blackberry.character_base or {};
- /*-don't touch-*/ local core = _blackberry.character_base;
- /*-don't touch-*/ core.config = core.config or {};
- /*---------------------------------------------------------------------------
- Base config
- ---------------------------------------------------------------------------*/
- core.config["title"] = "Artex-Roleplay"; // Name of window
- core.config["main_color"] = Color(255, 209, 55); // Default: Color(255, 209, 55)
- core.config["start_points"] = 40; // Start points for attributes
- core.config["create_sound"] = "sound/music/hl2_song19.mp3"; // Music in char creation menu
- core.config["need_recognize"] = true; // Enable recognze system
- core.config["hunger"] = true; // Hunger mod enabled
- core.config["disable_defult_hud"] = true; // Disable default hud
- core.config["max_jail_time"] = 10; // Optional time for arres by Karma of player. The smaller the karma, the longer the arrest
- core.config["karma_kills_point"] = 2; // How many kills for 1 karma point. minimum 1 kill for 1 point
- core.config["recognize_area"] = 300; // Recognize area
- core.config["change_name_price"] = 5000; // Price for changename - 0 for free or false for disable
- core.config["mysqloo_enabled"] = false; // False for local db or true for MySQLOO v9.x https://forum.facepunch.com/gmodgd/jjdq/gmsv-mysqloo-v9-Rewritten-MySQL-Module-prepared-statements-transactions/1/
- core.config["disable_notify"] = true; // Disable blackberry message with status notify
- core.config["custom_stamina"] = true; // True for disable stamina by this addon
- core.config["hud_dark_particles"] = true; // particles for darkside of hud
- ---- HP Regen settings
- core.config["regeneration_health"] = false; // Regeneration health by attribute - every 5 - 15 sec (by attribute status) +core.config["regeneration_hp_val"] hp;
- core.config["regeneration_hp_val"] = 2; // how much regen hp in some tick; use ceil number
- core.config["regeneration_hp_min"] = 5; // time in sec. Min of tick with regeneration = 100; - in 5 sec +2 hp
- core.config["regeneration_hp_max"] = 15; // time in sec. Max of tick with regeneration = 0; - in 15 sec +2 hp
- core.config["perma_models"] = true; // setting for one model for all teams non isCP
- /*---------------------------------------------------------------------------
- Mysql settings for core.config["mysqloo_enabled"]
- ---------------------------------------------------------------------------*/
- core.config["mysql_host"] = "localhost"; // host ip
- core.config["mysql_database"] = "bd_name"; // database name
- core.config["mysql_user"] = "root"; // user name
- core.config["mysql_password"] = "pass"; // user password
- core.config["mysql_port"] = 3306; // Port. default: 3306
- /*---------------------------------------------------------------------------
- Admin access in F2
- ---------------------------------------------------------------------------*/
- core.config["access_groups"] = {"superadmin"}; // Groups for access in F2 admin menu
- /*---------------------------------------------------------------------------
- Stamina config
- ---------------------------------------------------------------------------*/
- core.config["stamina_min_run_speed"] = 240; // Speed when player ran with strenght attribute is 0
- core.config["stamina_max_run_speed"] = 320; // when strengt attribute is max
- core.config["staming_jump_power"] = 200; // attribute is 0
- core.config["staming_max_jump_power"] = 260; // max attribute
- /*---------------------------------------------------------------------------
- Advanced config
- ---------------------------------------------------------------------------*/
- core.config["bot_default"] = { // Default bot character name and description
- ["name"] = "Gabe Newell",
- ["description"] = "Ich bin bloß ein Bot"
- }
- /*---------------------------------------------------------------------------
- Models
- Description:
- 1 - If you want to use default police model by job settings, then simple write only model,
- 2 - If you want to use custom police model for some models, then use table, where [1] = cititzen, [2] = police model
- Example 1:
- "model/path/citizen_model1.mdl",
- "model/path/citizen_model2.mdl",
- "model/path/citizen_model3.mdl",
- Example 2:
- {"model/path/citizen_model1.mdl", "model/path/police_model1.mdl"},
- {"model/path/citizen_model2.mdl", "model/path/police_model2.mdl"},
- {"model/path/citizen_model3.mdl", "model/path/police_model3.mdl"},
- !!! You can use multiply variant:
- {"model/path/citizen_model1.mdl", "model/path/police_model1.mdl"},
- {"model/path/citizen_model2.mdl", "model/path/police_model2.mdl"},
- "model/path/citizen_model3.mdl",
- "model/path/citizen_model4.mdl",
- {"model/path/citizen_model5.mdl", "model/path/police_model5.mdl"}
- -- For 1, 2, and 5 id - used custom police model
- -- For 3 and 4 id - used model by default job settings
- And u can make custom model for other teams if you want; See:
- {
- "model/path/citizen_model1.mdl", // For all teams
- "model/path/police_model1.mdl", // For Police team
- [-TEAM_NAME] = "model/path/model1.mdl", // For custom team
- }
- --- !!! ATTENTION ADD - to TEAM_*** or this doesn't worked !!! ---
- Example: you have TEAM_GANGSTER you need add - to TEAM_GANGSTER = -TEAM_GANGSTER;
- DEVS:
- PRIORITY 1 - job models from ["models"]
- PRIORITY 2 - job models from ["team_models"]
- PRIORITY 3 [isCP] - from DarkRP Jobs settings or default choosed model from ["models"][1] if table or ["models"];
- ---------------------------------------------------------------------------*/
- -- PRIORITY [1]
- core.config["models"] = { // Models for choose
- ["male"] = {
- "models/player/clanny/male_06.mdl",
- "models/player/eric_summer/male_06.mdl",
- "models/player/fin/male_02.mdl",
- "models/player/kenbondsummer/male_09.mdl",
- "models/player/peter/male_02.mdl",
- "models/player/peterdavid/male_06.mdl",
- "models/player/rhileysummer/male_06.mdl",
- "models/player/rosenjohnson/male_09.mdl",
- "models/player/yves/male_06.mdl",
- "models/humans/group02/tale_01.mdl",
- "models/humans/group02/tale_03.mdl",
- "models/humans/group02/tale_04.mdl",
- "models/humans/group02/tale_08.mdl"
- },
- ["female"] = {
- "models/humans/group02/temale_01.mdl",
- "models/humans/group02/temale_02.mdl",
- "models/humans/group02/temale_07.mdl"
- }
- }
- /*---------------------------------------------------------------------------
- Example:
- core.config["models"] = {
- ["male"] = {
- {
- "male1.model",
- "male1_police.model",
- [-TEAM_GUNDEALER] = "male1_gundealer.model"
- }, {
- "male2.model",
- "male2_police.model",
- [-TEAM_GUNDEALER] = "male2_gundealer.model"
- }, {
- "male3.model",
- "male3_police.model",
- [-TEAM_GUNDEALER] = "male3_gundealer.model"
- },
- },
- ["female"] = {
- {
- "female1.model",
- "female1_police.model",
- [-TEAM_GUNDEALER] = "female1_gundealer.model"
- }, {
- "female2.model",
- "female2_police.model",
- [-TEAM_GUNDEALER] = "female2_gundealer.model"
- }, {
- "female3.model",
- "female3_police.model",
- [-TEAM_GUNDEALER] = "female3_gundealer.model"
- },
- }
- }
- ---------------------------------------------------------------------------*/
- -- PRIORITY [2]
- core.config["team_models"] = { // Custom models for jobs
- /*
- Example:
- [TEAM_CITIZEN] = "model.mdl",
- [TEAM_GANG] = {"random_model.mdl", "random_model2.mdl"} -- for random choose
- */
- }
- core.config["default_appearance"] = {
- "Untergewichtig",
- "Dünn",
- "Stabil",
- "Übergewichtig"
- };
- core.config["default_eyes_color"] = {
- "Blau",
- "Grün",
- "Braun",
- "Schwarz"
- };
- /*-don't touch-*/ core.config["steps"] = {};
- /*-don't touch-*/ local store = core.config["steps"];
- /*---------------------------------------------------------------------------
- Steps names
- ---------------------------------------------------------------------------*/
- store[#store + 1] = {
- ["name"] = "Basisinformationen",
- ["description"] = "Basisinformationen zu deinem Charakter"
- };
- store[#store + 1] = {
- ["name"] = "Wähle dein Aussehen",
- ["description"] = "Aussehen von deiner Person"
- };
- store[#store + 1] = {
- ["name"] = "Eigenschaften",
- ["description"] = "Wähle deine Eigenschaften"
- };
- store[#store + 1] = {
- ["name"] = "Regeln",
- ["description"] = "Regeln vom Server",
- ["subtext"] = "Ja, ich habe alle Regeln gelesen und verstehe die volle Verantwortung meiner Handlungen."
- };
- /*-don't touch-*/ core.config["commands"] = {};
- /*-don't touch-*/ local store = core.config["commands"];
- /*-don't touch-*/ core.config["commands_groups"] = {};
- /*-don't touch-*/ local groups = core.config["commands_groups"];
- /*---------------------------------------------------------------------------
- Char menu commands
- ---------------------------------------------------------------------------*/
- groups[0] = "Befehle";
- groups["admin"] = "Admin";
- store[#store + 1] = {
- ["name"] = "Ändere Beschreibung",
- ["callback"] = function(lply)
- Derma_StringRequest("Ändere Beschreibung", "Gebe eine andere Charakter Beschreibung ein", LocalPlayer():getChar():GetVar("description", ""), function(text)
- netstream.Start("_blackberry.character_base.change_description", text);
- core.derma:close();
- end);
- end
- };
- if (core.config["change_name_price"]) then
- store[#store + 1] = {
- ["name"] = "Änder dein Namen ("..core.config["change_name_price"].."€)",
- ["callback"] = function(lply)
- Derma_StringRequest("Änder dein Namen", "Gebe ein neuen Namen ein", LocalPlayer():getChar():GetVar("name", ""), function(text)
- netstream.Start("_blackberry.character_base.change_name", text);
- core.derma:close();
- end);
- end
- };
- end;
- store[#store + 1] = {
- ["name"] = "Editiere Spieler Beschreibung",
- ["group"] = "admin",
- ["callback"] = function(lply, ply)
- if (!ply and !IsValid(ply)) then
- core.derma.openPlayerMenu(function(ply)
- Derma_StringRequest("Ändere Beschreibung von "..ply:Name(true).." - "..ply:getChar():GetVar("name"), "Gebe neue Beschreibung ein", ply:getChar():GetVar("description"), function(text)
- netstream.Start("_blackberry.character_base.admin.description", {ply, text});
- core.derma:close();
- end)
- end);
- else
- Derma_StringRequest("Ändere Beschreibung von "..ply:Name(true).." - "..ply:getChar():GetVar("name"), "Gebe neue Beschreibung ein", ply:getChar():GetVar("description"), function(text)
- netstream.Start("_blackberry.character_base.admin.description", {ply, text});
- core.derma:close();
- end)
- end;
- end,
- ["access"] = core.config["access_groups"]
- };
- store[#store + 1] = {
- ["name"] = "Editiere Spieler Name",
- ["group"] = "admin",
- ["callback"] = function(lply, ply)
- if (!ply and !IsValid(ply)) then
- core.derma.openPlayerMenu(function(ply)
- Derma_StringRequest("Ändere Name von "..ply:Name(true).." - "..ply:getChar():GetVar("name"), "Gebe neuen Namen ein", ply:getChar():GetVar("name"), function(text)
- netstream.Start("_blackberry.character_base.admin.name", {ply, text});
- core.derma:close();
- end)
- end);
- else
- Derma_StringRequest("Ändere Namen von "..ply:Name(true).." - "..ply:getChar():GetVar("name"), "Gebe neuen Namen ein", ply:getChar():GetVar("name"), function(text)
- netstream.Start("_blackberry.character_base.admin.name", {ply, text});
- core.derma:close();
- end)
- end;
- end,
- ["access"] = core.config["access_groups"]
- };
- /*-don't touch-*/ core.config["rules"] = {};
- /*-don't touch-*/ local store = core.config["rules"];
- /*---------------------------------------------------------------------------
- Rules
- ---------------------------------------------------------------------------*/
- store[#store + 1] = "All default laws are always in effect, even without a Mayor";
- store[#store + 1] = "Do not commit acts of Random Death Match (RDM)";
- store[#store + 1] = "Do not break the New Life Rule (NLR)";
- store[#store + 1] = "Do not demote players randomly or for false reasons. You may not demote players while staff are online";
- store[#store + 1] = "Do not prop minge";
- store[#store + 1] = "Do not break the FearRP rules";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement