HomeJavaModsCreative NBT Copy Control
Creative NBT Copy Control
A very light bukkit/spigot plugin that will restrict the creative mode NBT copy feature to certain players while allow others to use it.

Do you want to save players data (Inventory, Enderchest, Money, Health, Exp and more...) on MySQL database? Or sync players data across servers? Then check out my other plugin:
[​IMG] MySQL Player Data Bridge
Do you want to save Essentials data on MySQL database? Or sync Essentials data across servers?
Then consider checking out my other plugin:
[​IMG] Essentials MySQL Storage Extension


What is creative NBT copy?
You can use Ctrl + middle mouse click to get an exact copy of the block (tile entities) you are pointing at (with its NBT Tags, that means for chests for example you get also a copy of the chest content). For example:
Ctrl + middle mouse click doesn't work on entities (e.g. chest/hopper minecarts, mobs, mob heads), their NBT Tags are not copied.

What does this plugin do?
This plugin will restrict the ability to copy the NBT tags for players that does not have permission.
How does it work?
Players that are in creative mode and do Ctrl + middle mouse click and don't have permission for NBT copy will only get the item like they normally do with middle mouse click without NBT data.
When you may need this plugin?
When you give creative mode to some players and you don't want them to duplicate any chest (including items they hold) especially if the server is in survival mode. Example: If you give creative mode access to some VIP's and you don't want them to dupe items for survival players.

Features

No dependency's

Sample Config

Spoiler: config.yml
#The plugin will check for the following items.
# Material names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html

EnabledFor:
- 'CHEST'
- 'TRAPPED_CHEST'
- 'FURNACE'
- 'DROPPER'
- 'DISPENSER'
- 'HOPPER'
- 'JUKEBOX'
- 'BREWING_STAND_ITEM'
- 'BEACON'
- 'SIGN'
- 'SKULL_ITEM'
- 'MONSTER_EGG'
- 'COMMAND'
- 'MOB_SPAWNER'
#For 1.8 and up
- 'BANNER'
#For 1.11 and up
- 'BURNING_FURNACE'
- 'COMMAND_CHAIN'
- 'COMMAND_MINECART'
- 'COMMAND_REPEATING'
- 'BLACK_SHULKER_BOX'
- 'BLUE_SHULKER_BOX'
- 'BROWN_SHULKER_BOX'
- 'CYAN_SHULKER_BOX'
- 'GRAY_SHULKER_BOX'
- 'GREEN_SHULKER_BOX'
- 'LIGHT_BLUE_SHULKER_BOX'
- 'LIME_SHULKER_BOX'
- 'MAGENTA_SHULKER_BOX'
- 'ORANGE_SHULKER_BOX'
- 'PINK_SHULKER_BOX'
- 'PURPLE_SHULKER_BOX'
- 'RED_SHULKER_BOX'
- 'SILVER_SHULKER_BOX'
- 'WHITE_SHULKER_BOX'
- 'YELLOW_SHULKER_BOX'
#For 1.13 API
- 'BREWING_STAND'
- 'LEGACY_BREWING_STAND'
- 'LEGACY_BREWING_STAND_ITEM'
- 'LEGACY_SKULL'
- 'PLAYER_HEAD'
- 'LEGACY_MONSTER_EGG'
- 'LEGACY_MONSTER_EGGS'
- 'COMMAND_BLOCK'
- 'LEGACY_MOB_SPAWNER'
- 'SPAWNER'
- 'LEGACY_BURNING_FURNACE'
- 'CHAIN_COMMAND_BLOCK'
- 'REPEATING_COMMAND_BLOCK'
- 'LEGACY_COMMAND'
- 'LEGACY_COMMAND_CHAIN'
- 'LEGACY_COMMAND_MINECART'
- 'LEGACY_COMMAND_REPEATING'
- 'SHULKER_BOX'
- 'BLACK_SHULKER_BOX'
- 'BLUE_SHULKER_BOX'
- 'BROWN_SHULKER_BOX'
- 'CYAN_SHULKER_BOX'
- 'GRAY_SHULKER_BOX'
- 'GREEN_SHULKER_BOX'
- 'LIGHT_BLUE_SHULKER_BOX'
- 'LIME_SHULKER_BOX'
- 'MAGENTA_SHULKER_BOX'
- 'ORANGE_SHULKER_BOX'
- 'PINK_SHULKER_BOX'
- 'PURPLE_SHULKER_BOX'
- 'RED_SHULKER_BOX'
- 'SILVER_SHULKER_BOX'
- 'WHITE_SHULKER_BOX'
- 'YELLOW_SHULKER_BOX'
- 'LEGACY_BLACK_SHULKER_BOX'
- 'LEGACY_BLUE_SHULKER_BOX'
- 'LEGACY_BROWN_SHULKER_BOX'
- 'LEGACY_CYAN_SHULKER_BOX'
- 'LEGACY_GRAY_SHULKER_BOX'
- 'LEGACY_GREEN_SHULKER_BOX'
- 'LEGACY_LIGHT_BLUE_SHULKER_BOX'
- 'LEGACY_LIME_SHULKER_BOX'
- 'LEGACY_MAGENTA_SHULKER_BOX'
- 'LEGACY_ORANGE_SHULKER_BOX'
- 'LEGACY_PINK_SHULKER_BOX'
- 'LEGACY_PURPLE_SHULKER_BOX'
- 'LEGACY_RED_SHULKER_BOX'
- 'LEGACY_SILVER_SHULKER_BOX'
- 'LEGACY_WHITE_SHULKER_BOX'
- 'LEGACY_YELLOW_SHULKER_BOX'

