All Mods Resource Packs Data Packs Shaders Modpacks Plugins
DonateCase

DonateCase

by Jodexx • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

DonateCase — a powerful plugin for creating donation cases on Minecraft servers. Easy integration, customization support, multilingual features, and expandability to make your server truly unique!

Features

  • The optimized code
  • Possibility of issuing any prize
  • Full localization
  • Full customization and creation of cases
  • Full customization of the gui
  • Beautiful Animations
  • Animation settings
  • Opening history

    Supports

  • MySQL
  • Vault
  • LuckPerms
  • PlayerHeads
  • Custom Heads
  • HeadDataBase
  • ItemsAdder
  • PlaceholderAPI
  • CMI
  • HolographicDisplays
  • DecentHolograms
  • FancyHolograms
  • PacketEvents

Commands

  • /dc help - Help for the plugin
  • /dc keys (Player) - Show keys
  • /dc cases - Show all possible cases
  • /dc opencase (Case Type) - Open case
  • /dc create (Case Type) (Case Name) - Set case (Look at block)
  • /dc delete (Case Name) - Delete case (Look at case)
  • /dc givekey (Player) (Case) (Keys) - Give keys to player
  • /dc setkey (Player) (Case) (Keys) - Set player keys
  • /dc delkey (Player) (Case) - Remove all keys to a player
  • /dc delkey all - Delete all keys for all players
  • /dc reload - Reload config
  • /dc reload cache - Reload cache
  • /dc addons - Show loaded addons
  • /dc addon (enable/disable | load/unload) - Manage addons
  • /dc registry (animations|actions|materials) - Show list of registered registry items

Permissions

  • For players - donatecase.player (/dc help, /dc keys, /dc opencase)
  • For moders - donatecase.mod (/dc keys (Player), /dc givekey/setkey/delkey)
  • For admins - donatecase.admin (all commands)

PlaceholderAPI

  • %donatecase_keys_<casename>% - number of keys from a particular case
  • %donatecase_keys_<casename>_format% - number of keys from a particular case with format
  • %donatecase_keys% - number of keys from all cases
  • %donatecase_keys_format% - number of keys from all cases with format
  • %donatecase_open_count% - number of all case openings
  • %donatecase_open_count_format%- number of all case openings with format
  • %donatecase_open_count_<casename>% - number of case openings from particular case
  • %donatecase_open_count_<casename>_format% - number of case openings from particular case with format
  • %donatecase_history_<casetype>_<index>_<value>%- history data value from particular case

Aditional information

If you encounter any problems, you can ask for help on our Discord server. Please only do this if you have fully read the plugin documentation.

If you have a bug report, you can create an issue on GitHub. Also, if you want to help with development, you can make a pull request.

Addons

FreeCases - Adds the ability for players to receive free case keys

DCEventManager - Addon for event management. More details here

DCPhysicalKey - Adds physical keys to your cases

DCWebHook - Notifies about case openings using webhooks in Discord

FriendCase - Adds the ability for players to gift case keys to their friends

DCPrizePreview - Adds case prize preview

DCBlockAnimations - Adds certain case opening animations

DCHistoryEditor - Allows you to edit the history of case openings

BStats

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2 26.1.x 1.21.x +5
Paper Purpur Spigot
22h ago 1
26.2 26.1.x 1.21.x +5
Paper Purpur Spigot
22h ago 1
26.1.x 1.21.x 1.20.x +4
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.x 1.20.x 1.19.x +3
Paper Purpur Spigot
22h ago 1
1.21.4 1.16.x
Paper Purpur Spigot
22h ago 1
## What's Changed


## What's Changed
  • fix: restrict packet armorstand animation to case world viewers by @GG-MD in https://github.com/Jodexx/DonateCase/pull/88
  • fix: auto-reconnect database on lost connection in CaseDatabaseImpl by @1wairesd in https://github.com/Jodexx/DonateCase/pull/89
  • fix: improve error handling during hologram driver registration
  • fix: DCWebHook - %group% nullability
  • fix: ItemsAdderLoadDataEvent hook
  • refactor: simplify jar file retrieval in ReflectionUtils | Den Fehler bei der Erkennung von Jar-Dateien beheben
  • add: addons remapping for papermc

## New Contributors

## What's Changed

