Skip to main content

Initial setup

Install the JAR

Place the release JAR in plugins/ and start Paper once. CoreDSC creates:

plugins/CoreDSC/
├── config.yml
├── messages.yml
├── secrets.yml
├── telemetry.yml
├── modules/
├── bot/
├── guis/
└── backups/

Stop the server before editing the initial configuration.

Configure the token

Linux shell:

export COREDSC_BOT_TOKEN='your-token'
java -jar paper.jar nogui

systemd:

[Service]
Environment="COREDSC_BOT_TOKEN=your-token"

Set the guild

config.yml
discord:
enabled: true
guild-id: 123456789012345678
command-registration: guild

Keep the ID as a Discord snowflake. Do not use the guild name.

First start

Start Paper and run:

/coredsc doctor
/coredsc status

The core and storage should be ready. Discord should resolve the configured guild before guild-scoped commands are registered.