collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
* Search

* Board Stats
  • stats Total Members: 987
  • stats Total Posts: 18327
  • stats Total Topics: 2493
  • stats Total Categories: 7
  • stats Total Boards: 33
  • stats Most Online: 500

Author Topic: Secured public AO bot  (Read 4023 times)

0 Members and 1 Guest are viewing this topic.

Offline bitnykk

  • Administrator
  • ********
  • Posts: 48
  • Karma: +0/-0
Secured public AO bot
« on: September 29, 2020, 04:29:49 pm »
By default, and exception made for OWNER/(SUPER)ADMIN/LEADER, your bebot will see anyone unknown to him as ANONYMOUS for obvious security reasons.
But you may need to open it for public use.

This could be done by changing code and/or database access level of, e.g., !join command as anyone will be seen as GUEST once in chat, thanks to the corresponding option under !settings security ... but this way of doing could be
problematic, hence we don't recommend ...


Better recommended way for this is to filter by the !security/!flexible system and set of commands. Let's take an example that you need to set your bot opened to anyone over level 100 :
1/ create a new group, eg => !addgroup anonjoiners public
2/ allow this group to receive flex condition(s) => !flexible create anonjoiners AND
3/ set the wanted condition(s), eg => !flexible condition add anonjoiners level > 100
4/ set the group level to GUEST => !security levels => click on GUEST link in front of anonjoiners (that was ANONYMOUS by default, for security reaons).
From now on, you bot will accept any joiner over level 100.

NB : on the same principle you could cumulate several conditions (either under AND otherwise OR associativity) checking over specific rank(s), player(s), org(s), profession(s), etc.

You may even want to include some sided check(s) :
5/ register the group => !set Flexible_Security Guest_Group anonjoiners
6/ (re)set the level => !minlevel 100
7/ set the side(s) => !faction neutral
From there, you bot would only accept neutrals over level 100.

Feel free to check these commands notices (with !help commandname) to find the best way to make your own settings according to your needs !
« Last Edit: September 29, 2020, 05:42:41 pm by bitnykk »

 

* Recent Posts
0.7.x updates for AO by bitnykk
[February 16, 2021, 05:39:03 pm]


0.7.x updates for AoC by bitnykk
[February 16, 2021, 05:38:51 pm]


AO Bots - discord server by bitnykk
[January 31, 2021, 03:50:48 am]


AO public Raidforall by bitnykk
[January 18, 2021, 05:02:22 pm]


Assistance with AAmon by bitnykk
[January 03, 2021, 06:21:18 am]

* Who's Online
  • Dot Guests: 24
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2021, SimplePortal