Can you make a custom coins system. Coins can only be obtained thru codes. Make a coinshop and let me edit the INVENTORY GUI easily
Build the plugin foundation, persistent coin/code storage, and commands.
Add a configurable coin shop with an editable inventory layout and item catalog.
Add the reusable inventory GUI framework, configuration, and build metadata.
it says missing required files. also whats the placeholder for the coins
Create the complete Gradle/Paper plugin structure and required resources.
Implement persistent code-only coin redemption, coin balance commands, and admin code generation.
Add an editable YAML-driven coin shop with a reusable GUI framework.
Add the PlaceholderAPI expansion; the coin placeholder will be
%coinvaultshop_coins%.
Created the required CoinVaultShop files, including:
Persistent coin storage in
coins.ymlCode storage and redemption in
codes.yml/coins balance/coins redeem <code>/coinadmin create <amount> [uses]/coinadmin reload/coinshopEditable
shop.ymlinventory GUIPlaceholderAPI support
The coin placeholder is:
%coinvaultshop_coins%
Example usage:
/coinadmin create 500
/coinadmin create 1000 10
/coins redeem ABCD1234EFGH
/coins balance
/coinshop
Edit the shop here:
plugins/CoinVaultShop/shop.yml
Change the slot, material, name, lore, price, and console commands. Then run:
/coinadmin reload
we already got a coins system its /redeemcode. use codes from there
Replace the plugin’s duplicate code/economy path with integration to the existing
/redeemcodesystem.Keep the shop GUI and make purchases use the existing coin balance/provider rather than local
coins.yml.Remove commands and resources that would create or redeem a second code system, while preserving the shop and placeholder where possible.
The project does not contain the existing /redeemcode system—it only has its own /coins redeem implementation. I need the name of the plugin that provides /redeemcode, plus either:
its coin balance placeholder, and the command/API used to remove coins; or
its developer/API documentation.
For example:
Plugin: ExampleCoins
Balance placeholder: %examplecoins_balance%
Remove command: /examplecoins remove <player> <amount>
Then I’ll remove the duplicate coins.yml, CodeManager, /coins redeem, and /coinadmin create logic, and make the shop charge the existing coin system.
how do i give coins to players with this plugin
With the current plugin, coins are given through redeemable codes:
/coinadmin create <amount> [uses]
Examples:
/coinadmin create 500
/coinadmin create 1000 10
This creates a code worth the specified amount. Give the generated code to the player, who redeems it with:
/coins redeem <code>
Players can check their balance with:
/coins balance
You need the coinvaultshop.admin permission to create codes. There is currently no direct /givecoins command.
make me a command that gives coins to a player
Add
/coinadmin give <player> <amount>using the plugin’s existingCoinManager.Add tab completion/usage messaging only if the current command wiring supports it, and document the new syntax in
plugin.yml.
Added:
/coinadmin give <player> <amount>
Example:
/coinadmin give Steve 500
This gives Steve 500 coins and requires:
coinvaultshop.admin
The player must be online.
everytime i buy something the shop items dissapear
Fixed. The shop items were disappearing because ShopManager cleared the inventory every time the shop closed:
event.getInventory().clear();
That close handler has been removed. The configured shop items will now remain visible when players reopen the shop.
make it like this. I want to be able to add the items in each category thru /coinsadmin . let me place items in there then write the price for each as a command
Add category editing through
/coinsadmin, including opening a category editor while holding the item.Add commands to set the held item’s price and save it to that category.
Update the shop GUI to show categories, category items, prices, and purchase actions persistently.
Implemented the category-based coin shop.
Use these commands:
/coinsadmin category create <id> <name>
Example:
/coinsadmin category create crates Crate Keys
Open the category editor:
/coinsadmin category edit crates
Place items into the inventory slots, then close the editor to save them.
Set an item’s price:
/coinsadmin price crates <slot> <price>
Example, if the item is in slot 13:
/coinsadmin price crates 13 500
Set the category icon using the item in your main hand:
/coinsadmin category icon crates
Other commands:
/coinsadmin category list
/coinsadmin category delete <id>
/coinsadmin reload
Players use:
/coinshop
The command now works as both:
/coinadmin
/coinsadmin
Items are saved in shop.yml. If an item has no configured console command, the shop gives the actual item directly to the player.
it broke the plugin completely
I’m checking the command registration and shop GUI changes for the startup/runtime failure, then I’ll restore a safe working path without removing the category editor.
The category editor itself is usable, but the price command was checking for an editor that the command has already closed. That made every price assignment fail. I’m fixing it to use the item saved when the editor closes.
Fixed the broken price workflow.
The issue was that /coinsadmin price ... required the editor to still be open, even though closing the editor is what saves the items. The command now uses the saved item from shop.yml.
Use this sequence:
/coinsadmin category edit general
Place items in the GUI and close it.
Then set a price:
/coinsadmin price general 13 500
Finally open the shop:
/coinshop
Restart the server or reload the plugin after applying the update.
thats on every command i try
The screenshot shows the plugin is not loading correctly—the %coinvaultshop_coins% placeholder is also unresolved. That is why every command returns the generic error; it is not a command syntax problem.
Please send the server console error from startup, specifically the section containing one of these:
Error occurred while enabling CoinVaultShop
or
Unhandled exception executing command
Also verify that you replaced the entire old JAR and restarted the server, rather than using /reload. The exact stack trace is required to fix the startup failure instead of guessing.
[18:05:38 INFO]: UUID of player bgmashina is 86bd4fe0-4ad3-393e-a935-2569f752a4ee [18:05:38 INFO]: [HorriblePlayerLoginEventHack] You have plugins listening to the PlayerLoginEvent, this will cause re-configuration APIs to be unavailable: [LuckPerms, Themis] [18:05:39 INFO]: bgmashina joined the game [18:05:39 INFO]: bgmashina[/46.10.237.70:55564] logged in with entity id 53 at ([world]1090.3294611476251, 158.9726764011623, 1044.5896283921882) [18:05:39 INFO]: [voicechat] Received secret request of bgmashina (20) [18:05:39 INFO]: [voicechat] Sent secret to bgmashina [18:05:47 INFO]: bgmashina issued server command: /coinshop [18:05:47 ERROR]: Command exception: /coinshop org.bukkit.command.CommandException: Cannot execute command 'coinshop' in plugin CoinVaultShop v1.0.0 - plugin is disabled. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[purpur-api-1.21.11-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:104) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:477) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:382) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:370) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2456) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$15(ServerGamePacketListenerImpl.java:2429) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:177) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1561) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:188) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:151) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1541) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1535) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.recordTaskExecutionTimeWhileWaiting(MinecraftServer.java:1240) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1377) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:392) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at java.base/java.lang.Thread.run(Thread.java:1474) ~[?:?] [18:05:49 INFO]: bgmashina issued server command: /coinshop [18:05:49 ERROR]: Command exception: /coinshop org.bukkit.command.CommandException: Cannot execute command 'coinshop' in plugin CoinVaultShop v1.0.0 - plugin is disabled. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[purpur-api-1.21.11-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:104) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:477) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:382) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:370) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2456) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$15(ServerGamePacketListenerImpl.java:2429) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:177) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1561) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:188) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:151) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1541) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1535) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.recordTaskExecutionTimeWhileWaiting(MinecraftServer.java:1240) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1377) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:392) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at java.base/java.lang.Thread.run(Thread.java:1474) ~[?:?] [18:05:50 INFO]: bgmashina issued server command: /coinshop [18:05:50 ERROR]: Command exception: /coinshop org.bukkit.command.CommandException: Cannot execute command 'coinshop' in plugin CoinVaultShop v1.0.0 - plugin is disabled. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[purpur-api-1.21.11-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:104) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:477) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:382) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:370) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2456) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$15(ServerGamePacketListenerImpl.java:2429) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:177) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1561) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:188) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:151) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1541) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1535) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.recordTaskExecutionTimeWhileWaiting(MinecraftServer.java:1240) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1377) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:392) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at java.base/java.lang.Thread.run(Thread.java:1474) ~[?:?] [18:05:51 INFO]: bgmashina issued server command: /coinshop [18:05:51 ERROR]: Command exception: /coinshop org.bukkit.command.CommandException: Cannot execute command 'coinshop' in plugin CoinVaultShop v1.0.0 - plugin is disabled. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[purpur-api-1.21.11-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:104) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:477) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:382) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:370) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2456) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$15(ServerGamePacketListenerImpl.java:2429) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:177) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1561) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:188) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:151) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1541) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1535) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.recordTaskExecutionTimeWhileWaiting(MinecraftServer.java:1240) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1377) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:392) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at java.base/java.lang.Thread.run(Thread.java:1474) ~[?:?] [18:05:55 INFO]: bgmashina issued server command: /reload [18:05:55 INFO]: [bgmashina: Reloading!] [18:05:55 INFO]: Loaded 1470 recipes [18:05:55 INFO]: Loaded 1584 advancements [18:05:56 INFO]: bgmashina issued server command: /coinshop [18:05:56 ERROR]: Command exception: /coinshop org.bukkit.command.CommandException: Cannot execute command 'coinshop' in plugin CoinVaultShop v1.0.0 - plugin is disabled. at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[purpur-api-1.21.11-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.3.10.jar:?] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:104) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:477) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:382) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.commands.Commands.performCommand(Commands.java:370) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2456) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$15(ServerGamePacketListenerImpl.java:2429) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:177) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1561) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:188) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:151) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1541) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1535) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.recordTaskExecutionTimeWhileWaiting(MinecraftServer.java:1240) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1377) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:392) ~[purpur-1.21.11.jar:1.21.11-2568-f57bd86] at java.base/java.lang.Thread.run(Thread.java:1474) ~[?:?]
Trace the enable path to identify why
CoinVaultShopwas disabled.Fix the startup failure and verify command/GUI registration remains intact.
Remove any unsafe reload-dependent behavior from the fix.
The command log confirms the cause: CoinVaultShop failed during startup and Bukkit disabled it. The /coinshop stack trace only shows the result, not the original error.
The important error will be earlier in the console, immediately after:
[CoinVaultShop] Enabling CoinVaultShop v1.0.0
Please send the section containing:
Error occurred while enabling CoinVaultShop
especially the first Caused by: line. It may be a missing dependency, malformed shop.yml, or an exception during GUI initialization.
Also, do a full server restart—not /reload—after replacing the JAR. /reload does not reliably re-enable plugins and can leave commands registered while the plugin itself is disabled.
i did a full restart and its still not working
What exactly is still not working after the restart?
Please send:
The command or action you’re testing
What happens versus what should happen
Any console errors from startup or when testing it
Relevant plugin version/server version
The latest changed code or feature name
A full restart rules out reload-related state, but it won’t fix configuration, registration, permissions, dependency, or runtime errors without the actual symptom/log.
the command itself
Which command is failing? Send the exact command you type, for example /pluginname ..., plus what happens:
“Unknown command”
No response
Permission error
Command appears but does nothing
Console error
Also include the plugin’s startup log if available.
/coinshop
The generation was stopped before any content could be produced.
/coinshop
/coinshop is correctly registered in plugin.yml and assigned in onEnable(). A full restart will not help if the plugin failed to enable.
Check in-game:
/plugins
CoinVaultShop green: run
/coinshopand send the exact result/error.Red or missing: copy the CoinVaultShop startup error from console. The command cannot work until the plugin successfully enables.
The relevant registration is present in plugin.yml and CoinVaultShopPlugin.java; the next required information is whether the plugin is enabled.
package com.kodari.coinvaultshop;
import com.kodari.coinvaultshop.command.CoinAdminCommand;
import com.kodari.coinvaultshop.command.CoinsCommand;
import com.kodari.coinvaultshop.command.ShopCommand;
import com.kodari.coinvaultshop.gui.GuiManager;
import com.kodari.coinvaultshop.placeholder.CoinPlaceholder;
import com.kodari.coinvaultshop.shop.ShopManager;
import com.kodari.coinvaultshop.storage.CodeManager;
import com.kodari.coinvaultshop.storage.CoinManager;
import org.bukkit.plugin.java.JavaPlugin;
public final class CoinVaultShopPlugin extends JavaPlugin {
private CoinManager coinManager;
private CodeManager codeManager;
private ShopManager shopManager;
@Override
public void onEnable() {
saveDefaultConfig();
saveResource("shop.yml", false);
coinManager = new CoinManager(this);
codeManager = new CodeManager(this, coinManager);
shopManager = new ShopManager(this, coinManager);
getServer().getPluginManager().registerEvents(new GuiManager(), this);
getServer().getPluginManager().registerEvents(shopManager, this);
getCommand("coins").setExecutor(new CoinsCommand(this, coinManager, codeManager));
getCommand("coinshop").setExecutor(new ShopCommand(this, shopManager));
getCommand("coinadmin").setExecutor(new CoinAdminCommand(this, coinManager, codeManager, shopManager));
if (getServer().getPluginManager().isPluginEnabled("PlaceholderAPI")) {
new CoinPlaceholder(this, coinManager).register();
}
}
@Override
public void onDisable() {
if (coinManager != null) {
coinManager.save();
}
if (codeManager != null) {
codeManager.save();
}
}
public CoinManager getCoinManager() {
return coinManager;
}
}