| 1 |
# settings -- crossfire server settings |
| 2 |
# |
| 3 |
# This file is used various system settings. It removes the need for |
| 4 |
# some config.h files. Format is: |
| 5 |
# variable<space>value which can have spaces |
| 6 |
# |
| 7 |
# Lines starting with # are comments. |
| 8 |
# |
| 9 |
# Some fields may be numeric, other string. The program will skip over |
| 10 |
# spaces after the setting. |
| 11 |
# |
| 12 |
|
| 13 |
# metaserver values. |
| 14 |
# metaserver1 support has been removed. Update metaserver2 |
| 15 |
# file instead |
| 16 |
|
| 17 |
# Character creation values. |
| 18 |
# The min, max, and points values are used for new (in client) |
| 19 |
# creation method - this determines those values as one would expect. |
| 20 |
# Note - the order here is relevant as the server has built in defaults |
| 21 |
# it will use, and it ensures that all the values are reasonable - thus |
| 22 |
# if one increase the points value to 140 before increasing the max value, |
| 23 |
# it will generate an error. |
| 24 |
# |
| 25 |
# the roll_stat_points is used for the legacy system where stats are rolled |
| 26 |
# up. |
| 27 |
# The reason for that difference is with the new client method, the player |
| 28 |
# can choose their stat points, so even with 84 points, they could generate |
| 29 |
# a character with 3 18 stats (it would mean the remaining stats average |
| 30 |
# 7.5) - with the roll method, it is very unlikely to generate such |
| 31 |
# characters, so if the same number of stat points were given, while |
| 32 |
# the characters total stats would be higher, the character itself |
| 33 |
# would likely be worse. |
| 34 |
# |
| 35 |
starting_stat_min 3 |
| 36 |
starting_stat_max 18 |
| 37 |
starting_stat_points 84 |
| 38 |
roll_stat_points 105 |
| 39 |
|
| 40 |
# values for the new big worldmap, and weather. Only use if you are using the |
| 41 |
# new bigmap. |
| 42 |
# |
| 43 |
|
| 44 |
worldmapstartx 100 |
| 45 |
worldmapstarty 100 |
| 46 |
worldmaptilesx 30 |
| 47 |
worldmaptilesy 30 |
| 48 |
worldmaptilesizex 50 |
| 49 |
worldmaptilesizey 50 |
| 50 |
|
| 51 |
# If this is set, when there is no player, the ingame clock will tick really fast. |
| 52 |
# If not set, it will not move and wait for a player to join. |
| 53 |
fastclock 0 |
| 54 |
|
| 55 |
# item_power_factor is the relation of how the players equipped item_power |
| 56 |
# total relates to there overall level. If 1.0, then sum of the characters |
| 57 |
# equipped item's item_power can not be greater than their overall level. |
| 58 |
# if 2.0, then that sum can not exceed twice the character overall level. |
| 59 |
# by setting this to a high enough value, you can effectively disable |
| 60 |
# the item_power code. |
| 61 |
|
| 62 |
item_power_factor 1.0 |
| 63 |
|
| 64 |
# Sets the output format for the who command. This is what a player will see |
| 65 |
# about all the other players on the server when they type 'who' The string |
| 66 |
# has escapes that are filled with the relevant values for each character. |
| 67 |
# Currently the following escapes are supported: |
| 68 |
# |
| 69 |
# %N Name of character |
| 70 |
# %t title of character |
| 71 |
# %c count of the player (for dumping/patching) |
| 72 |
# %n newline |
| 73 |
# %h [Hostile] if character is hostile, nothing otherwise |
| 74 |
# %d [WIZ] if character is a dm, nothing otherwise |
| 75 |
# %a [AFK] if character is afk, nothing otherwise |
| 76 |
# %b [BOT] if character is a bot, nothing otherwise |
| 77 |
# %l the level of the character |
| 78 |
# %m the map path the character is currently on |
| 79 |
# %M the map name of the map the character is currently on |
| 80 |
# %r the short region name (as shown by mapinfo) |
| 81 |
# %R the formal region title.(as shown by whereami) |
| 82 |
# %i player's ip address |
| 83 |
# %% a literal % |
| 84 |
# %_ a literal underscore |
| 85 |
# |
| 86 |
# an underscore that is not escaped gives a space (or you can use a real space |
| 87 |
# if you prefer) |
| 88 |
# who_wiz_format is the same but for those with dm powers |
| 89 |
|
| 90 |
who_format %N %t%h%d%a%b%n<%m> |
| 91 |
who_wiz_format %N %t%h%d%a%b%nLevel %l <%m>(@%i)(%c) |
| 92 |
|
| 93 |
# See notes for most of these in include/config.h |
| 94 |
|
| 95 |
# dm_mail [email protected] |
| 96 |
|
| 97 |
# Makes death non permanent. If enabled and you die, you lose a bunch of |
| 98 |
# exp, a random stat, and go back to starting town. |
| 99 |
# If not defined, if you die, you are dead. If an a multiplayer server, |
| 100 |
# resurrection may be possible |
| 101 |
# |
| 102 |
# This option changes the game significantly one way or the other - it makes |
| 103 |
# adventuring right at the edge of death something more reasonable to do |
| 104 |
# (death still hurts here). On the other hand, it certainly makes the |
| 105 |
# game a bit safer and easier. |
| 106 |
# not_permadeth true |
| 107 |
|
| 108 |
# define resurrection if you want to let players bring other players |
| 109 |
# back to life via some spells. If resurrection is undefined, then a |
| 110 |
# death is permanent. NOTE: resurrection (either defined or undefined) |
| 111 |
# has no meaning if not_permadeth is true. |
| 112 |
|
| 113 |
resurrection false |
| 114 |
|
| 115 |
# set the following if you wish to allow players to set their title |
| 116 |
# and to save it on the disk. There really isn't much reason not |
| 117 |
# allow players to set this. |
| 118 |
|
| 119 |
set_title true |
| 120 |
|
| 121 |
|
| 122 |
# Enables the 'search-item command; a method to find equipment |
| 123 |
# in shops. Like set_title, probably no reason to ever disable this. |
| 124 |
|
| 125 |
search_items true |
| 126 |
|
| 127 |
# SPELL_ENCUMBRANCE -- If you're carrying a weapon or wearing heavy armour, |
| 128 |
# you have a chance of fumbling your spellcasting with this on. More |
| 129 |
# armors/weapons, higher chance of failure. If this is false, then |
| 130 |
# you can basically always cast a spell, no matter what you are wearing. |
| 131 |
|
| 132 |
spell_encumbrance true |
| 133 |
|
| 134 |
# spell_failure_effects only has meaning if spell_encumbrance is true. |
| 135 |
# What it does, is that when the player fails a spell, various effects |
| 136 |
# will happen (player is paralyzed, confused, wonder spell is cast, etc.) |
| 137 |
# I disabled it because I think it would make life much too hazardous |
| 138 |
# for low level casters. They either need to wear light armor (which |
| 139 |
# means that they will get pounded on by monsters), or will get |
| 140 |
# confused/paralyzed/other effects often. High level casters would |
| 141 |
# be mostly unaffected, since they would be casting spells that are |
| 142 |
# below their level. |
| 143 |
# Note- it seems that you still get some failure effects even with this |
| 144 |
# not defined - most notably when reading scrolls and fail to read |
| 145 |
# them properly. |
| 146 |
# |
| 147 |
|
| 148 |
spell_failure_effects false |
| 149 |
|
| 150 |
# casting times for spells, if you have this defined then it takes a |
| 151 |
# specific amount of time for a spell to go off. You may attack or |
| 152 |
# be hit during this time, and this will cause you to lose the spell. |
| 153 |
# I commented this out on my copy - I don't like the 'double clutch' |
| 154 |
# needed to cast it (first direction key starts casting, the |
| 155 |
# next actually puts the spell into effect.) It could perhaps |
| 156 |
# be changed so that the initial direction is where it goes, and it |
| 157 |
# is cast automatically in that direction (so only 1 key is needed.) |
| 158 |
# But this could be undesirable as various things move while you cast it. |
| 159 |
# this also slows down the rate you can cast spells considerably. |
| 160 |
|
| 161 |
casting_time false |
| 162 |
|
| 163 |
# Name of the motd file - really no reason to change this. |
| 164 |
motd motd |
| 165 |
|
| 166 |
# Calling this real_Wiz is probably not really good. Something like |
| 167 |
# mud_wiz might be a better name. |
| 168 |
# |
| 169 |
# Basically, if real_wiz is set then the WIZ/WAS_WIZ flags for objects |
| 170 |
# are not set - instead, wizard created/manipulated objects appear as |
| 171 |
# normal objects. This makes the wizard a little more mudlike, since |
| 172 |
# manipulated items will be usable by normal players. |
| 173 |
|
| 174 |
real_wiz true |
| 175 |
|
| 176 |
# Set this if you want the temporary maps to be saved and reused across |
| 177 |
# crossfire runs. This can be especially useful for single player |
| 178 |
# servers, but even holds use for multiplayer servers - you can |
| 179 |
# restart a public server, and not have all the maps reset |
| 180 |
# The file temp_maps is updated each time a temp map is updated. |
| 181 |
# Note that the file used to store this information is stored in |
| 182 |
# the LIB directory. Running multiple crossfires with the same LIB |
| 183 |
# directory will cause serious problems, simply because in order for |
| 184 |
# this to really work, the filename must be constant so the next run |
| 185 |
# knows where to find the information. |
| 186 |
|
| 187 |
recycle_tmp_maps false |
| 188 |
|
| 189 |
# Enable HP bars for all living players and monsters, as if the 'probe' spell |
| 190 |
# was always cast on them. Valid settings are "true", "damaged", or "false". |
| 191 |
# "damaged" is like "true", but hides the HP bar for creatures at max health. |
| 192 |
|
| 193 |
always_show_hp false |
| 194 |
|
| 195 |
# spellpoint_level_depend -- Causes the spellpoint cost |
| 196 |
# of spells to vary with their power. Spells that become very |
| 197 |
# powerful at high level cost more. The damage/time of |
| 198 |
# characters increases though. |
| 199 |
|
| 200 |
spellpoint_level_depend true |
| 201 |
|
| 202 |
# Set this to false if you don't want characters to loose a random stat when |
| 203 |
# they die - instead, they just get depleted. |
| 204 |
# Setting it to true keeps the old behaviour. This can be |
| 205 |
# changed at run time via -stat_loss_on_death or +stat_loss_on_death. |
| 206 |
|
| 207 |
stat_loss_on_death false |
| 208 |
|
| 209 |
# This makes repeated stat loss at lower levels more merciful. Basically, |
| 210 |
# the more stats you have lost, the less likely that |
| 211 |
# you will lose more. Additionally, lower level characters are shown |
| 212 |
# a lot more mercy (there are caps on how much of a stat you can lose too). |
| 213 |
# On the nasty side, if you are higher level, you can lose multiple stats |
| 214 |
# _at_once_ and are shown less mercy when you die. But when you're higher |
| 215 |
# level, it is much easier to buy back your stats with potions. |
| 216 |
# Turn this on if you want death-based stat loss to be more merciful |
| 217 |
# at low levels and more cruel at high levels. |
| 218 |
# Only works when stats are depleted rather than lost. This option has |
| 219 |
# no effect if you are using genuine stat loss. |
| 220 |
|
| 221 |
balanced_stat_loss false |
| 222 |
|
| 223 |
# This defines how much of a player's experience should be 'permanent' and |
| 224 |
# not able to be lost on death. A high value makes multiple frequent deaths |
| 225 |
# less devastating, and also ensures that any character will make some |
| 226 |
# gradual progress even if they die all of the time. This value is the minimum |
| 227 |
# amount of a player's exp that can ever be 'permanent' so setting this to 0 |
| 228 |
# would allow all exp to be lost, and setting it to 100 would stop exp loss |
| 229 |
# entirely (the same effect would be achieved by setting the two |
| 230 |
# death_penalty settings below to 0). |
| 231 |
|
| 232 |
permanent_experience_percentage 50 |
| 233 |
|
| 234 |
# When a player dies, they lose a proportion of their experience, which is |
| 235 |
# defined by the following two values. They will lose either |
| 236 |
# death_penalty_percentage% of their experience, or no more than |
| 237 |
# death_penalty_levels levels, or half of their non-permenent experience, |
| 238 |
# whichever is the least of these. Note that this is calculated per-skill, |
| 239 |
# so which method is used could vary for different skills. |
| 240 |
|
| 241 |
death_penalty_percentage 20 |
| 242 |
death_penalty_levels 3 |
| 243 |
|
| 244 |
# This is the penalty to luck that is given to a player who kills another |
| 245 |
# player (PK's). The value here is deducted from their luck value, so set this |
| 246 |
# high to discourage PK-ing and zero (or negative) to encourage it. |
| 247 |
# Range is limited to -100 to 100, since this is the value range that the luck |
| 248 |
# stat can be within. |
| 249 |
|
| 250 |
pk_luck_penalty 1 |
| 251 |
|
| 252 |
# This handles maximum experience one can get for pking another player. |
| 253 |
# If pk_max_experience is 0 or positive, experience will never exceed that value. |
| 254 |
# If negative, all experience can be gained. |
| 255 |
# pk_max_experience_percent represents the percentage of victim's experience that will be |
| 256 |
# given to the killer. It can be greater than 100. |
| 257 |
# Note that experience given will never exceed experience the victim |
| 258 |
# can lose considering permanent experience. |
| 259 |
|
| 260 |
pk_max_experience 5000000 |
| 261 |
pk_max_experience_percent 10 |
| 262 |
|
| 263 |
# This allows reduced damage against other players when in |
| 264 |
# peaceful mode. The value is the percent of damage done |
| 265 |
# compared to normal. This does not change damage done |
| 266 |
# by not targeted things like walls, explosions, cone spells, disease, poison... |
| 267 |
|
| 268 |
set_friendly_fire 5 |
| 269 |
|
| 270 |
# This deals with armor enchantment. |
| 271 |
# |
| 272 |
# armor_max_enchant: maximum enchantments an armor will take. |
| 273 |
# default: 5 |
| 274 |
# |
| 275 |
# armor_weight_reduction (in percent) and armor_weight_linear control how weight is reduced: |
| 276 |
# * when armor_weight_linear is TRUE, armor weight is |
| 277 |
# 'base weight - armor enchantment * armor_weight_reduction' |
| 278 |
# * when armor_weight_linear is FALSE, armor weight is reduced by armor_weight_reduction % |
| 279 |
# per enchantment. |
| 280 |
# |
| 281 |
# example: |
| 282 |
# * with 10 and TRUE, if armor base weight is 100, it'll become: |
| 283 |
# 100 -> 90 -> 80 -> 70 -> 60 -> ... |
| 284 |
# * with 10 and FALSE, it'll be: |
| 285 |
# 100 -> 90 -> 81 -> 73 -> 66 -> ... |
| 286 |
# |
| 287 |
# Note that the code will enforce a minimum weight of 1, else players can't pick up armor. |
| 288 |
# |
| 289 |
# default values: 10 and TRUE. |
| 290 |
# |
| 291 |
# armor_speed_improvement and armor_speed_linear do the same for speed increase. |
| 292 |
# default values: 10 and TRUE |
| 293 |
|
| 294 |
#armor_max_enchant 5 |
| 295 |
#armor_weight_reduction 10 |
| 296 |
#armor_weight_linear TRUE |
| 297 |
#armor_speed_improvement 10 |
| 298 |
#armor_speed_linear TRUE |
| 299 |
|
| 300 |
# disable stealing from other players, if you wish to enable stealing from other players |
| 301 |
# then replace the below with: no_player_stealing FALSE |
| 302 |
no_player_stealing TRUE |
| 303 |
|
| 304 |
# disable creation of town portals inside of unique maps (apartments). To enable, replace |
| 305 |
# the below with: create_home_portals TRUE |
| 306 |
create_home_portals FALSE |
| 307 |
|
| 308 |
# If personalized blessings are activated, the weapon can bite the wielder |
| 309 |
# if he/she is not the one who initially blessed it. |
| 310 |
# Chances of being hurt depend on the experience amount ("willpower") the |
| 311 |
# object has, compared to the experience amount of the wielder. |
| 312 |
personalized_blessings TRUE |
| 313 |
|
| 314 |
# If set to TRUE, players can inscribe scrolls of spells they can't cast (denied path, ...) |
| 315 |
allow_denied_spells_writing FALSE |
| 316 |
|
| 317 |
# If set to TRUE or ON, converters will work even if the price of generated item is higher |
| 318 |
# than the price of converted items |
| 319 |
allow_broken_converters TRUE |
| 320 |
|
| 321 |
# If set, log will comport a timestamp, in the specified format. |
| 322 |
log_timestamp TRUE |
| 323 |
log_timestamp_format %y/%m/%d %H:%M:%S |
| 324 |
|
| 325 |
# port is the port the server listens to. If using metaserver2, you can pretty |
| 326 |
# much change this to anything and clients will figure it out. If using |
| 327 |
# metaserver1, changing from default (13327) may cause problems as the port |
| 328 |
# number isn't publicized. Unless there is a specific reason (firewall/nat, |
| 329 |
# running multiple servers on same host), probably best not to change |
| 330 |
# this |
| 331 |
port 13327 |
| 332 |
|
| 333 |
# When generating random maps, can a special map break the map's layout to be inserted? |
| 334 |
# TRUE by default for historical purposes |
| 335 |
special_break_map TRUE |
| 336 |
|
| 337 |
# If set to TRUE, then the plugin version won't be checked at load time. |
| 338 |
# When set to FALSE, versions must match else a plugin is not loaded. |
| 339 |
# This is mostly intended for development purposes, to not have to 'make install' |
| 340 |
# all the time. |
| 341 |
ignore_plugin_compatibility FALSE |
| 342 |
|
| 343 |
# By default anyone can connect to the server and create an account. |
| 344 |
# When enabled, only clients connecting from the host defined by |
| 345 |
# account_trusted_host can create an account. |
| 346 |
account_block_create FALSE |
| 347 |
|
| 348 |
# When account_block_create is enabled, only the IP address given here |
| 349 |
# can create accounts. If not defined, defaults to 127.0.0.1. |
| 350 |
account_trusted_host 127.0.0.1 |
| 351 |
|
| 352 |
# How to use crypt(3) to hash passwords. 0 (default if left unset) is legacy |
| 353 |
# mode, which uses crypt(3) on all systems but Windows and FreeBSD, where no |
| 354 |
# hashing is used. 1 (set as the default for new installations) is to always |
| 355 |
# use crypt(3). If crypt_mode is changed after player or account files are |
| 356 |
# created, some or all passwords may need to be reset. |
| 357 |
crypt_mode 1 |
| 358 |
|
| 359 |
# Set a minimum length for account and player names |
| 360 |
# This only applies to new characters or new accounts. |
| 361 |
min_name 1 |