xF1 Add-on - Postbot - Automated Replies to Triggers | NulledTeam UnderGround | The Best Scripts Site In The World
Postbot - Automated Replies to Triggers

xF1 Add-on Postbot - Automated Replies to Triggers 1.0

No permission to download
  • Read Our Rules

    Dont forget read our rules Nulled Team UnderGround Rules

  • You may not say thanks or replied bad language in a thread - Your reply will be removed and warning! You must be like us "overview" in the resource. You will be access to download in FREE SECTION ONLY! DO NOT PREMIUM SECTION! Is only upgrade to up account.
  • Please support our site and click on the advertised
  • Complete Installation Service

    Review Our XenForo Complete Installation Service
  • Multiple Accounts

    Dont forget we not allowed Multiple Accounts, so all of your accounts as well as your IP will ban

Compatible XF Versions 1.x
1.3, 1.4
Postbot add-on for XenForo
by Bloodcinder

This add-on allows your forum to automatically respond to trigger codes posted by your users in threads using PHP callbacks. This add-on comes with several example triggers, and I will release other triggers in "packs" that you can download. Developers can make your own triggers by defining them in the admin control panel and providing an appropriate PHP callback script.

For an example, if the user enters:
I'm going to see what the moon phase is.
The postbot will respond with something like: (see example)
The moon phase is currently first quarter. In 8 days it will be full moon.​
You may demo this add-on in this thread at my website. Guests can look and post, but you must register and confirm (or ask for manual approval) if you want to try the triggers. There are no screenshots here at XenForo, but check the links to the examples where you can see the triggers in action.

The postbot will only respond to brand new, unedited posts, and the postbot generates a real post separate from the original user's post. This means that users can't tamper with the results unless they have moderator permissions. This is useful when the result the postbot gives needs to be certifiably original, such as dice results in a game.

Triggers start with a ! by default and can have any alphanumeric name. They are only recognized at the start of a line anywhere within the post. As soon as a user submits a post, the forum will check to see if there is a trigger in it and respond as expected. It happens instantly, so that the automated response appears right after the user's new post.

Note that triggers may only be used by users/groups with permission to use triggers in nodes that permit triggers. By default, this will be nobody anywhere. You must at least add trigger permission to the Registered group for anybody to be able to use triggers.

This add-on adds the following to your XenForo installation...
  • A new [Applications -> Postbot] menu in the admin control panel. Here you can configure each of the triggers available or add new ones. You can import and export triggers using XML.
  • A new admin permission for managing the postbot triggers.
  • A new user/node permission for allowing the user of triggers.
  • A new option [Messages -> Postbot Username] to specify the username that the postbot will post as.
  • A new option [Messages -> Trigger Prefix Format] which lets you pick the default ! for starting the triggers or lets you select from some other options including / and some standard commenting techniques.
  • A new option [Performance -> Defer Postbot Responses] which delays the postbot's responses until XenForo is idle. This is for very large boards to prevent slowdown but means that the postbot's responses don't appear immediately.
  • The username associated with your postbot will have all of its posts "minimized" when viewing threads, to take up less space. The avatar area will be shrunk and can be exposed by hovering over it.
This add-on includes the following stock triggers...
  • !help displays help information about another trigger (example)
  • !debug allows developers to see data related to the trigger
  • !moon shows the current moon phase
  • !8ball generates a Magic 8-Ball response
  • !shuffle shuffles a list and displays some or all of them (example)
The following trigger packs are currently available with more triggers for you to import...
Triggers are designed to respond with messages to the user, but they can be configured to do almost anything that a PHP script can do, including checking permissions or running special automated tasks. For example, the !debug trigger refuses to work for anybody without the administrator permission to manage triggers, and the !moon trigger connects to a REST API to retrieve its data.

If you need a trigger that you cannot develop on your own, you can contact me about developing it for a negotiable fee. However, the postbot system itself is free to use. You are also welcome to develop trigger packs and distribute them. If you do so, please let me know I can include them in the list of available trigger packs above.
First release
Last update
0.00 star(s) 0 ratings

Share this resource