My first fully finished plugin, so its free!
Don't know if anybody wants this or was looking for it, but it's here if you do.
https://discord.gg/EKmQRwn
Prisonblocks is a simple plugin I made that mimics the mining on Cosmic Prisons where when a player mines a specific ore, the block is then temporarily turned into bedrock for a configurable amount of seconds before it is turned back into the same ore, and the player is given a configurable amount of exp. When a player breaks a block they are also given the item directly to their inventory without it dropping (Break an emerald ore you get an emerald self explanatory)
It's pretty simple but could be used for a pretty cool custom gamemode or just a prison setup. I'm also happy to change anything for anybody if you'd like just message me on discord and I can add more blocks you want or change any aspect you need, thanks!
EDIT: Added features - Switch feature which enables a configurable chance to replace the ore with a block instead and configurable drop amounts for items and blocks.
EDIT: Added in gold, lapis, and redstone to the list of blocks as well as there corresponding switch features! Will be adding per world permissions and an ore exchange GUI Soon.
InfinityFactions#1080
settings.yml
##########################
## PrisonBlocks Plugin ##
## By: InfinityFactions ##
##########################
Prefix: "&e&lPrisonblocks >>"
#Amount of time in seconds before a block is converted back to what it was originally
#(For example Bedrock back to Coal Ore)
Delay_Reset: 5
#Amount of exp given to a player each time they mine one of the specified blocks
Exp_Amount: 2
#Amount of drops to give the player upon breaking a block
#(Drop_Amount: 2 = 2 coal given when coal ore is broken)
Drop_Amount: 1
Block_Drop_Amount: 1
#Percentage based chance that when an ore is broken, it will be replaced with a block instead of an ore
#Coal Ore -> Coal Block
Switch_Feature: true
Switch_Chance: .15
#Do not change anything under this message
Log_Lag_Over_Milis: 100
Debug: []
Version: 1
Test_Message: "&b&lTest Message"
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta