Rainbow Ore is a Minecraft plugin for Paper servers that adds a custom Rainbow Ore block. Players can obtain the block with a command, place it in the world, and break it to receive one random resource: diamond, iron ingot, raw iron, copper ingot, raw copper, gold ingot, raw gold, emerald, coal, or quartz.
- Build the plugin with Java 21 and Maven:
mvn package - Copy the generated
target/plugin.jarfile into your server'spluginsfolder. - Start or restart a Paper Minecraft server running version 1.21.11 or compatible.
- Confirm that RainbowOre loads successfully in the server console.
- Join the server as a player with the
rainbowore.givepermission. Operators have this permission by default. - Give yourself Rainbow Ore:
/rainbowore - Give yourself multiple blocks, from 1 to 64:
/rainbowore 16 - Place the Rainbow Ore block.
- Break the placed block to receive one randomly selected resource.
- Use
/rainboworewithout arguments or with an amount between 1 and 64. Invalid amounts and non-player command usage are rejected.
More Minecraft plugin projects by EnderDevelopment: https://github.com/EnderDevelopment