[server] #Log Level - the level of verbosity used for logs. #"verbose" - ALL logs are shown #"detailed" - FINE logs are hidden, which is generally bulk/debug info. #"cautious" - FINE, INFO logs are hidden, meaning this level only shows warnings and errors. #"silent" - FINE, INFO, WARN logs are hidden, meaning this level only shows errors. log_level = "verbose" #Secret key - this is sent by the client during login. #Client/Server MUST match or connection is refused. secret_key = "2009scape_development" write_logs = true msip = "127.0.0.1" #preload the map (Increases memory usage by 2GB but makes game ticks smoother) preload_map = false #--------Note: If both of the below are false, no database is required to run the server.-------------- #true = login requires password to be correct, passwords are hashed before stored. false = login does not care about the correctness of a password. use_auth = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION! #true - account data (credits, playtime, etc) is persisted, false - account data is purely temporary #NOTE: this does not affect actual save data, like stats, inventory, etc. persist_accounts = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION! noauth_default_admin = true #NOTE: If we are not using auth, this determines whether or not players are admins by default. #------------------------------------------------------------------------------------------------------ #The limit on how many different accounts a player can log into per day. daily_accounts_per_ip = 3 watchdog_enabled = true connectivity_check_url = "https://google.com,https://2009scape.org" connectivity_timeout = 500 # Enables a websocket listener for browser clients. The websocket stream carries the # same raw binary protocol as TCP; each websocket binary frame is treated as a byte chunk. websocket_enabled = false # Leave at 0 to use the default websocket port of 53594 + world_id. websocket_port = 0 # Enables TLS on the websocket listener so browser clients can connect over wss://. websocket_tls_enabled = false # PKCS12 keystore path, e.g. certs/dev-wss.p12. websocket_tls_keystore_path = "" # Optional. Leave blank for a PKCS12 file exported with an empty password. websocket_tls_keystore_password = "" [database] database_name = "global" database_username = "root" database_password = "" database_address = "127.0.0.1" database_port = "3306" [integrations] grafana_logging = false grafana_log_path = "@data/logs" #how long grafana will keep old data for in days (anything older is pruned once on startup) grafana_log_ttl_days = 7 #discord_ge_webhook = "webhook link" #discord_moderation_webhook = "webhook link" #openrsc_integration_webhook = "webhook link" [world] name = "2009Scape" #name used for announcements of bots selling items on the GE name_ge = "2009Scape" debug = true dev = true start_gui = false daily_restart = false #world number world_id = "1" country_id = "0" members = true #activity as displayed on the world list activity = "2009Scape Classic." pvp = false #enables a default clan for players to join automatically. Should be an account with the same name as @name, with a clan set up already. enable_default_clan = true enable_bots = true #message of the week model ID, 0 for random motw_identifier = "0" #text shown for message of the week - @name will be replaced with the name property set above. motw_text = "Welcome to @name!" #the coordinates new players spawn at new_player_location = "3094,3107,0" #the location of home teleport home_location = "3222,3218,0" autostock_ge = false allow_token_purchase = false skillcape_perks = false increased_door_time = false enable_botting = false max_adv_bots = 100 enable_doubling_money_scammers = true wild_pvp_enabled = false jad_practice_enabled = false enable_global_chat = false #minimum HA value for announcements of bots selling on ge ge_announcement_limit = 500 enable_castle_wars = false personalized_shops = false bots_influence_ge_price = true #verbose cutscene logging (for cutscenes in the new system) verbose_cutscene = false #show the rules the first time a player logs in show_rules = false #the number of revenants active at a time revenant_population = 30 #enable auto-buy/auto-sell on the GE. i_want_to_cheat = false #better agility pyramid gp reward (gp reward = 1000 + ((agility level / 99) * 9000)) better_agility_pyramid_gp = false #better dragonfire shield attack (30 second cooldown instead of 2 minutes) better_dfs = false #new player announcement new_player_announcement = false #enables inauthentic candlelight random event (adds an additional normal random event) inauthentic_candlelight_random = false #enables holiday random events (no effect on normal random events) holiday_event_randoms = false #force holiday randoms (can only force one at a time) force_halloween_randoms = false force_christmas_randoms = false #enables inauthentic april fools event april_fools_event = false force_april_fools = false #runecrafting formula revision (573 introduced probabilistic multiple runes, 581 extrapolated probabilistic runes past 99) runecrafting_formula_revision = 530 #enables the enhanced deep wilderness, where the area past the members' fence applies a red skull that boosts brawler/pvp drop rates enhanced_deep_wilderness = false #enables wilderness-exclusive loot, i.e. brawling gloves and PvP gear, from revenants and the Chaos Elemental wilderness_exclusive_loot = false #enables the xp rates option on tutorial island xp_rates = false #enables the ironman option on tutorial island and the inauthentic game protocol addition to transmit chat icons for ironmen ironman = false #enables the custom-content ancient blueprint and ring of the star sprite shooting_star_ring = false #enables the inauthentic teleport option on the ring of wealth ring_of_wealth_teleport = false #enables second bank second_bank = false #enables inauthentic but non-dangerous commands for regular players player_commands = false #enables boosted rewards from fishing trawler consisting of key halves and pirate outfit pieces boosted_trawler_rewards = false [paths] #path to the data folder, which contains the cache subfolder and such data_path = "data" #in the lines below, @data will be replaced with the value set for data_path cache_path = "@data/cache" store_path = "@data/serverstore" save_path = "@data/players" configs_path = "@data/configs" #this is where economy/grand exchange data gets saved grand_exchange_data_path = "@data/eco" #path to file defining the rare drop table rare_drop_table_path = "@data/configs/shared_tables/RDT.xml" #path to file defining c.ele minor drop table cele_drop_table_path = "@data/configs/shared_tables/CELEDT.xml" #path to file defining the uncommon seed drop table uncommon_seed_drop_table_path = "@data/configs/shared_tables/USDT.xml" #path to file defining the herb drop table herb_drop_table_path = "@data/configs/shared_tables/HDT.xml" #path to file defining the gem drop table gem_drop_table_path = "@data/configs/shared_tables/GDT.xml" #path to file defining the rare seed drop table rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml" #path to file defining the allotment seed drop table allotment_seed_drop_table_path = "@data/configs/shared_tables/ASDT.xml" #path to file containing boot-time object changes object_parser_path = "@data/ObjectParser.xml" #path logs are written to logs_path = "@data/logs" bot_data = "@data/botdata" eco_data = "@data/eco"