Spicord icon

Spicord -----

Discord integration for BungeeCord & Spigot/Bukkit servers.




Fixed bug in Velocity that caused JS addons to not load
----------, Aug 30, 2024

Fixed bugs & updated JDA to 5.0.1
All changes here: GitHub
----------, Jul 16, 2024

Fixed YAML config for Spigot <= 1.8.8
Fixed & Improved Javadoc
Fixed internal bugs
Re-implemented the Scheduler
Updated JDA to version v5.0.0-beta.23
(+) Display bot information (username and guilds) on startup

See all changes: ...611 additions and 390 deletions.

Updating to this version is recommended due to the high amount of fixes in both Spicord & JDA
----------, Jun 6, 2024

Added late-loading debug messages
Lots of internal refactoring (non-breaking changes)
Added more Javadoc
Improved and expanded internal APIs
Various internal fixes

See all changes: ...1,516 additions and 1,308 deletions.
----------, Apr 3, 2024

Implemented loadDelay option for Sponge & Velocity.
Log embed file name if it fails to load.
Improved new Slash Command API.

View changes
----------, Feb 17, 2024

The internal addons (plugins/players/info) have been migrated to slash commands.

Lots of API updates, improvements and additions (non breaking changes).

Added simpler way to create and handle Slash Commands.

37 changed files with 961 additions and 256 deletions

Now there's an official wiki! https://spicord.org/ (under construction)
----------, Dec 5, 2023

Attempt to fix the Java 17 JDA bug by implementing a custom ScheduledExecutorService.
----------, Nov 25, 2023

Changes in 5.1.2
Changes in 5.1.1 (not released on SpigotMC)
----------, Nov 15, 2023

Changes:
  • Added 'bukkit-events' module for JS addons
  • Added JDA presence wrapper for simplicity
  • Fixed error when loading on BungeeCord
  • Fixed the previously-fixed-but-broken-again Java17 bug
  • Updated JDA version from beta.4 to beta.13
----------, Aug 15, 2023

Changes:
  • (Added) Folia support.
  • (Fixed) ClassNotFoundException when running commands.
----------, Aug 7, 2023

Changes
  • (Sponge) Updated Sponge API to version 8
  • (Bungee) Added incompatibility detection with other plugins
  • (Bukkit/Bungee) Load libraries earlier
  • (All) Java 17 bug fixed
----------, Jul 3, 2023

Fixed velocity server detection when also using the snap plugin, as it made Spicord "think" it is on a bungeecord server.
----------, Apr 28, 2023

Updated JDA to v5, the v4 version will stop working soon due to the discontinuation of the Discord Gateway version 8. PLEASE UPDATE SPICORD.

You will also have to update all the external addons you are using if you update Spicord to this version.
----------, Mar 5, 2023

Internal API changes
----------, Nov 22, 2022

- Updated JDA to version 4.4.0
- Added "late-loading" feature, useful when an addon takes too long to load and is not able to register itself in time.
----------, Jul 7, 2022

1. Fixed -players Discord command on BungeeCord when using PremiumVanish.
2. Fixed initialization on Velocity. You must also update BanAnnouncer to 2.6.0 if you are using B.A. & Spicord on Velocity.
----------, Mar 1, 2022

(Fix) blocking on main thread, causing server to crash
(+) built-in incompatibility check with other plugins
(+) more debug information
(*) code improvements
(+) built-in java 17 fix for single-core systems

List of addons on the resource page has been updated.
----------, Jan 8, 2022

Changes on 4.1.2:
- Removed awaitReady(), caused the Ready event to never be triggered and so makes the addons onReady function to never be called.
UPDATING IS RECOMMENDED, AS THIS ISSUE MADE SOME ADDONS TO NOT WORK

Changes on 4.1.1 (not released on SpigotMC) :
- Fixes shutdown warning.
----------, Dec 8, 2021

Released on 25 Oct 2021.
(+) Added Velocity 3.0.0 support ( #45)
----------, Nov 26, 2021

IMPORTANT! If you are a developer, you will need to update your code as described in the GitHub release notes:
https://github.com/Spicord/Spicord/releases/tag/4.0.0

This update has breaking changes, this means that you will need to update all your addons to compatible versions, here's a list with known public addons that are updated to work with Spicord 4.0.0 :

[BanAnnouncer 2.3.0]
https://github.com/Spicord/BanAnnouncer/releases/tag/2.3.0

[StaffChat 1.4.5]
https://github.com/Siebrenvde/StaffChat/releases/tag/1.4.5

[DiscordRewards 1.1.0]
https://github.com/OopsieWoopsie/DiscordRewards/releases/tag/1.1.0

[DailyStatistics 1.2]
https://github.com/Spicord/DailyStatistics/releases/tag/unofficial-1.2

[ChatSync]
https://github.com/OopsieWoopsie/ChatSync/ (file: ChatSync.sp)

[DiscordMOTD]
https://github.com/OopsieWoopsie/DiscordMOTD (file: DiscordMOTD.sp)
----------, Jun 17, 2021

Java 16 support
----------, Jun 8, 2021

Changes on 3.1.4:

- [PremiumVanish] The "Players" addon won't show vanished players.
- Fixed Velocity support.

Changes on 3.1.3: (not released on SpigotMC)

- Added the "loadDelay" option in the config. (because of this)
----------, Feb 10, 2021

Now working on Java >= 14
----------, Oct 30, 2020

EMERGENCY UPDATE
Discord made Gateway Intents required in order to log-in. This version implemented that, previous versions will not work anymore.
UPDATE NOW
----------, Oct 27, 2020

Important!
  1. I recommend you to delete all the files located in plugins/Spicord/libs/* before updating, so Spicord will download the new ones, this will also save some disk space!
  2. If you have the old config and you want to change the footer of the integrated addons, you will need to make your config look like this or just delete it and Spicord will extract the new one.

Project changes

  • Changed groupId to org.spicord
  • Improved (and fixed) Sponge compatibility
    • Fixed the library injection system
    • Fixed errors when creating an UniversalPlayer instance
    • Be able to register commands without an SpongePlugin instance
  • Improved the library loader
    • Now the data is buffered instead of writing byte-by-byte
  • Improved some javadoc
  • Added the reflect module
  • Deprecated eu.mcdb.spicord.Spicord, use org.spicord.Spicord instead
  • Deprecated Spicord#onLoad, use Spicord#addEventListener instead
Internal changes
  • Repackaged some non-api classes
  • Using a newly JDA fork with some fixes
    • Uses the discord.com domain instead of discordapp.com
    • Includes custom logging system
    • All dependencies are repackaged and shaded
  • Added timestamp support for Embed messages
    • Just use 0000-00-00T00:00:00 and it will be replaced with the current timestamp
Addons
  • Improved the JavaScript support
    • Support for importing JSON files
  • The "info" addon will now show ∞ instead of -1
  • Now you can change the footer of the integrated addons
  • Added the onShutdown() method
See all code changes
----------, Sep 22, 2020

Added support for JS addons.
If you are using BanAnnouncer, you will need to update it too.

Full list of changes stated on the GitHub page
----------, May 30, 2020

  • Added Velocity support (beta)
  • A lot of improvements & bug fixes
----------, Jan 21, 2020

Added the /spicord (alias /sp) command.

[​IMG]

Other minor chages~
----------, Dec 13, 2019

Some libraries will only load if they are not present (okhttp3, okio).
Added sha1sum check (this will re-download a lib. if its outdated or "broken").
Added onLoad event for Spicord.
Migrated configuration storage from YAML to TOML.

Documentation soon :)
----------, Oct 28, 2019

Internal changes and some refactoring.
The libraries are now downloaded at the first run, that makes Spicord lightweight (72kB)! :D

For devs:

Spicord now uses maven, you can easily import it to your project! ;)
----------, Oct 23, 2019

Changed
- Extended the API, it will be fully documented soon.

Fixed

- Issue when the connection to the Discord websocket gets disconnected & resumed and the bot status changes to "disabled", that caused the bot being ignored by BanAnnouncer because of its status. (Thanks to ImCSW™ and Grifinger for reporting this).
----------, Sep 25, 2019

Added:
- The "Disabled" status to the /spicord status command.

Changed:
- (BungeeCord) The players are separated by the servers they are in when the -players command is executed.
- Now the EmbedLoader class will always read the messages as UTF-8 so the cyrillic letters can be correctly displayed.

Fixed:
- The bot commands arguments lenght.
- (BungeeCord) The issue that Spicord loaded the bot(s) before the addons can be registered.
- Issue #2
- Other minor bugs.
----------, Aug 14, 2019

If you had "enable-jda-messages: false" on your config, the bot wont start, it's fixed now.

If you were using PaperSpigot, probably the server crashed, it's fixed now.
----------, Jul 13, 2019

[2.0.0-SNAPSHOT] - 2019-07-12
Added
  • A new line at the end of the source files.
  • More Javadoc comments.
  • The DiscordBotLoader#shutdownBot(DiscordBot) method.
  • All the embed related things.
  • The new library-loading system.
  • The /spicord command for BungeeCord and Bukkit/Spigot.
  • Another way to create commands.
  • A new logging system for JDA.
Changed
  • Replaced the tabs with 4 spaces.
  • Renamed class SpicordUtils to ReflectionUtils.
  • Moved the enum SpicordLoader.ServerType to package eu.mcdb.util
  • Moved the class Server to package eu.mcdb.util
  • Now the libraries only will be extracted if it not exists on the lib folder.
Deprecated
  • The DiscordBot#setEnabled(boolean) method, the value is final and cannot be changed.
  • The DiscordBot#setDisabled(boolean) method, the value is final and cannot be changed.
  • The DiscordBotLoader#disableBot(DiscordBot) method.
  • The ISpicord#startBot(DiscordBot) method, use DiscordBotLoader#startBot(DiscordBot) instead.
  • The ISpicord#shutdownBot(DiscordBot) method, use DiscordBotLoader#shutdownBot(DiscordBot) instead.
  • The Spicord#startBot(DiscordBot) method, use DiscordBotLoader#startbot(DiscordBot) instead.
  • The Spicord#shutdownBot(DiscordBot) method, use DiscordBotLoader#shutdownBot(DiscordBot) instead.
  • The SpicordBungee#getSpicord() method, use Spicord#getInstance() instead.
  • The SpicordBukkit#getSpicord() method, use Spicord#getInstance() instead.
Removed
  • The SpicordLoader#setDisableAction(Consumer) method.
  • The deprecated Server#getMaxOnlineCount() method.
  • The CustomMap class.
----------, Jul 13, 2019

[1.1.0-SNAPSHOT] - 2019-07-01
Changed
  • (Only) In this release, JDA will not print any message in the console.
Fixed
----------, Jul 1, 2019


[1.0.3-SNAPSHOT] - 2019-02-26
Changed

  • Spicord will load 10 seconds after the server starts.
----------, Feb 26, 2019

[1.0.2-SNAPSHOT] - 2019-02-20
Added
  • The DiscordBotLoader#disableBot(DiscordBot) method.
  • More error messages.
Changed
  • Some Javadoc comments.
  • Organized the imports.
  • Rewritten the SpicordLoader#extractLibraries() method.
  • More Exceptions handled.
Deprecated
  • The Server#getMaxOnlineCount() method, replaced by Server#getPlayerLimit().
----------, Feb 20, 2019

[1.0.1-SNAPSHOT] - 2019-02-17
Added
  • The DiscordBot#isReady() method.
  • The DiscordBot#loadAddon(SimpleAddon) method.
  • More error messages.
Changed
  • More Exceptions handled.
Removed
  • CustomLogger class.
  • Unnecessary 'this' references.
Fixed
  • Non thread-safe fields.
----------, Feb 17, 2019

Resource Information
Author:
----------
Total Downloads: 12,313
First Release: Feb 16, 2019
Last Update: Aug 30, 2024
Category: ---------------
All-Time Rating:
39 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings