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 [2025/08/25 04:44] – [Settings] Sean Rhoneservers:bsd:games:2009scape_localhost [2025/11/02 00:20] (current) – OpenJDK 17 (build), 25 run (match RT4 Client) Sean Rhone
Line 11: Line 11:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[bsd:freebsd_14.3_xfce|FreeBSD 14.(Xfce)]]+  * [[bsd:freebsd_15.0_xfce|FreeBSD 15.(Xfce)]]
  
 ===== Notes ===== ===== Notes =====
Line 23: Line 23:
   su -   su -
  
-  pkg install git git-lfs openjdk24+  pkg install git git-lfs openjdk17 openjdk25
  
 ====== Git LFS ====== ====== Git LFS ======
  
   * :!: From normal user   * :!: From normal user
 +
 +  exit
  
   git lfs 'install'   git lfs 'install'
Line 41: Line 43:
 **** ****
  
-  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/openjdk17' _JAVA_OPTIONS='--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow' ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests
  
 ====== Settings ====== ====== Settings ======
Line 53: Line 55:
 <code> <code>
 [server] [server]
 +
 +# Server
 log_level = "verbose" log_level = "verbose"
 write_logs = false write_logs = false
Line 58: Line 62:
 secret_key = "2009scape_development" 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 67: Line 75:
  
 [database] [database]
 +
 +# MySQL
 database_address = "localhost" database_address = "localhost"
 database_port = "3306" database_port = "3306"
Line 74: Line 84:
  
 [integrations] [integrations]
 +
 +# Grafana Analytics?
 grafana_logging = false grafana_logging = false
 grafana_log_path = "@data/logs" grafana_log_path = "@data/logs"
Line 79: Line 91:
  
 [world] [world]
 +
 +# localhost
 motw_text = "Welcome to your localhost server!" motw_text = "Welcome to your localhost server!"
 show_rules = false show_rules = false
Line 88: Line 102:
 personalized_shops = false personalized_shops = false
 enable_default_clan = false enable_default_clan = false
 +
 +# Jagex-like
 i_want_to_cheat = false i_want_to_cheat = false
 default_xp_rate = 1.0 default_xp_rate = 1.0
Line 98: Line 114:
 jad_practice_enabled = false jad_practice_enabled = false
 inauthentic_candlelight_random = false inauthentic_candlelight_random = false
-force_halloween_randoms = false+ 
 +# Holiday (only enable one "force" or none) 
 +force_halloween_randoms = true
 force_christmas_randoms = false force_christmas_randoms = false
-holiday_event_randoms = false+holiday_event_randoms = true 
 + 
 +# PVP
 pvp = false pvp = false
 wild_pvp_enabled = false wild_pvp_enabled = false
 revenant_population = 0 revenant_population = 0
 +
 +# Server config
 debug = false debug = false
 dev = false dev = false
Line 119: Line 141:
 new_player_location = "2524,5002,0" new_player_location = "2524,5002,0"
 home_location = "3222,3218,0" home_location = "3222,3218,0"
 +
 +# World
 name = "2009Scape (::1)" name = "2009Scape (::1)"
 world_id = "1" world_id = "1"
Line 127: Line 151:
  
 [paths] [paths]
 +
 +# Paths
 data_path = "data" data_path = "data"
 bot_data = "@data/botdata" bot_data = "@data/botdata"
Line 137: Line 163:
 save_path = "@data/players" save_path = "@data/players"
 store_path = "@data/serverstore" 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" gem_drop_table_path = "@data/configs/shared_tables/GDT.xml"
Line 143: Line 171:
 allotment_seed_drop_table_path = "@data/configs/shared_tables/ASDT.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"
-rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml"</code>+rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml" 
 + 
 +# End</code>
  
 ====== Scripts ====== ====== Scripts ======
Line 156: Line 186:
 cd ~/'Projects/2009Scape-Server/src/Server' cd ~/'Projects/2009Scape-Server/src/Server'
  
-export JAVA_HOME='/usr/local/openjdk24'+export JAVA_HOME='/usr/local/openjdk25'
 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'
  
Line 177: Line 207:
 cd ~/'Projects/2009Scape-Server/src/Server' cd ~/'Projects/2009Scape-Server/src/Server'
  
-export JAVA_HOME='/usr/local/openjdk24+export JAVA_HOME='/usr/local/openjdk17
-export _JAVA_OPTIONS='--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow'+export _JAVA_OPTIONS='--enable-native-access=ALL-UNNAMED'
  
 ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests
  
-notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape localhost server update complete'+unset 'JAVA_HOME' '_JAVA_OPTIONS' 
 + 
 +notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -t '3000' '2009Scape localhost server update complete'
  
 # End</code> # End</code>
Line 197: Line 229:
 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'
  
-notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape Save Data Backed-up Successfully to Downloads'+notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -t '3000' '2009Scape Save Data Backed-up Successfully to Downloads'
  
 # End</code> # End</code>
/usr/local/www/wiki/data/attic/servers/bsd/games/2009scape_localhost.1756111455.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