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.