Skip to content

Releases: yoinc-development/CounterStrikeBot

v3.5

18 Nov 18:00
66407a5

Choose a tag to compare

Bugfixes

  • replaced all checks for users by username to users by discord id
  • changed DataService logic to create and close a new connection each time a method is called

v3.4

18 Oct 09:53
5e7cf37

Choose a tag to compare

Bugfixes

  • removed Gregflix
  • for the collection task, the discordID is now being checked in our stored records and not the username (usernames can be changed)

v3.3

24 Sep 10:00
13a6776

Choose a tag to compare

Bugfixes

  • removed formatting around message in "contactGreg" method to prevent follow-up issues during react event
  • don't allow slash commands to be executed in private channels or if the event was not triggered in a guild
  • updated pom.xml
  • updated README.md
  • various localization updates
  • sort entries by title for weekly report

v3.2

20 Sep 22:05
689f4f3

Choose a tag to compare

New features

  • A new feature has been added for selected users (Gregflix). It has no connection to Counter Strike and for users to use it, they have to be manually approved.

Logic changes

  • After each restart scheduled tasks will be delayed until the next full hour. This is to prevent repeated collection tasks requests to the database after each restart (for example during the development phase). It would be recommended to restart the application close to the next full hour to ensure functionalities (especially the retake join task).

Bugfixes

  • added missing localization declaration for teams event
  • removed sout messages for scheduled tasks
  • changed collection task timer from an hour to a day
  • moved declaration and initialization of MessageService to StartUp (like DataService)
  • added square brackets (containing application and class name) to each sout message for clearer readability on cyberance
  • moved urls to properties
  • removed "ConsoleUpdate" class (will be recreated as a task)

v3.1

12 Aug 01:53
5aa2a6c

Choose a tag to compare

This is what happens when you don't properly test your application.

Bugfixes

  • added locale to "sendMessageInCorrectChannel" method to display "info.messagesent" in user's language
  • included a userInDB check when collection task runs to prevent user_ids in DB to add up on new creation (inserting already existing data to DB does not save it, but increases user_id)
  • send retakeStats in correct channel (method "handleStatsEvent" in "RetakeService") for home guild

v3.0

12 Aug 00:55
5fb1f5c

Choose a tag to compare

It's v3.0 and this time, I'm using correct capitalization - at least I will try my best.

New features

  1. Retake is back! It comes with loads of new features:
  • informing users about the server being used (RetakeWatchdog)
  • displaying the user's retake stats ("retake stats" user command)
  • requesting the server status ("status" command)
  1. Teams! No more external sites are needed to set up teams for matches. Simply be in a voice channel and type "/teams" including the amount of teams you need (no number falls back to a default of 2 teams).
  2. Implementation on a connection to Faceit has started but has not been completed.

Logic changes

  • Removed lists with IDs mentioned in the code. All users and IDs are now saved in the database too. References to wow entries are now only possible through f_user_id (foreign key to "users" table). No more lists!
  • Included an "initialdata.sql" file to import in case the database has to be dropped. VIPs only!
  • Added more "sout" calls for debugging purposes. No exception should kill the bot. No promises!
  • Removed the whole "dedicatedChannel" / "dedicatedVoiceChannel" / "allowedRoleId" logic. This only applied for a specific guild which is now being referenced. All events taking place in one specific guild will include some message logic. All other servers are allowed to execute commands anywhere / by anyone.
  • Created a "MessageService" based on the clean up of the previous point.

Bugfixes

  • Accidentally flood the database with multiple wows in case a user decides to replace his wow with a better one. Awkward!

Special thanks to @Aatha-Sivas for joining this project on this release and his exceptional work spirit and massive drive to finish this release.

v2.2

11 Jun 15:14
d4a495e

Choose a tag to compare

v2.2 is now live. This version is now running 24/7 via Cyberance.

new features

  • added data persistence for wow feature. videos are now saved and won't be deleted in case the bot restarts.

bugfixes

  • localization issues

v2.1

05 Apr 13:54
eca0d1b

Choose a tag to compare

v2.1 is now live.

new features

  • a stable version of "compare" has been released.
  • wow! a new feature called "wow" has been added. it enables users to set their own highlight video (youtube or discord) on themselves. other users can request to see highlights across different servers. isn't that cool? wow!
  • excluding "map" all commands now return embed messages. this was done for a cleaner chat and to prevent formatting issues due to weird user names

bugfixes

  • removed a check for command permissions at incorrect position
  • added a dedicatedchannel property to allow userinteractionevents to be called across the server, but if needed to send the responses only to one channel. if no property is set, the response will end up in whatever channel the user is currently in.
  • various localization issues

v2.0 - CounterStrikeBot

12 Jan 15:47
f781ab5

Choose a tag to compare

This release contains the first stable version of the newly renamed "CounterStrikeBot". Given the current waiting period for a stable SourceMod release this bot will start offering different services to maintain a sense of purpose on Discord servers.

v1.1

24 Jul 13:50

Choose a tag to compare

small update to change delay message to show the actual amount of time having to wait. implementation of ftp has started and is included but does not work