Jump to content

TRiBot Scripting Gradle Template


Naton

Recommended Posts

Info

This is the successor to the original TRiBot 12 Gradle script template updated to support the TRiBot script SDK + some other improvements.

This contains some utilities to make your life easier. It will automatically include the appropriate dependencies and to build to the appropriate location for TRiBot to pick up your scripts.

Check out the README in the tribot script template repository for more information.

Note that this is not required. It will simply make your life easier (given you have some experience already).

The template is designed in a way that we can update anything automatically through the gradle plugin. This means if there's an issue or new feature added, we can do all the work and you won't have to change anything (other then refresh gradle to download the latest plugin, of course).

 

How to use

Download the Script Template by visiting the link below. You can download and extract a zip, or clone (or fork) it via git. Open the download location with your favorite IDE. (IntelliJ is recommended)

Make sure you have gradle set to use java 11 in the gradle settings within your IDE.

 

Link

Script Template: https://github.com/TribotRS/tribot-script-template

* Click here to auto-generate a repo on your github https://github.com/TribotRS/tribot-script-template/generate

 

(Don't worry about the plugin, it's automatically applied, unless you want to browse the source or contribute to it)

Gradle Plugin: https://github.com/TribotRS/tribot-gradle-plugin

 

Open-Source

The Script Template and Gradle Plugin are both open-source and contributions are welcome (let us know if there's a change you're looking to make so we can be on the same page).

 

 

Let us know if you have any questions by posting below or in the TRiBot discord.

 

Moving forward, we're recommending using the TRiBot Script SDK. The client jar is not included by default in this template, and if you are new, I don't recommend using it. For those who need access to the tribot client because their scripts depend on it, go into the root gradle.properties file and set includeClient=true

Edited by Naton

View all my bots on the TRiBot store! (premium) (free)

Need assistance with any of my bots? Join the nScript support discord (link below).

nScripting.com    nScript Support Discord     Refund Policy

Automate your bot management through nRestocker and the TRiBot Bulk Launcher

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...