Inventory Transfer (Bukkit)

  • Have you experienced losing access to your account and creating a new one, and then you can't access your old items on your server?
  • Have you tried changing your Minecraft Profile name but lost your items? Now you have to wait 30 days to change it; someone might have already taken your old username.
  • Are you a server admin that wants the ability to transfer inventories from one player to another?
  • Or maybe you're just interested?

 

Inventory Transfer(InvShift) is a Bukkit plugin that allows Server Ops to transfer the items in a player's inventory to another, whether online or offline.

 

It took 59 build attempts to build this version. The plugin is straightforward with its functionalities, but the code and expertise required to implement them were a hurdle. 

 

How to use it?

Add the correct plugin jar to your /plugins/ directory in your server. Restart your server and type /transfer, and use the tab autocompletes to complete the command.

 

Command syntax:

/transfer <from|to> <playername> <from|to> <playername>

Example command: /transfer from SSS_Ryun to Test

 

How it works:

Once you use the command, the plugin will start looking for the players that match the player names provided. If they are offline, the plugin uses NMS to wrap the offline player's data to allow the plugin to transfer to or from the offline player.

Note: NMS is not version backward-forward compatible as changes done by Mojang bring breaking changes to NMS. Thus, this is a temporary solution as I try to dig through the Bukkit API or the other forks for a permanent replacement. In essence, this plugin will be backward-forward compatible across major versions except in special cases if NMS could be avoided.

 


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    873733
  • Created
    Jun 12, 2023
  • Last Released File
    Never
  • Total Downloads
    806
  • License

Categories

Members

Recent Files