## New Contributors

  • Fixed async scheduler period (API)
  • Fixed FIREWORK animation looping (rgb parsing issues)
  • Fixed SELECT animation on packetevents
  • Added hologram driver fallback mechanism. Now, any available hologram driver will be loaded if the one specified in the configuration is not found.
  • Added premium animation FUTURE_WHEEL as free
  • Added ability to disable sound for animations
  • Added particle settings for RAINLY animation
  • Changed YAML loader indentation to 2 spaces
  • Updated configurate-yaml to 4.2.0

  • Fixed saving disabling for history on historyDataSize < 1
  • Fixed pose setting for all animations
  • Fixed addon disabling if error occurred
  • fix memory leak: remove async task from map if not external
  • Removed kyori event from shadowing, included to plugin.yml libraries
  • Fixed scheduler memory-leak
  • Fixed a bug that prevented multiple players from opening a GUI at the same time
  • Improved GUI loading
  • Improved config migrator from 25 to 26 version
  • Added 10 -> 11 and 11 -> 12 case migrators
  • Added check for nullability of the config before messages loading
  • Added convert order for config migrators
  • Added old Data.yml and Keys.yml migrators
  • Added check for inventory holder instead map
  • asynchronize the delkey, givekey, and setkey commands
  • fix nullability level-groups setting
  • add support for both rgb formats (stringed and listed)
  • add UP_NORTH_WEST and DOWN_SOUTH_EAST directions to Facing
  • fix issue with case items conversion (occurred when the list of items was empty)
  • improve random action selection logic
  • remove unnecessary setting "DisableSpawnProtection"
  • change logic for checking player nickname, replaced with asynchronous formatting
  • main configuration structure update
  • add new data for metrics
  • Optimized packet armor stands
  • Support for packet armor stands from version 1.16.5 to 1.21.8
  • Split case configurations into different files

WARNING! Make backup of your configurations!
  • Config serializing with ConfigData
  • Fixed deletion of double keys after RANDOM animation
  • Fixed pitch and yaw for FancyHolograms support
  • Check player for UUID (SELECT animation)
  • Check for animation executor (player) in SELECT
  • Updated version of locale files (fixed the converter bug)
  • Fixed command "/dc givekey" message feedback
  • Delete all players keys from exact case type (/dc delkey all (case type)
  • HistoryDataSize setting
  • Fixed HISTORY item - displaying
  • Fixed world nullability in animations: POP and SELECT if entity armorstand used
  • Fixed inventory title nullability
  • FriendCase addon - Fixed myself gift sending
  • Fix PlaceholderAPI placeholders processing in CaseGui
  • Fixed incorrect hex color with packetevents
  • Added Item setting in SELECT animation
  • Added LANG migrator from 2.6 to 2.7 with placeholders converting
  • Fixed loading of holograms during plugin loading
  • Fixed color formatting
  • Full refactoring of API component
  • Using SpongeConfigurate as a library to load yaml configurations
  • Using Kyori EventBus as DonateCase's internal event management library for APIs
  • Fixed problems with saving opening history
  • Added list of supported platforms for addon configuration (addon.yml)
  • Added parameter of the last supported API version for addons (if an addon uses API version lower than the one supported in DonateCase, it will not run)
  • Fixed problems with double opening of menus
  • Added timeout of menu opening (asynchronous)
  • Added CooldownBeforeAnimation parameter to the main section of the case configuration
  • Removed PermissionDriver and replaced it completely with LuckPerms
  • Added two new animations: POP and SELECT
  • Added configuration converter
  • Fixed display of new version when updates are available
  • Added Firework parameter to SHAPE animation to toggle firework display
  • Asynchronous key verification before case opening
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/9lEbROM0W-E" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/Svd_Lox2YjI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Plugin:
  • Fixed issue with infinity case which can be opened without block requirement opening by /dc opencase command
API:
  • Added a “locked” field to check if the case block is locked when opening animations. Now the active case will be added to the activeCasesByBlock map regardless of whether the “requireBlock” parameter is enabled for the animation. The locking of the case block is determined by requireBlock, but can be changed at any time - ActiveCase#setLocked(boolean)
  • Now one block can have a list of the opened animations
Plugin:
  • Added a warning about not finding the world when creating a hologram
  • Added CheckPlayerName setting for checking the player for availability to manipulate the keys amount
  • Optimized subcommands registration
  • Added a null world check when deleting a case
  • Optimized open count caching logic
  • Added updatechecker from modrinth (replaced)
  • Removed deprecated ItemStack byte data

API:
  • Removed registry events (AnimationRegisteredEvent, AnimationUnregisteredEvent, CaseActionRegisteredEvent, CaseActionUnregisteredEvent, SubCommandRegisteredEvent, SubCommandUnregisteredEvent)
  • Added hologram manager in DCAPIBukkit
  • Driver enums moved to spigot-api module
Plugin:
  • Removed unused libs from plugin jar
  • Added "/dc opencase" support for opening animations without block requires

API:
  • Added requireBlock param for CaseAnimation
  • Added PlaceholderAPI support for GUI title
  • Added BASE64 terxtures (PlayerProfile) support for 1.21+
  • Added placeholders to all armorstands in animations
  • Added nullable check for meta properties
DonateCase Icon
Download DonateCase
Select game version
Select platform