openpk.conf 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. # OpenPK World Config
  2. # Create a copy of this file named local.conf to override these settings.
  3. database:
  4. db_name: openpk
  5. world:
  6. server_name: OpenPK # Shown in the login prompt and when you hover over a player in the friends list MODIFIED
  7. server_name_welcome: OpenPK # Shown on client welcome screen if on a members' world MODIFIED
  8. welcome_text: Join our Discord to stay in touch! # MODIFIED
  9. display_logo_sprite: true # The big logo shown on the client welcome screen
  10. logo_sprite_id: 2010 # 2010 is authentic
  11. game_tick: 640 # Tick speed of game and lower is faster
  12. walking_tick: 640 # Base tick speed of character walking. Only used if want_custom_walking_speed is enabled
  13. milliseconds_between_spells: 1900 # Should be around game_tick * 3 - 20
  14. want_custom_walking_speed: false # Do we want to enable custom walking speed?
  15. idle_timer: 300000 # 5 minute player idle alert, 0 disables
  16. auto_save: 30000 # 30 second autosave interval
  17. client_version: 10009
  18. enforce_custom_client_version: false
  19. server_port: 43597 # 43594 preservation / 43595 cabbage / 43596 openrsc / 43597 openpk / 43598 wk / 43599 dev
  20. ws_server_port: 43497 # MODIFIED
  21. want_feature_websockets: true
  22. max_connections_per_ip: 20 # Number of network connections allowed per IP address
  23. max_connections_per_second: 20 # Number of network I/O connections any specific host address can make per second
  24. max_packets_per_second: 100 # Number of network I/O packets any specific connection can make per second
  25. max_logins_per_second: 2 # Number of login attempts any specific IP address can make per second
  26. max_logins_per_server_per_tick: 5 # Number of logins that will be processed for a server in 1 tick before making others in the queue wait for the next tick
  27. max_password_guesses_per_five_minutes: 10 # Number of password/recover guesses an IP address can make per 5 minutes
  28. network_flood_ip_ban_minutes: 5 # Number of minutes that a host address is IP Banned if network I/O packets/connections are flooded
  29. suspicious_player_ip_ban_minutes: 60 # Number of minutes that a host address is IP Banned if player is suspicious
  30. server_location: USA
  31. session_id_sender_timer: 640 # Number of milliseconds between when the client first opens the tcp session until when it must have sent data
  32. max_players: 2000
  33. max_players_per_ip: 10 # Number of allowed logged in players per IP address
  34. avatar_generator: false # Generates avatar images of players but uses extra RAM
  35. member_world: true
  36. want_pcap_logging: true
  37. world_number: 1
  38. player_level_limit: 120 # MODIFIED
  39. want_experience_cap: false
  40. experience_limit: -1 # Taken into consideration only if want_experience_cap
  41. combat_exp_rate: 5 # MODIFIED
  42. skilling_exp_rate: 5 # MODIFIED
  43. wilderness_boost: 2 # MODIFIED
  44. skull_boost: 2 # MODIFIED
  45. double_exp: false
  46. npc_respawn_multiplier: 0.5 # Multiplied to NPC respawn time. 1.0 is default, anything lower will decrease respawn times. MODIFIED
  47. want_registration_limit: true # Limits player registrations per 24 hours per IP
  48. registration_limit_count: 2 #The number of player registrations per 24 hours per IP
  49. packet_limit: 100
  50. connection_limit: 10
  51. connection_timeout: 15
  52. want_fatigue: false # Decides if fatigue is enabled in-game
  53. warn_excessive_captcha_failure: true # Decides if moderators will be alerted when a player fails typing captchas many times in a row
  54. load_prerendered_sleepwords: true # Set to false if there are prerendered sleepwords in the sleepwords directory that you would not like to load
  55. load_special_prerendered_sleepwords: true # Set to false if there are special prerendered sleepwords in the sleepwords directory that you would not like to load
  56. stop_skilling_fatigued: 1 # Decides if skilling should stop on fatigued, 0 - No skills, 1 - Gathering / authentic, 2 - All non combat skills
  57. aggro_range: 1 # Default tile range aggressive NPCs will attack victims
  58. character_creation_mode: 0 # Makes mode screens in character design screen, 1 - ironman and 1X, 2 - classes and global pk
  59. ring_of_recoil_limit: 40
  60. ring_of_forging_uses: 75
  61. dwarven_ring_uses: 29
  62. dwarven_ring_bonus: 3
  63. # check_admin_ip: false # Check the ip that the admin account is logging in from. Helps prohitbit unauthorized access.
  64. # admin_ip: 127.0.0.0,10.0.0.0,172.16.0.0,192.168.0.0 # IP/s from which the admin can connect from. Comma separated list. No spaces. Default is 127.0.0.0,10.0.0.0,172.16.0.0,192.168.0.0 . 127 is loopback (localhost) and the rest are private IP identities.
  65. is_localhost_restricted: false # lift any localhost restrictions (may not be recommended new servers)
  66. location_data: 4 # MODIFIED Item, Npc, Scenery Location data, 0 - Preservation, 1 - Same as 0 but also incl discontinued, 2 - Same as 1 but also incl custom, 3 - Load separate locs, 4 - OpenPK
  67. want_fixed_broken_mechanics: false # If true brings black hole, desert heat
  68. want_decorated_mod_room: false # Decorates mod room (alkharid palace 2nd floor)
  69. want_auto_server_shutdown: false # causes the server to shutdown at a specified time for a cron to then start
  70. restart_hour: 7 # if want_auto_server_shutdown is set to true, the server will shut down at 7:00AM, local system time
  71. want_reset_event: false # forces all world scenery to be reset hourly
  72. based_map_data: 64 # map data info used for tileInfo, sceneries, boundaries, ground items, and npcs
  73. based_config_data: 85 # config data info used for items, sceneries, boundaries, and npcs
  74. features_sleep: true # Is sleep command featured, (+ should shops stock sleeping bags?)
  75. restrict_item_id: -1 # A non-negative value restricts the maximum item id of monster drops, shops, etc
  76. restrict_scenery_id: -1 # A non-negative value restricts the maximum scenery id
  77. respawn_location_x: 217 # MODIFIED Default/death location X coord
  78. respawn_location_y: 449 # MODIFIED Default/death location Y coord
  79. can_feature_membs: true # Can world feature members content
  80. show_tutorial_skip_option: true # If true, show the 'Skip the tutorial' menu option when on the tutorial.
  81. combat_level_non_melee_mask: 7 # Mask to indicate which non melee combat skills add to level (Ranged | Magic | Prayer)
  82. osrs_combat_melee: false # Use (a slightly modified version of) the OSRS melee formula
  83. osrs_combat_ranged: false # Use (a slightly modified version of) the OSRS ranged formula
  84. uses_retro_stock_sensitivity: false # Use retro shop stock sensitivity to calculate prices in shops
  85. pidless_catching: true # MODIFIED
  86. pvm_catching_distance: 1 # number of squares a player needs to be within in order to initiate PVM combat
  87. pvp_catching_distance: 1 # number of squares a player needs to be within in order to initiate PVP combat
  88. pvp_reattack_timer: 5 # Number of ticks before either player in PVP situations can engage or be re-engaged after a retreat.
  89. shuffle_pid_order: true # Discourage PID optimization game by shuffling the order that players are processed in
  90. shuffle_pid_order_interval: 500 # number of ticks between PID shuffles
  91. spell_range_distance: 4 # Maximum distance player can cast spell from (3 for retro, 4 for modern, any other value is custom)
  92. want_corrected_skilling_xp: true # MODIFIED Corrects xp on oversights of little xp such as gem stall
  93. summon_all_player_limit: 100 # limits the amount of players that can be summoned by the summonall command
  94. server_sided_word_filtering: true # enables a word filter / alert system enforced by the server
  95. server_sided_word_space_filtering: false # enables more aggressive word filtering, including if the word is obscured by spaces or other characters
  96. monitor_online: true # ping monitor_ip to check if the server is connected to the internet & pause server if not
  97. monitor_ip_timeout: 100 # milliseconds to wait before considering the ping unsuccessful.
  98. discord_downtime_reports_milliseconds_down_before_report: 1000 # part of the monitor_online feature
  99. client:
  100. view_distance: 2
  101. zoom_view_toggle: true # MODIFIED
  102. fog_toggle: true # MODIFIED
  103. ground_item_toggle: true # MODIFIED
  104. menu_combat_style_toggle: true # MODIFIED
  105. fightmode_selector_toggle: true # MODIFIED
  106. experience_counter_toggle: true # MODIFIED
  107. experience_drops_toggle: true # MODIFIED
  108. items_on_death_menu: true # MODIFIED
  109. show_roof_toggle: true # MODIFIED
  110. show_underground_flicker_toggle: true # MODIFIED
  111. want_skill_menus: false
  112. want_quest_menus: false
  113. want_quest_started_indicator: false
  114. want_hide_ip: true # Displays hide ip button on login screen MODIFIED
  115. want_remember: true # Displays remember button on login screen MODIFIED
  116. client_fps: 50 # Authentic is 50
  117. want_email: false # Set to true to require an email address during player registration
  118. allow_resize: true # Enables the client to be resized MODIFIED
  119. lenient_contact_details: false # Set to true to have the fields optional in change contact details
  120. char_name_can_contain_mod: false # Allow players to create characters with the word "mod" in the name
  121. char_name_can_equal_global: false # Allow players to create characters with name "Global"
  122. disable_minimap_rotation: true # Disable random minimap rotation measure?
  123. allow_bearded_ladies: false # Authentic bug caused by packet manipulation would allow you to have a female character with a beard. Setting this to false disallows this manipulation.
  124. npc_kill_counters: true # MODIFIED
  125. retro_features:
  126. gather_tool_on_scenery: false # Allows client to use pickaxe on rock (or axe on tree) to skill
  127. coin_bank: false # Allows having coin bank instead of item bank
  128. influence_instead_qp: false # Influence stat instead of quest points
  129. uses_classes: false # To use the character classes system
  130. uses_pk_mode: false # To indicate world has pk mode (players being able to attack others anywhere)
  131. arrive_lumbridge: true # MODIFIED To arrive directly to lumbridge after making account
  132. scaled_woodcut_xp: false # To use the old woodcutting xp formula that scaled with level (similar to firemaking)
  133. old_pray_xp: false # To use the old pray xp (50% less from modern rsc)
  134. divided_good_evil: false # On true to split xp when burying bones, on false it also gives xp to just magic for retro spells
  135. lacks_prayers: false # On true to indicate there are no prayers
  136. has_fear_spell: false # For players to be able to cause npcs to retreat
  137. wait_to_reboost: false # To have to wait for potions & spell boost to wear off before being able to boost again
  138. no_level_requirement_wield: false # To be able to wield equipment without requiring any level
  139. fermented_wine: false # To have old wine making mechanics with fermented wines
  140. old_quest_mechanics: false # To have old quest mechanics (such as using key to get into Phoenix hideout)
  141. can_influence_npcs: false # To be able to influence npcs decision such as being able to buy silk at lower prices
  142. no_confirm_trades: false # To be able to trade without trade confirm window
  143. short_max_stacks: false # Max stacks in inventory are unsigned short rather than integer
  144. block_use_magic_in_combat: false # Prevents the use of magic spells while player is in combat
  145. rapid_cast_spells: false # Allows player to be able to cast spells without waiting
  146. meat_heal_level_dependent: false # Sets the healing of cookedmeat to be level dependent
  147. only_regular_bones: false # Does world feature only regular bones
  148. shared_gathering_resources: false # Are gathering resources such as rocks shared
  149. has_player_owned_houses: false # Are old POHs featured in the world
  150. spinach_roll_boosts: false # Do the spinach rolls give strength bonus
  151. old_skill_defs: false # Should old skill definitions be used
  152. wants_kill_stealing: false # Should all xp and loot go to the last attacking player
  153. ranged_gives_xp_hit: false # Should each successful ranged hit give a bit xp
  154. retro_ranged_damage: false # Use the pre-Fletching Ranged weapon power values
  155. only_basic_runes: false # Are only the basic runes obtainable?
  156. can_offer_untradeables: false # Can untradeable items (like quest items) be sold/traded/staked?
  157. can_prospect_fail: false # Can the prospect of rock fail?
  158. lacks_gold_smithing: false # On true to indicate there is no gold smithing
  159. npc_aggro_dont_check_level: false # On true, disables the 2x+1 level check for npc aggressiveness so they always attack.
  160. cant_dye_capes: false # On true, disables cape dyeing.
  161. healstat_on_current_stat: false # When true, healstat() function operates on "current level" (as documented in 2001 RuneScript), when false, healstat() operates as it did later.
  162. custom_features:
  163. custom_sprites: true # Informs client to use CustomSprites.orsc instead
  164. want_custom_ui: false # Allows the player to optionally use a custom UI
  165. want_custom_quests: false # Informs the server to load custom quests or not
  166. spawn_auction_npcs: true # Enables auction house MODIFIED
  167. spawn_iron_man_npcs: false # Enables iron man
  168. show_floating_nametags: false
  169. want_clans: true # Enables the clan system TRUE
  170. want_kill_feed: true # Informs all players when someone is killed TRUE
  171. side_menu_toggle: false
  172. inventory_count_toggle: false
  173. auto_message_switch_toggle: false
  174. hide_login_box_toggle: false
  175. batch_progression: false # Enables skill batching
  176. custom_improvements: false
  177. want_global_chat: true # MODIFIED
  178. want_global_friend: false # Alternative to global chat, using global friend
  179. want_global_rules_agreement: true # MODIFIED
  180. global_message_cooldown: 0 # Time in milliseconds before players are allowed to send another global message
  181. global_message_total_level_req: 0 # Total level requirement for speaking in global chat
  182. want_experience_elixirs: false
  183. want_keyboard_shortcuts: 0 # 0 no; 1 yes but not visual; 2 yes including visual
  184. want_custom_rank_display: false
  185. custom_firemaking: false # Allows burning of other log types
  186. want_drop_x: true # MODIFIED
  187. want_exp_info: false
  188. want_woodcutting_guild: false
  189. want_missing_guild_greetings: false
  190. want_decanting: false # Allows combining potions of the same type
  191. player_commands: true # Grants regular players basic commands MODIFIED
  192. npc_blocking: 2 # 0 disables npc blocking; 1 is 2x+1 combat level blocks; 2 is all aggressive npcs block (authentic); 3 is all attackable npcs block
  193. player_blocking: 1 # 0 disables player blocking; 1 authentic 2018 RSC (players walk through players unless last point on their path); 2 players act like solid objects (2001 era RSC)
  194. npc_dont_retreat: false
  195. message_full_inventory: false # Shows message to the player if an item drops when skilling due to a full inventory
  196. want_pets: false # Enables following NPC pets and their capture items
  197. max_walking_speed: 1 # Number of spaces players can move per game tick. 1 is default
  198. max_ticks_until_full_walking_speed: 0 # Number of ticks before the player is allowed to walk at max speed. Implemented to allow NPCs to catch players as they always walk 1 tile per tick
  199. show_unidentified_herb_names: false
  200. fishing_spots_depletable: false # Randomly replaces fishing spots with a rock to stop batched fishing forever
  201. improved_item_object_names: false
  202. crystal_key_gives_xp: false
  203. looted_chests_stuck: false
  204. want_runecraft: false # Enables Runecraft skill
  205. want_harvesting: false # Enables harvesting skill
  206. want_custom_leather: false # Enables custom leather crafting
  207. custom_landscape: false # Allows the custom landscape to load instead
  208. want_equipment_tab: false # Adds an equipment tab to the interface
  209. want_bank_presets: true # Adds two presets to the bank interface MODIFIED
  210. mining_rocks_extended: false # Allows batching friendly mining
  211. want_new_rare_drop_tables: false # Enables the new drop table system
  212. want_leftclick_webs: false # Enables left-clicking webs to cut through them
  213. want_improved_pathfinding: false # Enables the ASTAR pathing algorithm for chasing NPCs
  214. can_use_cracker_on_self: false # Allows players to use Christmas Crackers / Trick or treat crackers / Presents on characters with the same IP address
  215. fix_overhead_chat: false
  216. want_better_jewelry_crafting: false # Will only show options when you have multiple moulds or gems in your inventory. Otherwise will make the item you have the mould for.
  217. more_shafts_per_better_log: false # Better logs give more arrow shafts while fletching.
  218. faster_yohnus: false # Yohnus will ask if he can take gp from your bank so you don't have to talk to him every time.
  219. want_chain_legs: false
  220. want_apothecary_qol: false # Apothecary will empty potions and fill vials with water for a price.
  221. want_ranged_face_player: false # Player will face target when ranging if set to true; authentic is always face NW
  222. want_poison_npcs: false # NPC's can be poisoned by poison weapons, arrows, bolts, and throwables.
  223. want_openpk_points: true # This adds the OpenPK points system.
  224. openpk_points_to_gp_ratio: 3 # This determines the OpenPK points to GP ratio.
  225. want_pk_bots: true # MODIFIED This determines if NPC PK bots will spawn.
  226. death_island: false
  227. want_openpk_presets: false # This determines if we want presets on the OpenPK stat/points interface. It's worth noting StorkPK didn't have presets, but it's nice to have an option for them.
  228. form_fitting_chainmail: false # When this setting is true, chainmail will automatically change between tops and bodies depending on the body type of the player wearing them.
  229. want_combat_odyssey: false # Enable the Combat Odyssey miniquest
  230. want_instanced_npcs: false # Allows some NPCs to only be displayed to players that have met specific criteria
  231. equip_quest_items_without_quests: true # Allows items to be equiped without completing the required quests
  232. want_packet_register: true # If true, signups (character creation) from within game clients such as RSC+ will be allowed
  233. parties:
  234. want_parties: false # Enables the party system
  235. want_party_xp_share: false # Enables party members to share XP
  236. party_additional_xp_percent_per_player: 0.06 # How much additional XP to award for larger parties
  237. party_distance_percent_decrease: 0.07 # How much less XP should be awarded based on distance from skiller
  238. party_save_xp_for_skiller_percent: 0.4 # How much xp to save for the skiller
  239. party_share_max_x: 20 # Maximum x distance for sharing XP
  240. party_share_max_y: 20 # Maximum y distance for sharing XP
  241. party_share_infinite_range: false # Allow XP sharing to have infinite range
  242. party_share_with_same_ip: false # Allow accounts on the same IP to share XP.
  243. party_share_size_algorithm: linear # Algorithm used for determining additional XP to be given to larger parties.
  244. party_share_distance_algorithm: exponential # Algorithm used for determining the XP dropoff based on distance from party member. (exponential or linear)
  245. party_max_size_for_additional_xp: 5 # How many party members should count for adding additional XP when sharing.
  246. party_iron_man_can_share: false # Should iron man give/receive shared XP?
  247. discord:
  248. want_discord_auction_updates: false # Should a discord webhook be called for auction house changes?
  249. want_discord_monitoring_updates: false # Should a discord webhook be called for performance monitoring?
  250. want_discord_staff_commands: true # Should a discord webhook be called for in-game staff commands?
  251. want_discord_report_abuse_updates: true # Should a discord webhook be called for in-game abuse reports?
  252. want_discord_naughty_words_updates: true # Should a discord webhook be called for in-game offensive language?
  253. want_discord_general_logging: true # Should a discord webhook be called for general game logging?
  254. want_discord_bot: false # Utilize a Discord chat bot integration?
  255. want_discord_downtime_reports: true # Should a discord webhook be called when the server recovers from being disconnected from the internet?
  256. cross_chat_channel: 0 # Channel used in Discord for in-game to Discord cross chat
  257. bank:
  258. right_click_bank: true # MODIFIED
  259. want_custom_banks: true # MODIFIED
  260. want_bank_pins: true # MODIFIED
  261. tolerate_bank_pins: false
  262. want_bank_notes: true # MODIFIED
  263. want_cert_deposit: false # Allows depositing certed items directly into the bank
  264. want_certer_bank_exchange: false
  265. want_cert_as_notes: true # Instead of having certs for any tradeable, display as note
  266. shop:
  267. right_click_trade: true # MODIFIED
  268. npc_kills:
  269. npc_kill_list: true # MODIFIED
  270. npc_kill_list_lookup_only: false # Only allow kills (kc) command for individual npcs
  271. npc_kill_messages: true # Displays kill count of npc to player when killing an npc MODIFIED
  272. npc_kill_messages_filter: false # Only display kill messages for npcs in npc_kill_messages_npcs
  273. npc_kill_messages_npcs: King Black Dragon,Black Dragon # Comma seperated list without spaces
  274. npc_kill_logging: true
  275. valuable_drops:
  276. valuable_drop_messages: true # Alerts player of rare drop MODIFIED
  277. valuable_drop_ratio: 3 # MODIFIED
  278. valuable_drop_extras: true # MODIFIED
  279. valuable_drop_items: Half of a key,Half Dragon Square Shield # Comma separated list without spaces
  280. glitch_checks:
  281. strict_check_all: false # Makes all checks strict
  282. strict_pdart_check: false # Makes the poisoned throwing dart requirement strict
  283. strict_pknife_check: false # Makes the poisoned throwing knife requirement strict
  284. strict_pspear_check: false # Makes the poisoned spear requirement strict
  285. loose_shallow_water_check: false # Simplifies part of Legends Quest
  286. want_bugged_claws_xp: true # Claws of Guthix cannot give EXP if the opponent already has drained stats.
  287. custom_quest_and_minigame:
  288. want_gianne_badge: false
  289. want_blurberry_badge: false
  290. want_extended_cats_behavior: false # Makes it possible to stroke cat and show kittens from quest to civillian
  291. want_barter_wormbrains: false
  292. locked_post_quest_regions_accessible: false # Makes regions that become locked after quest freely accessible
  293. can_retrieve_post_quest_items: false # Makes it possible to regain quest items post quest
  294. esters_bunnies: false # Enable/disable the Ester's Bunnies Easter event
  295. esters_bunnies_stingy_duck: false # The duck will not give unlimited Easter Eggs if this is true
  296. mice_to_meet_you: false # Enables/disables the Mice to Meet you Halloween event.
  297. mice_to_meet_you_no_rats: false # Enables/disables Rat NPCs during the Mice to Meet you Halloween event.
  298. santa_gives_presents: false # Enables/disables Santa rewarding player with Presents when giving sustenance
  299. pride_month: false # Enables Make over mage to give out the cape of inclusion
  300. a_bone_to_pick: false # Enables the 2023 Halloween event
  301. a_lumbridge_carol: false # Enables the 2023 Christmas event