Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users

    Recommended Posts

    Posted

    Hello!

    I was wondering if there's any way to obtain the list of all the current OSRS ingame items and their properties, like ID, name, Members...

    I could use this but I'm quite sure there's somehow a way to access this information using Dreambot's api.

    Thank you!

    Posted

    There's no lists like that in the API. However, if you want to know details of a specific item instead, you can create an instance of the Item class by passing in the item id. Then use the methods available in the Item API.

    For example:

    // Item(int itemId, int stack)
    new Item(995, 1).getName(); // "Coins"
    new Item(995, 1).isStackable(); // true

     

    Posted
    On 7/3/2023 at 8:49 PM, Hashtag said:

    There's no lists like that in the API. However, if you want to know details of a specific item instead, you can create an instance of the Item class by passing in the item id. Then use the methods available in the Item API.

    For example:

    // Item(int itemId, int stack)
    new Item(995, 1).getName(); // "Coins"
    new Item(995, 1).isStackable(); // true

     

    Right! Thank you!

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.