User Tools

Site Tools


servers:linux: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:linux:games:2009scape_localhost [2025/08/17 07:40] – [Server Start] Sean Rhoneservers:linux:games:2009scape_localhost [2025/08/26 01:06] (current) – [Save Data Back-up] Sean Rhone
Line 43: Line 43:
 ====== Settings ====== ====== Settings ======
  
-  * Last commit: [[https://gitlab.com/2009scape/2009scape/-/commit/317b4e9b5c330c6492663631d3edca9794dfc2f9|August 102024]] ''317b4e9b''+  * Last commit: [[https://gitlab.com/2009scape/2009scape/-/commit/bef103e25934ab2ba465e157fe776d947aa4a49b|July 152025]] ''bef103e2''
   * [[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 54: Line 54:
 # Server # Server
 log_level = "verbose" log_level = "verbose"
-write_logs = true+write_logs = false
 msip = "localhost" msip = "localhost"
 secret_key = "2009scape_development" secret_key = "2009scape_development"
Line 109: Line 109:
 skillcape_perks = false skillcape_perks = false
 jad_practice_enabled = false jad_practice_enabled = false
 +inauthentic_candlelight_random = false
  
 # Holiday (only enable one "force" or none) # Holiday (only enable one "force" or none)
Line 173: Line 174:
  
 ===== Server Start ===== ===== Server Start =====
- 
-  * [[games:linux:rt4_client_runescape_530#scape_localhost|RT4 Client Desktop Action Server]] 
  
   mkdir -p ~/'Projects/2009Scape-Server/scripts' && nano ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh' && chmod +x ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'   mkdir -p ~/'Projects/2009Scape-Server/scripts' && nano ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh' && chmod +x ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'
Line 180: Line 179:
 <code> <code>
 #!/bin/bash #!/bin/bash
- 
-export JAVA_HOME='/usr/lib64/jvm/java-24-openjdk-24' 
-export _JAVA_OPTIONS='-Djava.net.preferIPv6Addresses=false' 
  
 cd ~/'Projects/2009Scape-Server/src/Server' cd ~/'Projects/2009Scape-Server/src/Server'
-java -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' '../../conf/localhost.conf'+ 
 +export _JAVA_OPTIONS='--sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED -Djava.net.preferIPv6Addresses=false' 
 + 
 +'/usr/lib64/jvm/java-24-openjdk-24/bin/java' -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' '../../conf/localhost.conf'
  
 # End</code> # End</code>
Line 192: Line 191:
  
 ===== Server Update ===== ===== Server Update =====
- 
-  * https://gitlab.com/2009scape/2009scape/-/commits/master 
-  * [[games:linux:rt4_client_runescape_530#scape_localhost|RT4 Client Desktop Action Server-Update]] 
  
   mkdir -p ~/'Projects/2009Scape-Server/scripts' && nano ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh' && chmod +x ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'   mkdir -p ~/'Projects/2009Scape-Server/scripts' && nano ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh' && chmod +x ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'
Line 203: Line 199:
 git -C ~/'Projects/2009Scape-Server/src' reset --hard git -C ~/'Projects/2009Scape-Server/src' reset --hard
 git -C ~/'Projects/2009Scape-Server/src' pull origin 'master' --rebase git -C ~/'Projects/2009Scape-Server/src' pull origin 'master' --rebase
 +
 +cd ~/'Projects/2009Scape-Server/src/Server'
  
 export JAVA_HOME='/usr/lib64/jvm/java-24-openjdk-24' export JAVA_HOME='/usr/lib64/jvm/java-24-openjdk-24'
 +export _JAVA_OPTIONS='--sun-misc-unsafe-memory-access=allow --enable-native-access=ALL-UNNAMED'
  
-cd ~/'Projects/2009Scape-Server/src/Server' 
 ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests ~/'Projects/2009Scape-Server/src/Server/mvnw' 'clean' 'package' -DskipTests
  
-zenity --title '2009Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '2' --info+unset 'JAVA_HOME' '_JAVA_OPTIONS' 
 + 
 +zenity --title '2009Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '1' --info
  
 # End</code> # End</code>
Line 216: Line 216:
  
 ===== Save Data Back-up ===== ===== Save Data Back-up =====
- 
-  * [[games:linux:rt4_client_runescape_530#scape_localhost|RT4 Client Desktop Action Saves]] 
  
   mkdir -p ~/'Projects/2009Scape-Server/scripts' && nano ~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh' && chmod +x ~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh'   mkdir -p ~/'Projects/2009Scape-Server/scripts' && nano ~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh' && chmod +x ~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh'
Line 224: Line 222:
 #!/bin/bash #!/bin/bash
  
-tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-Server-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'
  
-zenity --title '2009Scape Save Backup' --text 'Save Data Backed-up to Downloads' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '2' --info+zenity --title '2009Scape Save Backup' --text 'Save Data Backed-up to Downloads' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '1' --info
  
 # End</code> # End</code>
Line 234: Line 232:
 ====== Quick Commands ====== ====== Quick Commands ======
  
-===== Execute ===== +===== Save Restore =====
- +
-===== Server ===== +
- +
-  cd ~/'Projects/2009Scape-Server/src/Server' && java -jar ~/'Projects/2009Scape-Server/src/Server/target/server-'*'-jar-with-dependencies.jar' +
- +
-  ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh' +
- +
-  ptyxis --standalone --title='2009Scape Server — ' -- ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh' +
- +
-===== Update ===== +
- +
-  * [[https://gitlab.com/2009scape/2009scape/-/commits/master|Commits History]] +
-  * TODO +
- +
-  git -C ~/'Projects/2009Scape-Server/src' reset --hard && git -C ~/'Projects/2009Scape-Server/src' pull origin 'master' --rebase &&  +
- +
-  ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh' +
- +
-  ptyxis --standalone --title='2009Scape Server Updater — ' -- ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh' +
- +
-===== Save Data Back-up ===== +
- +
-  tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2009Scape-Server-localhost-Saves-manual.tar.gz' -C ~/'Projects/2009Scape-Server/src/Server/data' 'players' +
- +
-  ~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh' +
- +
-  mkdir -p ~/'Projects/2009Scape-Server/src/Server/data/players' && gio open ~/'Projects/2009Scape-Server/src/Server/data/players' +
- +
-===== Git ===== +
- +
-  git -C ~/'Projects/2009Scape-Server/src' fsck --full --strict +
- +
-  git -C ~/'Projects/2009Scape-Server/src' gc --aggressive --prune='all' +
- +
-===== File Manager ===== +
- +
-==== Root ==== +
- +
-**** +
- +
-  gio open ~/'Projects/2009Scape-Server/src' +
- +
-===Saves ====+
  
 **** ****
  
   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'
- 
-====== Resources/TODOs ====== 
- 
-  * https://github.com/2009scape/2009Scape-mobile/issues/13 
-  * https://gitlab.com/2009scape/2009scape/-/raw/master/Server/worldprops/default.conf?ref_type=heads 
-  * https://gitlab.com/2009scape/singleplayer/windows/-/raw/master/game/worldprops/default.conf 
-  * https://gitlab.com/2009scape/2009scape/-/blob/master/Server/src/main/core/game/system/config/ServerConfigParser.kt#L66 
-  * https://gitlab.com/2009scape/2009scape/-/blob/master/Server/src/main/core/game/world/GameSettings.kt#L120 
-  * ''noauth_default_admin'' to ''true'' if ''::to'' needed/stuck 
-  * Pest Control and Mining Star bots auto-still appear with bots disabled in conf (bots disabled stops auto-spawn bots at Lumbridge/seemingly general areas) 
  
C:/www/wiki/data/attic/servers/linux/games/2009scape_localhost.1755430809.txt.gz · Last modified: by Sean Rhone