Quote:i did that already, in my installed discord i have my own channel,
if i click your link it loads the browser version of discord, because im clicking it, in my firefox browser
So select your server and then authorize - it'll then tell you to close your tab and the bot will be on your server and usable through the client. You need to use the browser to authorize it though.
my server doesnt show, in the browser, as you can see in the pic
Hi folks,
When a base was destroyed today this bot stopped working. I’m away for Easter and will pick this up next week.
EDIT: On review, it looks like the alerting may still be working, whilst responding to commands isn’t.
The bot has been updated and should be more reliable now.
Changes:
The bot was using Discord.io (as per the tutorial I had followed) and kept silently disconnecting after a few days. Ive moved it to Discord.js as a more supported framework. This has so far appeared to be more stable in testing.
Code structure changes.
Following some feedback, the bot has been updated with the following changes:
!mention userID/RoleID/everyone/here - You can now set who gets mentioned by the bot when the base health gets low or when the base is under attack. The default is @here (previously @everyone). Note that the UserID/RoleID are ID numbers and not names - You can get these by typing into the chat \@name
A notification is now sent when an attack on a base ends, unless you have all alerts turned off.
Pobbot has been updated, and it’s fairly substantial. Several fixes, some command changes, new commands, and an entirely new module! Many thanks to RS/RFP for testing, Alex for the API key and mrhudson for the discoverygc npm module.
If a base went from being attacked to static health (which logically shouldn’t ever happen but POB plugin lol) the attack ended message would repeat. Added a line to deal with this scenario.
If a channel/server was deleted, or kicked Pobbot, which had Pobbot active, it would crash the bot. Added a statement to check that a channel can be used before conitnuing.
Some special characters could cause problems, now escaping these out.
If the forum or Pobbot’s network connection became unavailable it could produce false alarms. It’s now confirming when the last successful scan was before sending an alert
!baseloc basename,system - set a location for your base. If the base is attacked, it will report on what players are in that system.
!config -returns the config which is applied on the channel
!ai message - just a bit of fun really, send it a message and see how it responds. This is managed by a Rheinlander so may be a bit biased.
!wiki item Returns a link for the discovery wiki site with your search item.
Pobbot now autocleanups the configuration messages that it sends. If it has the “Manage Messages” permission then it will also cleanup the configuration commands you send it. I’m aware that some people didn’t like all the noise in the channels.
“PIRBOT” module added
PIRBOT:
This module has been added to Pobbot. Pirbot scans the player list, categorises players and can send alerts if you set thresholds. If you are going to use it I’d suggest putting it in it’s own channel just to be neater, but it isn't a requirement. Pirbot sends a message for each category, and then edits these messages instead of sending new ones. If you don’t want to use this, just don’t use any of the commands below.
!add enemies tag/name
- Adds players to your enemies category. These will be displayed in your enemies category if they are in your ZoI.
!add regions/systems name
- Set up a ZoI, then your enemies will only show/alert if within this. If not defined, then your ZoI is sirius-wide.
!add restricted name
- Add a restricted zone (for example Alaska, Thuringia etc.) It will display players/alert if players are here. Players which are in your “Friends” category will not be included.
!add friends tag/name
- Friends will show in your Friends category if online (I may add a ZoI option for this), they won’t be included in the Restricted Zone category.
!add faction tag/name
- If you set this and have set alert thresholds they will only alert if a player with this tag/name are online
With all add commands you can add multiple items at a time by using commas. Example:
!add enemies LN,LSF,LPI
!rem base/enemies/regions/systems/restricted/friends/faction tag/name
- You can only remove one item at a time. If you really mess up !rempobbot will remove your channel's configuration so that you can start again.
!pirlevel on/off
- Enables/Disables the display of the Friends category
- Default = on
!enemynumber number
- An alert is sent if number of enemies >= this number
- Default = 0 (off)
!restrictnumber number
- An alert is sent if the number of players in restricted zone >= this number
- Default = 0 (off)
!leavelog on/off
-Send a message when somebody leaves your restricted area (so that you can track who has been there).
- Default = off
!active
-Tells you the most active zones in Sirius, if you have defined a ZoI, it will tell you what players are in this ZoI
!bump
Removes the existing messages for the three categories, and sends new messages for them which are then updated. Useful if people chat in this channel so that you don't have to scroll up.
Note, I’m expecting some network outages on the morning of Sunday 26th May, so the fixes should reduce the likelihood of false alarms during this.
Thank you for posting and creating this POB Bot, as a market leader of many player operated bases having this helps me manage them all when and if I forget to maintain them.
I find the alerts for the base under attack either not working or I'm not doing the codes correctly, setting zoi and enemies who keep renaming.
Is there any chance you could code in for any "person" that has certain "ID" or no?
also this code: !baseloc basename,system
- Could you write one out i.e if i did !baseloc Sirius Base Construction Texas
Would it work?
Thank you for posting and creating this POB Bot, as a market leader of many player operated bases having this helps me manage them all when and if I forget to maintain them.
I find the alerts for the base under attack either not working or I'm not doing the codes correctly, setting zoi and enemies who keep renaming.
Is there any chance you could code in for any "person" that has certain "ID" or no?
also this code: !baseloc basename,system
- Could you write one out i.e if i did !baseloc Sirius Base Construction Texas
Would it work?
Brilliant work, keep it up.
Bellck "Mark_Brown"
Hi Bellck,
Thanks for the kind words.
Do you mean when a base is attacked you have not been notified? Can you give an example?
It can be done by name only. You can add enemies by tag also e.g. !add enemies GG-