EnchainSMP is a Paper *.21.x plugin that revolutionizes enchantment gameplay by allowing any enchantment to be applied to any item while strictly maintaining vanilla maximum levels. Every 15 minutes, each online player receives a unique random enchantment book, with the pool resetting after all enchantments are collected. Players combine these books with any item in an anvil, bypassing vanilla item restrictions entirely. The plugin includes full spear compatibility, making Riptide, Loyalty, Channeling, and Impaling function correctly on custom spear items. Commands include /enchain reload, /enchain give, and /enchain reset, with configurable reward intervals, broadcast messages, and permission support.
About
Creates a Minecraft plugin that wraps InputStreams to support pause, resume, and stop functionality without ******* the underlying thread. Pausing blocks reads until resumed, while stopping causes reads to return EOF (-*), enabling clean termination of audio playback loops. The wrapper provides volatile state flags for thread-safe control, a polling wait mechanism with interrupt handling, and proper close behavior that signals EOF before closing the source stream. This utility is ideal for audio streaming plugins requiring responsive playback control.