Difference between revisions of "Items.php"

From Bebot Wiki 2
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
====== Items ======
 
====== Items ======
 +
  
 
==== Description ====
 
==== Description ====
  
 
Shows items corresponding to the search word(s) on !items word1 (+ optionnal:) word2 word3 (etc)
 
Shows items corresponding to the search word(s) on !items word1 (+ optionnal:) word2 word3 (etc)
 +
  
 
===== Notes =====
 
===== Notes =====
  
 
This module calls external servers for information, indeed different on AO and AOC.
 
This module calls external servers for information, indeed different on AO and AOC.
 +
  
 
===== AO =====
 
===== AO =====
 +
 +
The command is just to search for item result(s) based on keyword(s).
 +
 +
Option :
  
 
CIDB: What is HTTP(s) Central Item Database URL (Bebot.link by default, or your prefered mirror) ?
 
CIDB: What is HTTP(s) Central Item Database URL (Bebot.link by default, or your prefered mirror) ?
 +
 +
-> If you want to host your own API you may use this one https://github.com/bitnykk/ao-cidb-bebot
 +
  
 
===== AoC =====
 
===== AoC =====
 +
 +
There is a set of commands for searching result(s), autosubmit new item/recipe.
 +
 +
Options :
 +
 +
Autoreply: Automatically reply when new item has been submitted to database?
  
 
Autosubmit: Automatically submit new items the bot sees to the items database?
 
Autosubmit: Automatically submit new items the bot sees to the items database?
  
 
CIDB: What is HTTP(s) Central Item Database URL (MeatHooks Minions by default, or your prefered mirror) ?
 
CIDB: What is HTTP(s) Central Item Database URL (MeatHooks Minions by default, or your prefered mirror) ?
 +
 +
-> If you want to host your own API you may use this one https://github.com/bitnykk/aoc-cidb-bebot
  
 
ItemSearch: What is CIBD inner path to the Item Search ; by default from Meathook's API value is : aoc_items/itemdb_botsearch.php
 
ItemSearch: What is CIBD inner path to the Item Search ; by default from Meathook's API value is : aoc_items/itemdb_botsearch.php
Line 24: Line 42:
  
 
LogURL: Write all URL's used to the log file.
 
LogURL: Write all URL's used to the log file.
 +
 +
ListenPublic: Does the bot listen to public channels (Trial, NewbieHelp, etc). Restart bot if you change this value.
  
 
Passkey: Passkey used to access the item database
 
Passkey: Passkey used to access the item database

Latest revision as of 11:50, 16 March 2024

Items[edit]

Description[edit]

Shows items corresponding to the search word(s) on !items word1 (+ optionnal:) word2 word3 (etc)


Notes[edit]

This module calls external servers for information, indeed different on AO and AOC.


AO[edit]

The command is just to search for item result(s) based on keyword(s).

Option :

CIDB: What is HTTP(s) Central Item Database URL (Bebot.link by default, or your prefered mirror) ?

-> If you want to host your own API you may use this one https://github.com/bitnykk/ao-cidb-bebot


AoC[edit]

There is a set of commands for searching result(s), autosubmit new item/recipe.

Options :

Autoreply: Automatically reply when new item has been submitted to database?

Autosubmit: Automatically submit new items the bot sees to the items database?

CIDB: What is HTTP(s) Central Item Database URL (MeatHooks Minions by default, or your prefered mirror) ?

-> If you want to host your own API you may use this one https://github.com/bitnykk/aoc-cidb-bebot

ItemSearch: What is CIBD inner path to the Item Search ; by default from Meathook's API value is : aoc_items/itemdb_botsearch.php

ItemSubmit: What is CIBD inner path to the Item Submit ; by default from Meathook's API value is : aoc_items/itemdb_botsubmit.php

LogURL: Write all URL's used to the log file.

ListenPublic: Does the bot listen to public channels (Trial, NewbieHelp, etc). Restart bot if you change this value.

Passkey: Passkey used to access the item database

RecipeSearch: What is CIBD inner path to the Recipe Search ; by default from Meathook's API value is : aoc_items/itemdb_botrecipesearch.php

RecipeSubmit: What is CIBD inner path to the Recipe Submit ; by default from Meathook's API value is : aoc_items/itemdb_botrecipesubmit.php