CreativeItemControl

CreativeItemControl [Removed]

Source:ย https://github.com/cybertiger/Bukkit-CreativeItemControl |ย  https://www.spigotmc.org/resources/creativeitemcontrol.9471/

An anticheat plugin to both prevent players from spawning in custom items via hacked clients, and allow restriction of what items can be used from creative menus.

  • Blocks access to items not in creative menus.
  • Selectively block access to specific creative menus.
  • Blocks hacked clients from spawning op me books.
  • Blocks hacked clients from spawning command blocks.
  • Blocks hacked clients from spawning items with custom NBT.
  • Does not block crafted or enchanted items not available in menus unless explicitly blacklisted.
  • Selectively block access to specific items.
  • Custom permission messages.
  • Custom broadcast messages and targets.
  • Custom commands on violations, automatically kick or ban.
  • Ability to broadcast full item NBT so you can see exactly what was blocked.
  • Whitelist to allow custom NBT on some items.

Commands

command:ย /cicreload
permission: creativeitemcontrol.reload

Reload the configuration file.

Permissions

Permission:ย creativeitemcontrol.*
Default:ย op
Grants access to all creativeitemcontrol permissions.

Permission:ย creativeitemcontrol.reload
Default:ย op
Allows use of theย /cicreloadย command.

Permission:ย creativeitemcontrol.bypass
Default:ย op
Bypasses all CreativeItemControl checks.

Permission:ย creativeitemcontrol.menu.*
Default:ย op
Grants access to items from all creative menu tabs.

Permission:ย creativeitemcontrol.menu.building
Default:ย true
Grants access to items from the building tab in the creative menu.

Permission:ย creativeitemcontrol.menu.decoration
Default:ย true
Grants access to items from the decoration tab in the creative menu.

Permission:ย creativeitemcontrol.menu.redstone
Default:ย true
Grants access to items from the redstone tab in the creative menu.

Permission:ย creativeitemcontrol.menu.transportation
Default:ย true
Grants access to items from the transportation tab in the creative menu.

Permission:ย creativeitemcontrol.menu.miscellaneous
Default:ย true
Grants access to items from the miscellanious tab in the creative menu.

Permission:ย creativeitemcontrol.menu.foodstuffs
Default:ย true
Grants access to items from the foodstuffs tab in the creative menu.

Permission:ย creativeitemcontrol.menu.tools
Default:ย true
Grants access to items from the tools tab in the creative menu.

Permission:ย creativeitemcontrol.menu.combat
Default:ย true
Grants access to items from the combat tab in the creative menu.

Permission:ย creativeitemcontrol.menu.brewing
Default:ย true
Grants access to items from the brewing tab in the creative menu.

Permission:ย creativeitemcontrol.menu.materials
Default:ย true
Grants access to items from the materials tab in the creative menu.

Permission:ย creativeitemcontrol.blacklist.*
Default:ย op
Grant access to items listed in all blacklists.

Permission:ย creativeitemcontrol.blacklist.<name>
Default:ย op
Grant access to items in the named blacklist (see the configuration section).

Configuration

Sample configuration:

Code (Text):
# Rate limiting (defaults to disabled)
# Limits item clicks to rateLimit per rateLimitTime.
# Example below for limiting to 100 item clicks or drops per 60 seconds.
#
# rateLimit: 100
# rateLimitTime: 60# Custom blacklists
#
# You can name these whatever you want, a permission with the appropriate name
# will be created automatically.
#
# The lists below serve only as an example, feel free to rename, remove or
# add lists according to your server’s needs.
blacklist:
basic:
items:
– ‘minecraft:barrier’
– ‘minecraft:water_bucket’
– ‘minecraft:flint_and_steel’
– ‘minecraft:monster_egg’
spawner:
items:
– ‘minecraft:mob_spawner’
– ‘minecraft:spawn_egg’
limited:
items:
– ‘minecraft:lava_bucket’
– ‘minecraft:tnt’
– ‘minecraft:tnt_minecart’

# Whitelist – items to allow arbitrary nbt on.
# Enchanted items may not be safe e.g. looting 32000.
whitelist:
– ‘minecraft:skull’
– ‘minecraft:banner’
– ‘minecraft:bow’
– ‘minecraft:iron_sword’
– ‘minecraft:wooden_sword’
– ‘minecraft:stone_sword’
– ‘minecraft:diamond_sword’
– ‘minecraft:golden_sword’
– ‘minecraft:leather_helmet’
– ‘minecraft:leather_chestplate’
– ‘minecraft:leather_leggings’
– ‘minecraft:leather_boots’
– ‘minecraft:chainmail_helmet’
– ‘minecraft:chainmail_chestplate’
– ‘minecraft:chainmail_leggings’
– ‘minecraft:chainmail_boots’
– ‘minecraft:iron_helmet’
– ‘minecraft:iron_chestplate’
– ‘minecraft:iron_leggings’
– ‘minecraft:iron_boots’
– ‘minecraft:diamond_helmet’
– ‘minecraft:diamond_chestplate’
– ‘minecraft:diamond_leggings’
– ‘minecraft:diamond_boots’
– ‘minecraft:golden_helmet’
– ‘minecraft:golden_chestplate’
– ‘minecraft:golden_leggings’
– ‘minecraft:golden_boots’

# In strings
# %1$s – player name.
# %2$s – item name.
# %3$s – full item nbt.
# Note: you can limit the length of the strings with the following:
# %3$.80s – full item nbt (limited to 80 characters).

# Action when a player spawns an item not in the creative menu.
unavailable:
# Optional, defaults to true
# ย block: true

# Optional, if not set, no message is sent.
message: ‘You do not have permission for %2$s.’

# Optional, defaults to bukkit.broadcast.admin
# ย broadcastPermission: bukkit.broadcast.admin

# Optional, if not set, no broadcast is sent.
broadcastMessage: ‘%1$s attempted to spawn in %3$s’

# List of commands, to run.
# ย commands:
# ย – ‘kick %1$s You do not have permission for %2$s.’

# Action when a player spawns an item in the creative menu they have no permission for.
# Any of the values from the unavailable action can be set here.
nopermission:
message: ‘You do not have permission for %2$s.’

# Action when a player spawns an item which is blacklisted.
# Any of the values from the unavailable action can be set here.
blacklisted:
message: ‘You do not have permission for %2$s.’

# Action when a player exceeds the item click/drop rate limit
# Note: this check is performed first
# This might be extremely spammy for admins.
onRateLimit:
broadcastMessage: ‘%1$s exceeded rate limit for inventory clicks or dropped items’
message: ‘Do not click so fast!’

Source:ย https://github.com/cybertiger/Bukkit-CreativeItemControl

Leave a Reply

Your email address will not be published. Required fields are marked *

nine − 2 =

Skip to toolbar