#For 1.14 API
- 'BARREL'
- 'BLAST_FURNACE'
- 'SMOKER'
#For 1.15 API
- 'BEE_NEST'
- 'BEEHIVE'




#Chat messages with color and format codes support.
#Minecraft Color and Format Codes: http://minecraft.gamepedia.com/Formatting_codes

ChatMessages:
NoPermission: '&4[System] &cYou don''t have permission!'
CmdHelp: '&4[System] &cAvailable commands:&6 /as reload'
CmdReload: '&2[System] &aConfig reload complete!'
OpenSurvivalFrame: '&6[System] &eYou must be in survival mode to place an item in a frame!'
OpenSurvivalArmor: '&6[System] &eYou must be in survival mode to place items in an armor stand!'

Install instructions

  1. Place the plugin in the server plugins folder.
  2. Start the Server. Done, enjoy. Give the bypass permission to players that should be able to use the NBT copy feature. You can always change settings on the config and then do /cnc reload to apply the changes.
Permissions
CNC.bypass
- Allows players in creative to copy blocks (Tile entities) with NBT data using Ctrl + middle mouse click. Default to OP.
CNC.bypass.enchants - Allows players in creative to copy enchants on items. Default to OP.
CNC.admin - Access to config reload command. Default to OP.

Commands
/cnc reload - CNC.admin - Reload the config file.

Useful Info
Found a problem or got a suggestion?

For any issue, suggestion please comment in the Discussion Forum page, the button Discussion.

Left click in creative mode also removes NBT tag.
This is a Minecraft limitation, as it triggers the same creative event for both left click and middle click so there is no way for me to know when you did middle click or not while in creative mode and inside the player inventory, as you can see it works fine when you open a chest or other inventory, the reason for this is the client does not notify the server when you click in creative in your inventory only after you already placed the item so I don't know where did that item come from, creative menu, from inventory or middle click.


If you like this resource and want to say thank you with a donation please use this PayPal button. Thanks!
[​IMG]
This plugin is made by CraftersLand Minecraft Community.
:) Feel free to check us out at: www.craftersland.net
[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Creative NBT Copy Control is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 11,060 times (via Spigot). Download it and open it directly in the game.

Explore more