Jump to content

Local Scripts Not Appearing (I have script manifest)


Recommended Posts

import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import org.osbot.rs07.api.ui.Message;

import java.awt.*;

@ScriptManifest(author = "TEst", name = "Test", info = "Test", version = 0.1, logo = "")
public final class Test extends Script  {
    public final int onLoop() throws InterruptedException {
        return 0;

    public final void onStart() {

    public final void onExit() {

    public final void onMessage(final Message message) {
        log("Message Hook : A message arrived in the chatbox: " + message.getMessage());

    public void onPaint(final Graphics2D g) {
        g.drawString("Paint", 10, 10);

I compile it, goes into the OSBot/Scripts folder and I refresh my scripts and viola still none.



Link to comment
Share on other sites


58 minutes ago, Sibbernski said:

Check if your java language level has been set to 8

It wasn't but even still the problem persists



40 minutes ago, Khaleesi said:

Looks good to me! You sure its in the right folder?

I thought it did too, confusing right!


Still having this issue - here are my settings






Just saw that I don't have the right JDK version - changed it and still I'm having the problem

Edited by bigbob420
Link to comment
Share on other sites

16 minutes ago, Gunman said:

@bigbob420Pretty sure project SDK needs to be set to java 8 and in artifacts you don't put the osbot jar there and you're not exporting the script file. Open test element and double click the test out file

Thanks @Gunman - it was because I wasn't exporting the test compile output

  • Like 2
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...