PWE_PRC8/_module/nss/ff_inc_options.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

45 lines
2.7 KiB
Plaintext

//*************************************
//* NWN-FF 4.0 (c) 2004 FastFrench *
//*************************************
// This file is licensed under the terms of the
// GNU GENERAL PUBLIC LICENSE (GPL) Version 2
// ************************
// ** ff_inc_options.nss **
// ************************
// ** All global options of NWN-FF 4.0 you can change are here
// ** You can edit them as needed
// Global options of the module
const int FF_USING_CNR = 0; // Using FF specific optimized version of CNR ? In all other cases, keep 0 here
const int FF_USING_LOG_ACTIONS = 1; // Using LogAction features ?
const int FF_SYNCHRONIZE_TIME = 1; // Synchronize InGame date and time with Real one ?
const int FF_USE_EXTERNAL_DATABASE = 1;// Uses a external DataBase ?
const int FF_PCC_DM_CONTROL = 0; // DMs need to be manually validated ?
const int FF_PCC_NAME_CONTROL = 0; // Player name should be controled ?
const int FF_PCC_CLERIC_NEED_DEITY = 0;// Cleric and paladin are rejected if this is 1 and they have an empty value for the deity
const int FF_PROTECT_SERVER_INITIALIZATION = 0; // Eject players while server is initializing
const float FF_UPDATEDELAY = 10.0; // Mean delay between two refreshes (10.0 sec is the default, go up 120.0 if lag problems)
const int FF_NEED_UNIK_NAME = 0; // If set to 1, the same name can't be reused for 2 PCs on the server
// If set to 0, then different accounts (players) can each have PCs with the same name
// (but in no way 2 PC can have the same name for the same account)
const int FF_UNIX = 0; // If you're using APS/NWNX 2 for Unix, starting with version beta 5.1-pre4, set this to 1
// In that case, FF_SYNCHRONIZE_TIME and FF_USING_NWN_SPEECH should be set to 0
// NWNx_FFSpeech options
const int FF_USING_NWN_SPEECH = 1; // Using Speech processing ?
const int FF_SPEECH_DEADCANSPEAK = 1; // If 0, then dead are not allowed to speak
const int FF_SPEECH_GETCHANNEL = 0; // Do you need channel information ?
const int FF_SPEECH_GETIP = 0; // Do you need IP information ?
// Databases Cleaning options
const int FF_CLEAN_LOG_DAYS = 15; // Number of days before the data are deleted from log table - 0 = disable this cleaning
const int FF_CLEAN_LOGIN_DAYS = 7; // Number of days before login information are deleted ('login' table) - 0 = disable this cleaning
const int FF_CLEAN_PC_DAYS = 60; // Number of days before a PC will be deleted if not played - 0 = disable this cleaning
const int FF_CLEAN_PC_NOT_PLAYED_DAYS = 3; // Number of days before a PC played less than 1000 seconds (17 minutes) will be deleted = disable this cleaning