Change Log

Change Log

Retal Changes

I have reworked the retal system to now display who claims a retal (once it has been claimed).

I also added a new configuration option (FactionSettings -> BooleanOptions) which allows you to turn on stealth attacks showing up in the retal channel

Banking

The banking system has gotten a revamp - players can now cancel bank requests (by doing !banker cancel or /banker amount:cancel).

In order to do this, a change was made such that players can only have one open request at a time - if they want to open a second, cancel the first.

Faction Data Lookup

My next step on my (very) slow but sure quest to creating the ultimate faction bot, I have added !factiondata [category]

This command pulls up a paged list of all members in the faction, depending on specific states

The current supported states are "all", "ok", "okay", "fly", "flying", "hosp", "hospital" with all being default

The name / id is required

Example: !factiondata flying natural selection ii - That will list all members of NS2 that are flying

As always, if you have questions don't hesitate to dm me on Discord - Lazerpent#0001

New configuration option - wrong channel warning

added a new setting for if a message should be shown to a user if they run a command in the wrong channel.

This is the error "Please try your cmd again in #other-channel"

New configuration option - chain reminder times

The chain reminder times (previously set to 60s/30s) are now configurable.

The option can be found in Faction Settings. The first warning does not ping, the second does. **NOTE: BY DEFAULT, THESE ARE TURNED OFF**

If you want chain reminders (like you have been getting) go into faction settings and set them to 60s/30s (respectivly to first warning/second warning)

Banking URL

Torn released a new URL for banking that allows for the fields to be autofilled. This URL has been implemented into the bot, so banking is now 3 click (click URL, click "give" click "confirm".

Minigames

I have created a lot of minigames at this point (10), you can find the list by doing !minigame or /minigame help

See Also: Minigame

New configuration option - Update Channel

I added a new channel for updates (for example, this change log message!)

By default changelog messages will be sent here, but if you set an updatechannel they will be sent there instead.

New logging type - Chains

A new faction logging type has been added (non-factions can ignore this)

Chain logging - Periodic chan updates and warnings will be sent to the new Chain channel

if configured

These messages include

- A message when a chain is started (11th hit achieved)

- A message when a chain breaks including some stats about the chain

- A warning message when a chain is 60 seconds from breaking

- A warning message when a chain is 30 seconds from breaking. If the chain is of length 100 or more, this will also ping the Chain Role (if it is configured)

- A message when a bonus hit is 10 away (for example hit 240)

- A message when a bonus hit is achieved

- A update message on every 25th hit (hit 25, hit 50, hit 75 etc)

New configuration option - Revive Logging

There is a new channel type available for factions - revive logging.

As your members revive others it will be posted here. As always, this can be undefined.

Change to OC logging

There is a small change to how OCs are being logged - There is a new state I added called "available" which means that the OC is ready (I.E. can be initiated) but not all members are "Okay" (I.E. traveling or in hosp).

There will be a 2nd message for when the OC is ready (meaning all members are okay) and only this message will contain the ping for OC member roles.

This basically makes it so you will only get pinged when your OC is ready to go (and can be initiated at that moment)

If an OC is ready and pinged, then a member travels or gets hospitalized it will NOT ping again once that member is ready (to avoid quick hospital trips pinging multiple times)

As always, if you have questions: dm me Lazerpent#0001

New configuration option - Command Channel

Wow it feels like I just posted a changelog yesterday... lol

So I added a new type of channel you can configure with /configure - the command channel.

This channel allows for use of all non-lotto commands (such as !torn, !item, !travel etc).

You can set up to 10 command channels (or 0 its up to you!)

As always if you have questions about how to use the new /configure let me know on Discord Lazerpent#0001

New configuration option - Server Wide Default Reviver

The other new configuration option is a server wide default reviver. This one is fairly self explanatory, when set it allows users to simply run !r to get revived (and it will use the provider set as default)

Note: User defaults still override this default, and if a provider is provided (such as !r hela ) then that will be the provider used.

Configuration Command

I have added a new command designed for admins, /configure

This command allows you (being admins) to change bot settings as well as manage the factions the bot tracks via a UI without having to contact me and wait for me to update it each time.

The general layout of the command is fairly simple: you are presented with options, and you can select (using the dropdown menu) which setting to modify. Then, depending on which option, you can either update it, add another or potentially remove an item. The min / max varies per setting (for example, you have to have 1 api key added, but you could add up to 10 to split the load, but you can only have 1 lotto chanel (and you must have it))

Configuration Command Continued

There are also some boolean settings (true/false), which can be changed by simply clicking the toggle buttons.

Faction servers can also manage your factions (including adding/removing them as needed), under Faction Settings. Each faction also has per faction settings such as member roles and channels for logging.

For all the settings, when you are adding/updating it will prompt you to provide the new value (be it mentioning a channel / role, or providing a link, etc). API keys are the exception to this - to avoid you having to paste your API key in the channel, to add a key simply mention a user who has added their key using /api

More settings will be coming soon (I will put them in the change log of course).

As always, if you have questions, DM on Discord Lazerpent#0001

Faction Bot

I am (*still*) in the process of implementing a faction system into my bot - its design is to have specific features designed for factions.

If you have any requests for features you would like to see (an example that is already on the list is a banking command, and a channel with a log for retals), fill out the form below!

Form

If you come up with another idea later feel free to fill it out more than once!

Revive Command

I have added a new command! !revive / !r

It allows you to request a revive from a revive provider (currently supports NUKE, UHC, and HeLa with Imperium coming in a day or two)

Some providers support premium revives, you can request these with !pr or !premium revives

Other providers support external revives - meaning you can request a target be revived (note however you will be expected to pay for it)

You can set a default for yourself with !defaultprovider / !defaultreviver

The ability to set a server wide default is coming soon

As standard, pay your revivers what is required, or you (your torn ID) will get blacklisted from that provider

Lotto Lock

I added Lotto Lock, a system to make sure people do not interrupt lotto chains by members.

Upon a lotto finishing, the lotto runner has 50 seconds + 10 seconds for each lotto run during the chain to continue their lottos.

During this time, no one else can start a lotto.

After this time, if no lotto is run, it unlocks. It can be manually unlocked using !unlock

The First ID system is not locked by default, however this can be changed with !lockfid and !unlockfid

Added Lottos

There is a new lotto type, the added lotto! Supporting both money and item values, the added lotto adds to the prize for each entry.

For example, you can have an added lotto for 100k - so if 13 people enter, the total prize is 1.3M!

This also works for items, you can say "!sla vicodin x30" (the x amount is optional, the default is 1), and for every entry, 30 vicodin will be added to the total.

Slash Commands

Started adding support for slash commands

Currently supports firstid, starting lottos, NPC data, and competition.

Competition

Added !competition which allow you to lookup data about the current Torn competition. Can lookup overall information, or specific info about an @mention

Currently supports Elimination.

Faction and Torn Cache

Added !faction , which allows you to lookup data on a particular faction, based on id, @mention of player in the faction, or name

Added TornCache, which allows the bot to hold a list of (semi) up to date names & ids for factions and players.

This allows for reverse name lookup (for example !torn chedburn ). NOTE: The data is not guaranteed to be up to date, and names may be wrong.

If you change your name, please do use !torn to update your name

API Storage and Auto Send lines

A new feature has been added which allows for automatic send lines to be generated.

By using !api , you can add your API key to the bot ( only do in DMs), which will allow the bot to live generate send lines for lottos (without having to copy/paste)

To add your key, do !api for more details.

This update also sets up framework for an upcoming update targeted to faction servers using my bot.