User Tools

Site Tools


servers:bsd:games:2009scape_localhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:bsd:games:2009scape_localhost [2026/04/22 00:14] – [Initial Build] Sean Rhoneservers:bsd:games:2009scape_localhost [2026/04/24 04:44] (current) – [Save Restore] Sean Rhone
Line 20: Line 20:
  
   * https://gitlab.com/2009scape/2009scape#prerequisites   * https://gitlab.com/2009scape/2009scape#prerequisites
-  * 2026/04/22: ''openjdk24'' can be used for build ((25 and 26 have Kotlin version error)) 
  
   su -   su -
  
-  pkg install git git-lfs openjdk17 openjdk25 +  pkg install git git-lfs openjdk24 openjdk26-jre-headless
- +
-  openjdk24+
  
 ====== Git LFS ====== ====== Git LFS ======
Line 40: Line 37:
   * https://gitlab.com/2009scape/2009scape/-/commits/master?ref_type=heads   * https://gitlab.com/2009scape/2009scape/-/commits/master?ref_type=heads
  
-  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/2009Scape-Server/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/2009scape/2009scape.git' ~/'Projects/2009Scape-Server/src' && sync+  mkdir -p ~/'Projects' && rm -Rf ~/'Projects/2009Scape-Server/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/2009scape/2009scape.git' ~/'Projects/2009Scape-Server/src'
  
 ====== Initial Build ====== ====== Initial Build ======
  
-  * 5 minutes i5-8400H ((2025/11/05: ''04:46 min'' HT-off))+  * 5 minutes i5-8400H ((2026/04/22 ''03:17 min'' 4C8T))
  
-  cd ~/'Projects/2009Scape-Server/src/Server' && JAVA_HOME='/usr/local/openjdk24' _JAVA_OPTIONS='--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow' ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests+  cd ~/'Projects/2009Scape-Server/src/Server' && JAVA_HOME='/usr/local/openjdk24' _JAVA_OPTIONS='--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow' ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests && cd -
  
 ====== Settings ====== ====== Settings ======
  
