PrivateItems [1.18.1 - 1.19.x] icon

PrivateItems [1.18.1 - 1.19.x] -----

Make items non-transferable between players



728005-0fb35d9c7d6c7de2f2e2b8def5fd5e40.png
Make items that cannot be transferred among players

If you want to give a special reward item, a super exclusive item or any other thing you don't want the player to be able to give to others, PrivateItems is your plugin.

How it works
When a player gets a private item for the first time, this item will be linked to that player and only they will be able to have it on his inventory, that is, no other player will be able to pick it up from the ground or from a container.

Commands (only admin)
Code (YAML):
makeprivate:
  description
: Makes an item private
unmakeprivate
:
  description
: Makes a private item non-private
seeowner
:
  description
: Displays the private item owner
reload
:
  description
: Reloads the config

Permissions
Code (YAML):
 privateitems.makeprivate:
    description
: Makes an item private
    default
: false
  privateitems.unmakeprivate
:
    description
: Makes a private item non-private
    default
: false
  privateitems.seeowner
:
    description
: Displays the private item owner
    default
: false
  privateitems.ignore
:
    description
: The player ignores the plugin when pick a private item
    default
: false

Config file
Code (YAML):
## ADMIN

make_private_message
: "This item is now private"
already_private_message
: "This item is already private"
not_private_message
: "This item was not private"
removed_private_message
: "This item is no longer private"
private_item_owner_message
: "This item belongs to %player%"
private_item_no_owner_message
: "This item doesn't have an owner"
no_item_in_hand
: "You don't have any item in your main hand"


## PLAYER

# If true, a message will be sent to the player when they get a private item for the first time
send_attach_item_message
: true
# Message:
attach_item_message
: "This item is now only yours"

# If true, a message will be sent to the player when they pick an own private item
send_player_attached_item_pick_message
: true
# Message:
player_attached_item_pick_message
: "This item is yours"

# If true, a message will be sent to the player when they pick a private item they doesn't own
send_player_non_attached_item_pick_message
: true
# Message:
player_non_attached_item_pick_message
: "This item is not yours, the owner is %player%"
# Cooldown of this message in seconds (when the item is on ground):
player_non_attached_item_pick_message_cooldown
: 5


If you find any bug or problem please let me know and i will fix it.
Also any improvements or suggestions are welcome ;)
Resource Information
Author:
----------
Total Downloads: 283
First Release: Sep 16, 2022
Last Update: Sep 16, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings