kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 332 forks source link

I go out when the blacklist is involved in the game function ? #2249

Open H2LJH opened 4 years ago

H2LJH commented 4 years ago

Sorry i can not English Is there a setting like this ? Ex ) const battle_name = ['a','b','c']; function Serch(username) { for(let i = 0; i < battle.length; ++i) if(username == battle_name[i]) quitgame();
}

InterestingIndeed commented 4 years ago

trunk\d2bs\kolbot\shitlist.json (add people to blacklist)

in char config:

To blacklist hostile players so they don't get invited to party you have to enable script.
Config.ShitList = true;
Config.UnpartyShitlisted = false; // Leave party if someone invited a blacklisted player.
H2LJH commented 4 years ago

New File Create Shitlist.json ? not find Shitlist.json

anime143 commented 4 years ago

in shitlist.json

{"shitlist":[in game character name]}

if file does not exist, try to declared hostility on your own runs. The file will then exist.