#discord #rpc #ipc

bevy-discord-presence

Discord presence plugin for the Bevy game engine

7 releases

Uses new Rust 2021

0.3.3 Aug 5, 2022
0.3.2 Jun 18, 2022
0.2.2 May 2, 2022
0.2.0 Apr 21, 2022
0.1.1 Apr 17, 2022

#368 in Game dev

Download history 22/week @ 2022-04-22 27/week @ 2022-04-29 34/week @ 2022-05-06 82/week @ 2022-05-13 21/week @ 2022-05-20 18/week @ 2022-05-27 115/week @ 2022-06-03 16/week @ 2022-06-10 26/week @ 2022-06-17 4/week @ 2022-06-24 12/week @ 2022-07-01 44/week @ 2022-07-08 15/week @ 2022-07-15 26/week @ 2022-07-22 13/week @ 2022-07-29 38/week @ 2022-08-05

98 downloads per month

MIT license

55KB
999 lines

Bevy Discord Presence Plugin

crates.io crates.io Bevy tracking docs.rs

A simplistic bevy plugin for discord presence integration within the bevy game engine

Installation

Add this to your Cargo.toml:

[dependencies]
bevy-discord-presence = "0.3"

or run:

cargo add bevy-discord-presence

if you have cargo-edit installed

Example

use bevy::prelude::*;

use bevy_discord_presence::config::{RPCConfig, RPCPlugin};

fn main() {
    println!("hello world!");
    let mut app = App::new();
    app.add_plugins(DefaultPlugins);
    app.add_plugin(RPCPlugin(RPCConfig {
        app_id: 965125975941709834,
        show_time: true,
    }));

    app.run();
}

More examples can be found in the examples directory.

Changelog

See CHANGELOG.md

Contributions

See CONTRIBUTING.md

Dependencies

~10–19MB
~358K SLoC