xGift Plugin - Share Your Items with Friends!
Overview:
The
xGift plugin allows players to gift items to other players using the /gift command. When a player uses the command while holding an item, the item is removed from their inventory and transferred to the specified recipient.
Features:
- Players can gift items directly from their hand.
- The item is removed from the sender and added to the recipient.
- Simple and lightweight command-based gifting system.
Commands:
/gift <playername>
Description: Sends the item in the sender's hand to the specified player.
Usage:
/gift <playername>
Example:
/gift GodXPro
If the sender is holding a diamond sword, it will be sent to Steve, and the sender will lose the item.
Permissions
Permission Node
Description
Default
xgift.use Allows players to use the
/gift command. true
Configuration (config.yml)
messages:
no-item: "&cYou must be holding an item to gift it!"
player-not-found: "&cPlayer not found!"
gift-success: "&aYou have successfully gifted the item to {player}!"
received-gift: "&aYou have received a gift from {sender}!"
Installation:
- Download the xGift.jar file.
- Place it into the plugins folder of your Minecraft server.
- Restart or reload your server.
- Modify the config.yml file if needed.
- Enjoy gifting items!
Compatibility:
- Minecraft Version: 1.16 - 1.21.4
- Server Type: Paper, Spigot, Bukkit
Developer Info:
Author: GodXPro
Discord: godxpro.exe
Thank You For Using xGift In Your Server!