Comments (16)
its been working pretty well now good job
from ahhh-bot.
Yea those embeds could use some work. Will Improve it in the coming weeks.
from ahhh-bot.
@ShadyGame You can set debug to true in the config.json to show more logs. Whitelist data and every other data is stored in data.json.
The Whitelist check is done every 5 seconds. You can change the value here:
Ahhh-Bot/services/rconService.js
Line 478 in babb706
I've set it to 5 seconds as it seems to be the sweet spot for getting the data from the server and to prevent players with HDD or slower storage from getting stuck in a loading loop because they are kicked even before the game loads.
from ahhh-bot.
/listplayers is a command that is already planned, should be implemented soon.
Custom welcome or timed message is a good suggestion, will try to make it customizable.
from ahhh-bot.
Nice! thank you for your work on this bot.
There no log right? because for some reason the bot stops working sometimes, if the server restarts the bot resumes or do i have to restart it aswell?
Also it takes some time to start sending logs and updating status or its just mine?
from ahhh-bot.
There are Game logs and Whitelist Logs. You can configure them using /serverconfig
There were few instances where the bot stops working randomly when the bot or the server restart, this has been fixed now.
About the logs, currently the bot updates status message every 10 seconds and checks for whitelist and new player join/leaves every 5 seconds(this is when the logs are sent to discord as well). I've set these to avoid too much strain on the server and to avoid being rate limited by discord.
from ahhh-bot.
Would be nice in the players log to have the Steamid and player ID aswell, i need to ban someone thats not online, and im not able because i dont know any of those.
from ahhh-bot.
Also, i banned a player on discord and nothing happened, also, when you try to ban it will display only the steam id, would it be possible to show ingame name aswell? i need to ban a offline player and i dont know his steamid
Also another suggestion for logs would be Ip adress, ive been dealing with more cheaters lately its a pain
from ahhh-bot.
I don't think its possible for the bot to get the player IP. If you are facing a lot of cheaters try using an Anti Cheat like Palguard.
from ahhh-bot.
im using whitelist now, and using pm2 to run the bot, but now i get errored, any way to see why? any log?
It seems i can only whitelist one person, after that i get the error "this interaction failed" on discord trying to add to whitelist
where is the whitelist data stored?
EDIT: after some tries i could add another person to whitelist, also i noticed it takes a few seconds to kick the person, hopefully isnt enough time for a cheater to do something. could be possible to kick faster?
from ahhh-bot.
Even if i turn off the script i still get the joined notifications, is that normal? because before i had translated the joined notification, and join after translating it still in english, hows that possible?
Where i can see the more logs you talked about? "customStatusMessage": "" is for whitelist message?
Still having trouble with the whitelist player button on discord, but with the command /addwhiltelist works
Since I enabled the whitelist now I get 3 joined or left messages for each player.
also thanks for your reply's and patience
from ahhh-bot.
Are you using the latest version? I think you have multiple instances of the bot running. How are you starting the bot?
from ahhh-bot.
That's what I thought , I even restarted the VPs, I use pm2 start index.js, there's only one running, I think when you use white list, you get 2 messages when joined, and they are different, one just says player joined, the other one it's the player joined the server, maybe one it's just the first time you joined dunno .
from ahhh-bot.
Did you try running pm2 ls
and checking how many instances are running?
from ahhh-bot.
Its fine now i dont know what happened, does this bot affect server FPS?
from ahhh-bot.
Its fine now i dont know what happened, does this bot affect server FPS?
No, it shouldn't affect the server FPS at all.
from ahhh-bot.
Related Issues (20)
- Where can I find a discord bot Token? HOT 5
- Update ? HOT 4
- Rate limit api ban HOT 3
- Failed To Add Server HOT 11
- Join/Leave logs and Server Status HOT 7
- Error when fill the /serverconfig HOT 1
- More discord alerts HOT 2
- not working with new update HOT 4
- How to find playerUID add whitelist I don't know playerUID for new player to my server HOT 2
- Bot offline HOT 9
- Send Gamelog in Thread. HOT 3
- cant add my server, idk why HOT 1
- Cannot remove whitelist HOT 2
- What name for .env file?? HOT 1
- People log in with discord name HOT 1
- slash commands do not work ! HOT 5
- Docker for arm
- Add an option to display game chat between players to discord. HOT 1
- Joined and left message BUG
- Just added bot to my server, used it a few times, then it stopped responding.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ahhh-bot.