-  * Last commit: [[https://gitlab.com/2009scape/2009scape/-/commit/bef103e25934ab2ba465e157fe776d947aa4a49b|July 15, 2025]] ''bef103e2''+  * Last commit: [[https://gitlab.com/2009scape/2009scape/-/commit/dfb53cfa03fff99374e60875e01a16f10d995749|November 25, 2025]] ''dfb53cfa''
   * [[https://gitlab.com/2009scape/2009scape/-/commits/master/Server/worldprops/default.conf?ref_type=heads|New commits check]]   * [[https://gitlab.com/2009scape/2009scape/-/commits/master/Server/worldprops/default.conf?ref_type=heads|New commits check]]
   * [[https://gitlab.com/2009scape/2009scape/-/blob/master/Server/worldprops/default.conf?ref_type=heads|Upstream worldprops/default.conf]] ([[https://gitlab.com/2009scape/2009scape/-/raw/master/Server/worldprops/default.conf?ref_type=heads|raw]])   * [[https://gitlab.com/2009scape/2009scape/-/blob/master/Server/worldprops/default.conf?ref_type=heads|Upstream worldprops/default.conf]] ([[https://gitlab.com/2009scape/2009scape/-/raw/master/Server/worldprops/default.conf?ref_type=heads|raw]])
Line 58: Line 55:
 <code> <code>
 [server] [server]
- +log_level = "detailed" 
-# Server +secret_key = "2009scape_development"
-log_level = "verbose"+
 write_logs = false write_logs = false
-msip = "localhost" +msip = "127.0.0.1"
-secret_key = "2009scape_development"+
 preload_map = false preload_map = false
- 
-# Accounts 
 use_auth = false use_auth = false
 persist_accounts = false persist_accounts = false
 noauth_default_admin = false noauth_default_admin = false
 daily_accounts_per_ip = 3 daily_accounts_per_ip = 3
- 
-# Watchdog 
 watchdog_enabled = false watchdog_enabled = false
 connectivity_check_url = "localhost" connectivity_check_url = "localhost"
Line 78: Line 69:
  
 [database] [database]
- 
-# MySQL 
-database_address = "localhost" 
-database_port = "3306" 
 database_name = "2009scape" database_name = "2009scape"
 database_username = "2009scape" database_username = "2009scape"
 database_password = "x" database_password = "x"
 +database_address = "127.0.0.1"
 +database_port = "3306"
  
 [integrations] [integrations]
- 
-# Grafana Analytics? 
 grafana_logging = false grafana_logging = false
 grafana_log_path = "@data/logs" grafana_log_path = "@data/logs"
Line 94: Line 81:
  
 [world] [world]
- +name = "2009Scape (::1)" 
-# localhost+name_ge = "2009Scape" 
 +debug = false 
 +dev = false 
 +start_gui = false 
 +daily_restart = false 
 +world_id = "1" 
 +country_id = "0" 
 +members = true 
 +activity = "2009Scape Classic." 
 +pvp = false 
 +enable_default_clan = false 
 +enable_bots = false 
 +motw_identifier = "0"
 motw_text = "Welcome to your localhost server!" motw_text = "Welcome to your localhost server!"
-show_rules false +new_player_location "2524,5002,0" 
-new_player_announcement false +home_location "3222,3218,0"
-allow_token_purchase = false+
 autostock_ge = false autostock_ge = false
-bots_influence_ge_price = false+allow_token_purchase = false 
 +skillcape_perks = false 
 +increased_door_time = false 
 +enable_botting = false 
 +max_adv_bots = 100
 enable_doubling_money_scammers = false enable_doubling_money_scammers = false
 +wild_pvp_enabled = false
 +jad_practice_enabled = false
 +enable_global_chat = false
 +ge_announcement_limit = 500
 +enable_castle_wars = false
 personalized_shops = false personalized_shops = false
-enable_default_clan = false +bots_influence_ge_price = false 
- +verbose_cutscene = false 
-# Jagex-like+show_rules = false 
 +revenant_population = 0
 i_want_to_cheat = false i_want_to_cheat = false
-default_xp_rate = 1.0 
-runecrafting_formula_revision = 530 
-allow_slayer_reroll = false 
 better_agility_pyramid_gp = false better_agility_pyramid_gp = false
 better_dfs = false better_dfs = false
-enhanced_deep_wilderness = false +new_player_announcement = false
-skillcape_perks = false +
-jad_practice_enabled = false+
 inauthentic_candlelight_random = false inauthentic_candlelight_random = false
- +######################################## 
-Holiday (only enable one "force" or none) +holiday_event_randoms = false 
-force_halloween_randoms = true+force_halloween_randoms = false
 force_christmas_randoms = false force_christmas_randoms = false
-holiday_event_randoms = true +######################################## 
- +runecrafting_formula_revision 530 
-PVP +enhanced_deep_wilderness = false 
-pvp = false +wilderness_exclusive_loot = false 
-wild_pvp_enabled = false +xp_rates = false 
-revenant_population = 0 +ironman = false 
- +shooting_star_ring = false 
-Server config +ring_of_wealth_teleport = false 
-debug false +second_bank = false 
-dev = false +player_commands = false 
-start_gui = false +boosted_trawler_rewards false
-daily_restart = false +
-smartpathfinder_bfs = true +
-enable_botting = false +
-motw_identifier = "0" +
-ge_announcement_limit = 500 +
-increased_door_time = false +
-enable_castle_wars = false +
-verbose_cutscene = false +
-enable_bots = false +
-max_adv_bots 100 +
-new_player_location = "2524,5002,0" +
-home_location = "3222,3218,0" +
- +
-# World +
-name = "2009Scape (::1)" +
-world_id = "1" +
-country_id = "0" +
-members = true +
-name_ge = "2009Scape" +
-activity = "2009Scape Classic."+
  
 [paths] [paths]
- 
-# Paths 
 data_path = "data" data_path = "data"
-bot_data = "@data/botdata" 
 cache_path = "@data/cache" cache_path = "@data/cache"
 +store_path = "@data/serverstore"
 +save_path = "@data/players"
 configs_path = "@data/configs" configs_path = "@data/configs"
 +logs_path = "@data/logs"
 +bot_data = "@data/botdata"
 eco_data = "@data/eco" eco_data = "@data/eco"
 grand_exchange_data_path = "@data/eco" grand_exchange_data_path = "@data/eco"
-logs_path = "@data/logs" 
 object_parser_path = "@data/ObjectParser.xml" object_parser_path = "@data/ObjectParser.xml"
-save_path = "@data/players" 
-store_path = "@data/serverstore" 
- 
-# Drop Tables 
 rare_drop_table_path = "@data/configs/shared_tables/RDT.xml" rare_drop_table_path = "@data/configs/shared_tables/RDT.xml"
-gem_drop_table_path = "@data/configs/shared_tables/GDT.xml" 
-herb_drop_table_path = "@data/configs/shared_tables/HDT.xml" 
 cele_drop_table_path = "@data/configs/shared_tables/CELEDT.xml" cele_drop_table_path = "@data/configs/shared_tables/CELEDT.xml"
-allotment_seed_drop_table_path = "@data/configs/shared_tables/ASDT.xml" 
 uncommon_seed_drop_table_path = "@data/configs/shared_tables/USDT.xml" uncommon_seed_drop_table_path = "@data/configs/shared_tables/USDT.xml"
 +herb_drop_table_path = "@data/configs/shared_tables/HDT.xml"
 +gem_drop_table_path = "@data/configs/shared_tables/GDT.xml"
 rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml" rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml"
 +allotment_seed_drop_table_path = "@data/configs/shared_tables/ASDT.xml"
  
 # End</code> # End</code>
Line 189: Line 168:
 cd ~/'Projects/2009Scape-Server/src/Server' cd ~/'Projects/2009Scape-Server/src/Server'
  
-export JAVA_HOME='/usr/local/openjdk25+export JAVA_HOME='/usr/local/openjdk26-jre-headless
-export _JAVA_OPTIONS='-Djava.net.preferIPv6Addresses=false --enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow'+export _JAVA_OPTIONS="-Djava.net.preferIPv6Addresses='false--enable-native-access='ALL-UNNAMED--sun-misc-unsafe-memory-access='allow'"
  
 java -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' '../../conf/localhost.conf' java -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' '../../conf/localhost.conf'
Line 204: Line 183:
 <code> <code>
 #!/bin/sh #!/bin/sh
 +
 +cd '/tmp'
  
 git -C ~/'Projects/2009Scape-Server/src' reset --hard git -C ~/'Projects/2009Scape-Server/src' reset --hard
Line 210: Line 191:
 cd ~/'Projects/2009Scape-Server/src/Server' cd ~/'Projects/2009Scape-Server/src/Server'
  
-export JAVA_HOME='/usr/local/openjdk17+export JAVA_HOME='/usr/local/openjdk24
-export _JAVA_OPTIONS='--enable-native-access=ALL-UNNAMED'+export _JAVA_OPTIONS="--enable-native-access='ALL-UNNAMED' --sun-misc-unsafe-memory-access='allow'"
  
 ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests
  
 unset 'JAVA_HOME' '_JAVA_OPTIONS' unset 'JAVA_HOME' '_JAVA_OPTIONS'
 +cd '/tmp'
  
 notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -t '3000' '2009Scape localhost server update complete' notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -t '3000' '2009Scape localhost server update complete'
 +read -p 'Done. Press Enter to exit.' 'x'
  
 # End</code> # End</code>
Line 229: Line 212:
 <code> <code>
 #!/bin/sh #!/bin/sh
 +
 +cd '/tmp'
  
 tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-localhost-Saves.tar.gz' -C ~/'Projects/2009Scape-Server/src/Server/data' 'players' tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-localhost-Saves.tar.gz' -C ~/'Projects/2009Scape-Server/src/Server/data' 'players'
Line 256: Line 241:
 ===== Save Restore ===== ===== Save Restore =====
  
-****+  ''Server/data/players/espionage724.json''
  
   mkdir -p ~/'Projects/2009Scape-Server/src/Server/data/players' && gio open ~/'Projects/2009Scape-Server/src/Server/data/players'   mkdir -p ~/'Projects/2009Scape-Server/src/Server/data/players' && gio open ~/'Projects/2009Scape-Server/src/Server/data/players'
/srv/www/wiki/data/attic/servers/bsd/games/2009scape_localhost.1776831250.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki