1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved How to push 2nd Bot?

Discussion in 'Developer Support' started by MatMad, Nov 3, 2018.

  1. MatMad

    Joined:
    May 8, 2017
    Messages:
    11
    Likes Received:
    1
    Can someone explain me how to add second bot? I can do it in my Project URL and password where I pushed my first bot? If, yes, how I will do it?

     
  2. Best Answer:
    Post #3 by Alqira, Nov 4, 2018
  3. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,606
    Likes Received:
    990
    All of your bots should be in the same project and go to the same svn.
     
  4. Alqira

    Alqira Eyyyyy Macarena

    Joined:
    Oct 24, 2018
    Messages:
    58
    Likes Received:
    10
    Just have one project for all your bots and push it all to the same repository. All of your bot manifests will be read and reflected in the bot store.
     
    CuppaJava likes this.
  5. CuppaJava

    CuppaJava cuppa.drink(java);

    Joined:
    Mar 13, 2018
    Messages:
    6,121
    Likes Received:
    1,378
    This is good advice. The most comprehensive way to structure it imo is one project with separate packages for each bot (along with packages for shared stuff if applicable).
     
  6. MatMad

    Joined:
    May 8, 2017
    Messages:
    11
    Likes Received:
    1
    For example it is look this?
    package.minningbot
    package.chickenkillerbot
    package.woodcuttingbot
    package.classforeverybot (without manifest file)
    Every package will have other manifest for each bot. When I push I will have 3 bot in bot store?
     
  7. Alqira

    Alqira Eyyyyy Macarena

    Joined:
    Oct 24, 2018
    Messages:
    58
    Likes Received:
    10
    My dir structure for the pro + lite versions of my herblore bot looks like this:
    upload_2018-11-5_21-36-14.png

    It doesn't matter what .java files exist in your repo, all that matters is the manifests. It probably makes sense to keep the manifests in bot-specific directories, but you could, for example, have them in the root. The important thing is that they point to the correct classpath.
     

    Attached Files:

    CuppaJava likes this.
  8. MatMad

    Joined:
    May 8, 2017
    Messages:
    11
    Likes Received:
    1
    Thank you. I think I understood.
     
    CuppaJava likes this.

Share This Page

Loading...