Plugin Configuration
PluginConfiguration
Check For Update
Uses a boolean (true or false) to determine whether to check for the latest version of the plugin.
No Block Based Inventory
Block access to blocks with inventories. If a player has the ccm.allow.openchests permission, they'll be allowed to access all block based inventories, but admins with ccm.spy and the console will be notified.
No Entity Based Inventory
Same as No Block Based Inventory but with entities. Block access to entities with inventories. If a player has the ccm.allow.openchests permission, they'll be allowed to access all entity based inventories, but admins with ccm.spy and the console will be notified.
No Drop
Which items cannot be dropped by a player. Players with ccm.allow.drop can drop any item but admins with ccm.spy and the console will be notified.
No Place
Which blocks cannot be placed by a player. Players with ccm.allow.block can place any block but admins with ccm.spy and the console will be notified.
No Spawn
Defines which entities cannot spawned through the use of Spawn Eggs. All entities are supported and a list can be found here. Players with ccm.allow.spawn can spawn any entity, but admins with ccm.spy and the console will be notified.
No Throw
Prevents the throwing of items like snowballs and splash potions. Players with ccm.allow.throw can throw any item, but admins with ccm.spy and the console will be notified.
Block Lava Bucket
Uses a boolean (true or false) to prevent the use of lava buckets. Players with ccm.allow.block can place it despite the config option being true, but admins with ccm.spy and the console will be notified.
Block Water Bucket
Uses a boolean (true or false) to prevent the use of water buckets. Players with ccm.allow.block can place it despite the config option being true, but admins with ccm.spy and the console will be notified.
Block TNT Minecart
Uses a boolean (true or false) to prevent the use of TNT minecarts. Players with ccm.allow.block can place it despite the config option being true, but admins with ccm.spy and the console will be notified.
Config Example
Note: For materials please check here.
# Check for updates. checkForUpdate: false # Prevent players from interacting with block based inventories (i.e. Chests, Dispensers, etc.). # Use materials or it won't register # Use {} to allow all blocks and items. noBlockBasedInventory: dispenser: - 0 chest: - 0 furnace: - 0 burning_furnace: - 0 monster_eggs: - 0 enchantment_table: - 0 brewing_stand: - 0 ender_chest: - 0 beacon: - 0 #Example of how to block all blocks/items with multiple durabilities. anvil: - all trapped_chest: - 0 hopper: - 0 dropper: - 0 # Prevent players from interacting with entity based inventories (i.e. Storage minecart, Villagers) # To enable all entity based mobs, use - none. noEntityBasedInventory: - minecart_chest - minecart_hopper - villager # Prevent blocks/items from being dropped. Use materials or it won't register. # Use {} to allow all blocks and items. noDrop: bedrock: - 0 water: - 0 stationary_water: - 0 lava: - 0 stationary_lava: - 0 tnt: - 0 fire: - 0 mob_spawner: - 0 #Example of how to block all blocks/items with multiple durabilities. monster_eggs: # Silverfish Blocks - all water_bucket: - 0 lava_bucket: - 0 potion: - all # Prevent block placement. Use materials or it won't register. # Use {} to allow all blocks. noPlace: bedrock: - 0 water: - 0 stationary_water: - 0 lava: - 0 stationary_lava: - 0 tnt: - 0 fire: - 0 mob_spawner: - 0 #Example of how to block all blocks/items with multiple durabilities. monster_eggs: # Silverfish Blocks - all water_bucket: - 0 lava_bucket: - 0 # Prevent the use of spawn eggs. # To enable all mobs. Simply put - none. # Example on how to add all possible entities to the list. noSpawn: - all # Prevent items from being thrown. (i.e. Right click with a chicken egg.) # Use materials or it won't register. # Use {} to allow all throwables. noThrow: snow_ball: - 0 egg: - 0 potion: - all exp_bottle: - 0 # Prevent bucket water/lava bucket and TNT Minecart usage. blockWaterBucket: true blockLavaBucket: true blockTNTMinecart: true
Comments