mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
1c5b400f00a38a41d0878b3e39ba5f3c4eacdbf0
* Merge The File&Game Servers Into One Module * Make SettingsLoader A GameConstants ConfigLoader If A Config File Isn't Used, The Server Will Fall Back To The Defaults Set In GameConstants.java Config Files Can Be Loaded With The "-c/-config configfilelocation.json" Added A Default Prefilled ServerConfig.json * Update ConfigLoader * Bring Back Independant "Secrets" Loader For External Password Stuff * Added A Bunch More Vars To The ConfigLoader * Included A Sample "Server Config" * Also Updated README.md As Parabot Is No Longer Maintained & We No Longer Have A FileServer Module * Bundle FileServer with Server (docker) * Remove /udp and http port * Update .gitignore * Move FileServer from `org.apollo.jagcached` → `org/apollo/jagcached` * Tidy GameConstants & Add More Vars To ConfigLoader * Organised Up GameConstants A Little To Separate ConfigLoader Vars From The Rest * Added Some More Variables To Be Loaded Through The ConfigLoader * Fix A Derp Caused By Laziness * Add -c/-config arg to README.md * Enable FileServer By Default Co-authored-by: Danial <admin@redsparr0w.com>
2006Scape - an open source, actively developed emulation server. Pull requests welcome! 
Discord Link: https://discord.gg/hZ6VfWG
How to Play
Client/Launcher Download: https://2006Scape.org/
Rune-Server project thread: Project thread
Installation + Running (Developers)
-
Import Project in IntelliJ
-
Hit File > Project Settings > Set SDK to Java 8 (Download Java 8 SDK if you don't have one already)
-
Navigate to
2006Scape Server>src>main>java>com.rs2, right click GameEngine and hit Run Image -
Navigate to
2006Scape Client>src>main>java, right click Client and hit Run Image
Advanced
To compile any module from the command line, run mvn clean install
Using Parabot with your local server: (OUTDATED)
- 1: Download the latest
localhost_2006Scape.jarfrom here (or, if testing server changes, compile it yourself like this) - 2: Download the latest
Provider-version.jarfile from here - 3: Create a file called
localhost.jsonin{user}\Documents\Parabot\servers - 4: Put the following in the file
{
"name": "localhost",
"author": "RedSparr0w",
"version": 1.0,
"client-class": "LocalGame",
"locations":{
"provider": "pathToYourJar/Provider-1.21.5.jar",
"server": "pathToYourJar/localhost_2006Scape.jar",
"hooks": "http://bdn.parabot.org/data/hooks/carmeuses/2006rebotted_hooks.xml"
}
}
(you will need to put the path to the jar files yourself)
- 5: Run the parabot client with the following args:
java -jar Client-2.8.1.jar -login username password -loadlocal -v -clearcache
- 6: ???
- 7: PROFIT
Server source layout
2006Scape Servercontains all the server code; marksrcas the Sources directory2006Scape Clientcontains all the client code; likewise marksrc- If more than 2 arguments are passed in (can be anything), the client runs locally
Building from command line
Run mvn -B clean install
Releases
10
Languages
Java
100%