Seamless Integration of ItemsAdder & JobsReborn
Vanilla Items Support: Now you can add not just custom items but also Vanilla items (for example, coal ore).
Custom Items/Drops: You can create your own items/drops and set your custom name, lore, model data, and drop chance (1 = 100%).
Blocking Vanilla Drops: You can now block vanilla drops from ores and replace them with drops you choose, whether they are vanilla items, commands, or custom drops created with the plugin!
Visual Effects and Sounds: You can now add visual effects/animations and sounds when breaking a block.
Custom Drops: You can set custom drops and configure their drop chance.
/cxp list custom
: Shows you how many custom ores you have in a chunk.
For example: Ruby Ore (16), meaning there are 16 Ruby Ores in the entire chunk.
/cxp list vanilla
: Shows you how many vanilla ores you have.
For example: Diamond Ore (30), meaning there are 30 Diamond Ores.
Custom Messages: The message.yml
file allows you to modify messages as you wish.
COMMAND: In the TYPE
field, you can set it to COMMAND
, and then place a command in the DROP
field, like give %player
.
CMODELDATA: You can create your own item with custom lore and texture.
VANILLA: You can configure a vanilla item to drop.
# Enable or disable displaying messages in the action bar when rewards are given
hotbar_message_enabled: true
# Enable or disable displaying the boss bar when rewards are given
bossbar_message_enabled: true
# Default action bar message format
hotbar_message_format: "{job} XP: {jobsxp}, Money: {money}, Points: {points}"
# Default boss bar message format
bossbar_message_format: "&a{job} XP: &b{jobsxp}, &aMoney: &b{money}, &aPoints: &b{points}"
# Boss bar appearance
bossbar_color: BLUE # Boss bar color
bossbar_style: SOLID # Boss bar style
# Experience, money, and point values for different blocks
xp_values:
ores_and_more:red_ore:
name: "Custom Block" # Block name
jobsxp: 5.0 # Jobs XP awarded
job: "Miner" # Associated job
money: 10.0 # Money awarded
points: 2.0 # Points awarded
cancel-vanilla-drops: true # Cancel default Minecraft drops
soundeffectonmined: "ENTITY_EXPERIENCE_ORB_PICKUP" # Sound effect played on block break
visualeffectonmined: "FLAME" # Visual effect played on block break
bannedtools: # List of tools prohibited for breaking this block
- "WOODEN_PICKAXE"
Drops: # List of possible rewards
drop1:
TYPE: "COMMAND" # Reward type (in this case, a command)
DROP: "give %player% minecraft:diamond 1" # Command executed
chance: 0.5 # Chance of receiving this reward
message: "&aYou found a diamond!" # Displayed message
drop2:
TYPE: "COMMAND"
DROP: "playsound minecraft:entity.player.levelup %player%"
chance: 0.8
message: "&aYou leveled up!"
drop3:
TYPE: "CMODELDATA"
DROP: "minecraft:iron_sword" # Base vanilla item
chance: 0.7
message: "&aYou received a special sword!"
Model-data: 123 # Custom model data
Name: "&bEpic Sword" # Custom name
Lore: "&eA sword of epic greatness" # Custom description
drop4:
TYPE: "VANILLA"
DROP: "emerald" # Vanilla item or material name
chance: 0.6
message: "&aAn emerald has been added to your inventory!"
drop5:
TYPE: "COMMAND"
DROP: "title %player% title {\"text\":\"Congratulations!\",\"color\":\"gold\"}"
chance: 1.0
message: "&aYou received a title!"
drop6:
TYPE: "CMODELDATA"
DROP: "IRON_SWORD"
chance: 0.5
message: "&aYou received a legendary pickaxe!"
Model-data: 280007
Name: "&bLegendary Pickaxe" # Custom name
Lore: "&eThis pickaxe is legendary!" # Custom description
coal_ore:
name: "Coal Ore" # Block name
jobsxp: 2.0 # Jobs XP awarded
job: "Miner" # Associated job
money: 1.0 # Money awarded
points: 0.5 # Points awarded
cancel-vanilla-drops: true # Cancel default Minecraft drops
soundeffectonmined: "BLOCK_COAL_ORE_BREAK" # Sound effect played on block break
visualeffectonmined: "SMOKE_NORMAL" # Visual effect played on block break
bannedtools: # List of tools prohibited for breaking this block
- "WOODEN_PICKAXE"
Drops: # List of possible rewards
drop1:
TYPE: "COMMAND"
DROP: "give %player% minecraft:coal 5"
chance: 0.7
message: "&aYou received extra coal!"
drop2:
TYPE: "CMODELDATA"
DROP: "STICK" # Base item to be customized
chance: 0.4
message: "&aYou received a magic wand!"
Model-data: 789 # Custom model data
Name: "&bMagic Wand" # Custom name
Lore: "&eA wand with magical powers" # Custom description