Rust Multiplayerpiano bot.
Find a file
2025-09-09 10:17:36 +03:00
.cargo first commit 2025-09-09 10:15:15 +03:00
.sqlx first commit 2025-09-09 10:15:15 +03:00
migrations first commit 2025-09-09 10:15:15 +03:00
src first commit 2025-09-09 10:15:15 +03:00
.gitignore first commit 2025-09-09 10:15:15 +03:00
.gitmodules fix: mirror nitsua's midi player 2025-09-09 10:17:36 +03:00
Cargo.lock first commit 2025-09-09 10:15:15 +03:00
Cargo.toml first commit 2025-09-09 10:15:15 +03:00
README.md first commit 2025-09-09 10:15:15 +03:00
rust-toolchain.toml first commit 2025-09-09 10:15:15 +03:00

copper

Copper is a smart MultiPlayerPiano bot written in Rust.

It features Austin's (nitsua) midi parser and player, which is meant for high-performance and to be able to parse black midis.

Warning

Clone this repository with git clone --recursive https://git.sad.ovh/sophie/copper.

Features

  • 2 billion note per second parser with all modern midi features supported
  • Full economy system written using sqlx and postgres
  • Lots of generic MPP bot features such as following, moving between rooms, et cetera

Todo

  • Playlist has hardcoded Playlist
  • Get rid of all mentions of files.sad.ovh as it's my copyparty server, and make it customizable to other servers.

Running

  1. Requirements: Rust Nightly, should be automatically used when you do cargo run.
  2. cargo install
  3. Add config.hocon, example:
database {
    url: "postgres://user:pass@ip:port/database"
}
commands {
    prefix: "r"
    name: "Copper"
}
client {
    token: "token"
    ws: "wss://mppclone.com"
    room: "cheez"
}
  1. Simple as that, cargo run.