Defiled 415 Share Posted January 24, 2020 Hello, I wrote this guide because of the new feature @Nuclear Nezz released in the past few weeks, I hope you enjoy. First: Grab your Library Jar File and place it in the "Libs" folder found in the DreamBot folder found in your user.home directory. Second: Head over to your script files and create a new file with the name "libs" in your Source folder A.K.A src. (Note: The file isn't a .txt, it's just a normal file without any prefixes, if you don't know how to create a default file then you shouldn't be scripting 😛 ) Third: Edit this file using Notepad or what ever text editing software you prefer, and write in the name of the library with its prefix (Case-Sensitive). Ex: mysql-connector-java-5.1.48.jar & jmail.jar Fourth: Build your script Jar File, also as a helpful hint: when building artifacts in IntelliJ, enable "Include in project build" to build artifacts faster with every compile & select JAR > from modules with dependencies and remove the library from compiling with the script on the artifacts interface. and that's it! Thank you @Nuclear Nezz for this fantastic and wonderful update. Credits to Nezz for explaining briefly how to use the new Libs update. It was a comment in a thread that might get lost, so I made a full thread to keep it in full view to people. UberJason, Hashtag, Nuclear Nezz and 1 other 4 Link to comment Share on other sites More sharing options...
ndsalem12 0 Share Posted January 24, 2020 Thank you so much! The screenshot at the end is from my original question about the topic a couple days ago. Appreciate it a lot man, cheers. Link to comment Share on other sites More sharing options...
Defiled 415 Author Share Posted January 24, 2020 2 hours ago, ndsalem12 said: Thank you so much! The screenshot at the end is from my original question about the topic a couple days ago. Appreciate it a lot man, cheers. No problem! Link to comment Share on other sites More sharing options...
Hashtag 8369 Share Posted January 25, 2020 Awesome guide, thanks Defiled! Defiled 1 Link to comment Share on other sites More sharing options...
Defiled 415 Author Share Posted January 25, 2020 2 hours ago, Hashtag said: Awesome guide, thanks Defiled! Thanks Hash! Link to comment Share on other sites More sharing options...
lppl67 0 Share Posted May 1, 2020 I added the libs file, added the jar name, added the jar to the Libs folder and still no luck. If anyone wants to add me on discord it's Zach#2679 Link to comment Share on other sites More sharing options...
greekhaima 1 Share Posted October 24, 2021 (edited) I tried the above and didn't work. This is what worked for me: added all jars into dependencies: added all jars into output: Edited October 24, 2021 by greekhaima Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now