ItemTag icon

ItemTag 4.5.0

Tag Spawned items with short UniqueID (generated from UUID).

Do you sometimes wish to "tag" items/blocks spawned by players? so that you can find the owner?

Do you sometimes wish to prevent other non-donors obtaining or using items/blocks spawned by someone else?

This plugin will attach a unique "tag" to spawned items.  The tag is computed from player's (spawner's) UUID.

img1.png

By default, this plugin just tag spawned item, but you can prevent followings by turning the flag on in config.yml:
 
  • picking up items/blocks, which have someone else's tags,
  • using item/blocks, which have someone else's tag, to be used for crafting,
  • materialize (turn a block into the material : for instance DIAMOND_BLOCK to DIAMONDs)

You can give your moderator/admin to have access to
/itemtag findowner
command so that the legitimate owner of the items/blocks can be found.

For Server staff members:
By listing server staff members, who might have some special/OP tools in their inventory, under
ForceBlocked:

the section in config.yml, any items/blocks tagged by these players won't be picked up by anyone (except by those with itemtag.admin permission node).

Commands:
 
  • /itemtag  : Displays the help menu
  • /itemtag reload : reloads the config.yml
  • /itemtag findowner : displays the name of the player who spawned the item you're currently holding.
  • /itemtag tag : tags the item you're holding

Permission Node:
 
  • itemtag.reload : allows a user to use /itemtag reload command.
  • itemtag.findowner : allows a user to use /itemtag findowner command.
  • itemtag.tag : allows a user to use /itemtag tag
  • itemtag.admin : allows you to tag an item even it is already tagged.

Installation:
You just need to install ItemTag.jar in the plugins folder.

[SPOILER="config.yml"]
# This is a template config file[/FONT][/COLOR][/font][/color][/font][/size][/color]
# define your parameter and its value like:
error_msg : "&c [ItemTag] : Some error occured."
NoOwnerFound : "&a[ItemTag] : This item is not owned by anyone"
OwnedBy : "&a[ItemTag] : This item is owned by &e%player%&a."

#
TagPrefix: "ITID"
TagSeparator: ":"
TagFormat: "&b%prefix%%separator%%id%"

#
# if this is true, players cannot pick up tagged spawned items
BlockPickup: false
#
# if this is true, players cannot use tagged spawned items to craft something
BlockCrafting: false
#
# if this is true, players cannot turn a tagged spawned item into materials
# like DIAMOND_BLOCK to DIAMONDs
BlockMaterialize: false
#
# when the above flag (BlockMaterialize) is true, anthing to make the following
# items from a tagged spawned item will be blocked.
BlockedTargets:
# - DIAMOND
# - GOLD_INGOT
# - IRON_INGOT
#
#
Exceptions:
#
#
# The following command will trigger tagging of a spawned item.
# player: option indicates which parameter has player's name, for instance
# player: 0 means there is no player name, hence the tag of the player who executed the command will be assigned
# player: 1 means that 1st parameter of the command is player's name (eg /give vk2gpz DIRT)
SetCommands:
  kit:
    player: 0
  i:
    player: 0
  ei:
    player: 0
  item:
    player: 0
  eitem:
    player: 0
  give:
    player: 1
  egive:
    player: 1
#
#
#
BlockedCommands:
# - sell

#
# items tagged by the players who are listed here
# can never be picked up unless you have itemtag.admin permission node
#
ForcedBlocked:
- vk2gpz
[/SPOILER]
[SPOILER="config.yml"][/spoiler][SPOILER="config.yml"]
[/SPOILER]