Autojoin

Chat about the Ashita v3 project here.
Post Reply
Dutton
Posts: 4
Joined: Sat Apr 29, 2017 12:33 pm

Autojoin

Post by Dutton » Mon Feb 18, 2019 12:58 pm

I'm wanting to set autojoin to decline party/alliance invites except for a few characters I whitelist. I thought I saw an explanation for this somewhere but now I can't find it. Right now it accepts invites from my characters but I sometimes get unwanted cold invites and wish it to automatically deny them. Thanks!
Image
User avatar
atom0s
Site Admin
Posts: 432
Joined: Sat May 14, 2016 5:13 pm

Re: Autojoin

Post by atom0s » Mon Apr 15, 2019 11:37 am

You need to edit the settings file that AutoJoin creates. The basic file looks like this:

Code: Select all

{
    "decline": [],
    "default": "join",
    "ignore": [],
    "join": []
}
This should be located in: <Path To Ashita>/addons/autojoin/settings/settings.json

If you want to whitelist people, then you would want to set "default" to "decline" and then add player names to "join" such as this:

Code: Select all

{
    "decline": [],
    "default": "decline",
    "ignore": [],
    "join": ["Playerone", "Playertwo", "Playerthree", "Playerfour"]
}
Lead Ashita Developer

Want to donate to say thanks?
https://www.paypal.me/atom0s
Post Reply