DiSky

The best Skript add-on for Discord management! Slash commands, interaction, components, modal, and much more are available!

Редакция NLZONE · 3 мин чтения · 1 просмотр
DiSky
Скачать DiSky1.10 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

The best Skript add-on for Discord management! Slash commands, interaction, components, modal, and much more are available!

  • Тип: мод
  • Загрузчик: bukkit, folia, paper, purpur, spigot
  • Версии Minecraft: 1.10 – 26.3
  • Скачиваний на Modrinth: 34 738

Подробно

DiSky is a Skript addon for writing Discord bots in Skript, on your Minecraft server. It is built on JDA: anything a JDA bot can do, DiSky aims to expose as Skript syntax.

This branch is DiSky 5, a rewrite of DiSky 4. It is in public beta: most of DiSky 4 is covered, the syntax is close but not identical, and V4 scripts need a few changes (see the migration guide).

- Syntax reference: atlas.disky.me - Porting DiSky 4 scripts: migration guide - Download: Modrinth - Bugs and requests: GitHub issues

- A Paper server, 1.21.5 or newer (or a Paper fork such as Purpur) - Java 21 or newer - Skript 2.16.1 or newer, with use type properties: true in its config.sk (the default) - A bot token from the Discord Developer Portal

1. Put DiSky- .jar in your server's plugins/ folder, next to Skript. 2. Restart the server.

DiSky has no config file. At each boot it writes plugins/DiSky/disky-syntax.json, a list of every syntax it registered; you don't need to touch it.

DiSky reports anonymous usage statistics and errors to FastStats. Nothing is sent during the first start: submission begins after the next restart, so you can opt out beforehand.

- Usage: a random server id (regenerated if you delete it), the DiSky version, the Minecraft version, the server software and its version, online mode, the player count, the Java vendor and version, the OS name, version and architecture, and the CPU core count. - Errors: errors raised by DiSky syntaxes at runtime (the exception type, its message truncated to 500 characters and a shortened stack trace).

No IP address, player data, bot token, Discord content or script source is collected.

To opt out, edit plugins/faststats/config.properties (shared by every plugin that uses FastStats) and restart:

- enabled=false turns FastStats off entirely; - submitMetrics=false stops usage statistics only; - submitErrors=false stops error reports only.

The JVM flag -Dfaststats.enabled=false also turns it off.

Save this as plugins/Skript/scripts/bot.sk, put your token in it, and run /sk reload bot:

applescript options: token: "YOUR-BOT-TOKEN"

on load: set {bot} to a new discord bot set token of {bot} to {@token} login {bot} as "my-bot"

on unload: shutdown the bot named "my-bot"

Slash commands are declared in the script, then sent to Discord explicitly. on guild ready: update the discord commands (all structured application commands) in event-guild

slash command ping: description: Check that the bot is alive

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также