• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
New Wiki
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
DarkStat
Server public configs
POB Administration
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Disconnected
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum Discovery Unofficial Development
1 2 3 4 5 Next »
POB and player monitoring/alerting bot for Discord

Server Time (24h)

Players Online

Active Events - Scoreboard

Latest activity

Pages (5): « Previous 1 2 3 4 5 Next »
POB and player monitoring/alerting bot for Discord
Offline evanz
04-17-2019, 02:35 PM,
#21
Member
Posts: 1,951
Threads: 92
Joined: Jan 2013

(04-17-2019, 02:23 PM)dr lameos Wrote:
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
  Reply  
Offline dr lameos
04-19-2019, 10:13 PM, (This post was last modified: 04-20-2019, 07:53 AM by dr lameos.)
#22
Member
Posts: 1,249
Threads: 46
Joined: Jul 2008

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.

[Image: jXWPvRb.png]
  Reply  
Offline dr lameos
04-26-2019, 08:08 PM,
#23
Member
Posts: 1,249
Threads: 46
Joined: Jul 2008

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.

[Image: jXWPvRb.png]
  Reply  
Offline dr lameos
05-02-2019, 11:33 AM,
#24
Member
Posts: 1,249
Threads: 46
Joined: Jul 2008

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.

[Image: jXWPvRb.png]
  Reply  
Offline dr lameos
05-24-2019, 12:55 PM, (This post was last modified: 05-24-2019, 01:27 PM by dr lameos.)
#25
Member
Posts: 1,249
Threads: 46
Joined: Jul 2008

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.
[+]Fixes
  • 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
[+]Changes
  • !level command changed to !poblevel
  • !addbase command changed to !add base
  • !rembase command changed to !rem base
[+]New functionality
  • !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.
[+]PIRBOT commands and options
  • !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.

[Image: jXWPvRb.png]
  Reply  
Offline Mark_Brown
06-05-2019, 09:52 AM, (This post was last modified: 06-05-2019, 09:54 AM by Mark_Brown.)
#26
Innovative Evacuee
Posts: 694
Threads: 79
Joined: Jun 2010

dr lameos

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"

[Image: Final_Sig_US_2_blue_ship.png]
[Image: THsCLuA.png][Image: fnPLZH6.png][Image: 26PSva8.png][Image: RALsZal.png]
Reply  
Offline dr lameos
06-05-2019, 10:06 AM,
#27
Member
Posts: 1,249
Threads: 46
Joined: Jul 2008

(06-05-2019, 09:52 AM)Mark_Brown Wrote: dr lameos

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-

Example:
!baseloc Sirius Base Construction,Texas

[Image: jXWPvRb.png]
  Reply  
Offline Mark_Brown
06-05-2019, 10:24 AM,
#28
Innovative Evacuee
Posts: 694
Threads: 79
Joined: Jun 2010

(06-05-2019, 10:06 AM)dr lameos Wrote: 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-

Example:
!baseloc Sirius Base Construction,Texas

Yeah I've added enemies to our lists that's worked perfect. and ah I kept forgetting the comma ,

Thanks for the swift feedback
Cheers
Bellck

[Image: Final_Sig_US_2_blue_ship.png]
[Image: THsCLuA.png][Image: fnPLZH6.png][Image: 26PSva8.png][Image: RALsZal.png]
Reply  
Offline kerfy
06-07-2019, 03:52 PM,
#29
Imperial Provisioner
Posts: 194
Threads: 5
Joined: Jul 2017

trying to add a zoi. keep getting errors. could o get an example of the exact syntax to add , say omega5 or something..? I can not get it to work.
Reply  
Offline dr lameos
06-10-2019, 08:53 AM,
#30
Member
Posts: 1,249
Threads: 46
Joined: Jul 2008

!add systems Omega-5
or
!add systems Omega-5,Omega-3,Omicron Gamma,etc

[Image: jXWPvRb.png]
  Reply  
Pages (5): « Previous 1 2 3 4 5 Next »


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2025 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode