forum

Twitch bot with osu! plugin - NuclearBot

posted
Total Posts
8
Topic Starter
Miss Clo
(I will stop updating this thread. Please refer to the GitHub repository for up-to-date information.)

Hello there!

NuclearBot is a Twitch bot with a basic graphical interface.
It is an open-source project under the A-GPLv3 license.

Starting from v1.1-pre, it has had a plugin system which can load plugins from external files as well as built-in plugins.
The reason I'm posting this in the osu! forums is because the first plugin that was made for this bot was an osu! stream helper.

As of now, the latest version is v1.1.3

Well, nothing much to add, without further ado, here is the thing!

Screenshots
I'll be posting more screenshots in the near future, don't worry...
Features
Completed:
  1. built-in osu! plugin (see Plugins box)
  2. bot start/stop chat message
  3. make the bot remember the last loaded plugin
  4. console area in the GUI
  5. a plugin system that can load from JAR files
  6. shutdown hooks, to prevent memory leaks even when process is terminated
  7. output to both stdout and a log file
  8. configuration file to store the authentication stuff
Work In Progress:
  1. an API, with documentation comments
  2. a simple GUI (currently only has Start/Stop/Restart/Changeplugin)
To Do:
  1. allow the bot's Twitch account to be different from the streamer's Twitch account
  2. moderator system, to allow third-party people to do system commands
  3. plugins for different games (although that's not this forum's topic hehe)
Built-in plugins
osu! bot:
  1. request command (supports beatmap, beatmap sets, and other URLs, with additional message)
  2. stats command (might add more info, idk.)
  3. now playing command (doesn't work for Mac OS X)
API
Coming soon. As soon as I get that script done to create JAR, commit source and create API JAR.
Thanks
peppy, for making and maintaining this awesome game!
Mikuia and Cookiezi, for inspiring me to make this bot.
Downloads

If you want to report an issue or request a feature, please use the GitHub platform.


Peace,
NuclearCoder ;)
Zozimoto
Seems Useful. Seems Fancy.
Topic Starter
Miss Clo
Major update v1.1-pre

A lot has changed!
  1. The now-playing command now works for Linux systems running on X, only you must install the xdotool package.
  2. I upgraded the whole I/O system, which now is fully multi-threaded, no more waits.
  3. With that I can finally start working on a proper GUI, so far you can only Start/Stop/Restart.
That's all for users' stuff.
Now for developers:
  1. I started building good bases for a future API, with javadocs all the way.
  2. The plugin system is now functional, with a built-in osu! plugin, and the ability to load JAR plugin files.
    I did not fully search for issues with the way I load JARs, with reflection and class loaders.
  3. When the API is out, I will put simple and advanced examples for plugin creation.
That's it for this update, that's a big update though ;)

https://github.com/NuclearCoder/nuclear ... g/v1.1-pre

Peace,
NuclearCoder ;)
Topic Starter
Miss Clo
Minor updates v1.1.1 and v1.1.2

Small additions.
  1. The bot now remembers the last plugin, and loads it on start.
  2. You can now load a built-in plugin from within the GUI.
  3. Added copyright, license and source code link to the GUI.
https://github.com/NuclearCoder/nuclear ... tag/v1.1.1
https://github.com/NuclearCoder/nuclear ... tag/v1.1.2

Peace,
NuclearCoder ;)
Topic Starter
Miss Clo
Minor update v1.1.3


Console added to GUI, compatibility down from 1.8+ to 1.7+
  1. Added console to the GUI. Auto-scrolls unless the caret is not at the end.
  2. Changed JRE compliance from 1.8 to 1.7. Had to remove lambdas.
https://github.com/NuclearCoder/nuclear ... tag/v1.1.3

Peace,
NuclearCoder ;)
Topic Starter
Miss Clo
I will stop updating this thread.
Please refer to the GitHub repository for an up-to-date bot.
Jesper
Does it have built in commands (eg. !skin !rank !song)?
Topic Starter
Miss Clo

- L I T H - wrote:

Does it have built in commands (eg. !skin !rank !song)?
It has a few at the moment, only !np !stats and !req
Please sign in to reply.

New reply