Skip to content

Minecraft plugin for tracking who stole your junk

License

Notifications You must be signed in to change notification settings

jjj5311/InkPack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InkPack

Minecraft plugin for tracking who stole your junk

The idea is that you can craft (currently with a command called /inkpackcreate) a special ink sac that pops when you break a containing chest or kill the player holding it. All items then get a special "Inked" lore, and those items can then be tracked with another special command called /inkpack [id], or by standing in the chunk it popped in, and doing /inkpack with no id parameter. It will list all the items and who or what is currently holding it (or held it last).

This was built from looking at how PrisonPearl from erocs works and probably has copy-pasta from sections of PrisonPearl, which is why the license will have a civcraft license section as well.

How to get it working:

  1. Figure out how to add commons-codec-1.9.jar from apache commons to lib/commons-codec-1.9.jar because I'm not including it in the project.
  2. when you build the jar from the export menu, be sure to use the MANIFEST.MF file, which for some reason doesn't get used automatically. This should help the apache commons codecs library to magically get added.
  3. Add the bukkit jar to the referenced libraries.

TODO:

  1. Permissions to prevent everyone from getting the fancy commands.
  2. Some properly configurable way to add the "InkPack" lore to the ink sac. (Look into FactoryMod for this)
  3. Add some way to remove the Inked lore (an /inkpackclean command)
  4. Add an expiration on the ink that will cause it to self-clean when next moved
  5. /inkpack command range limit
  6. Saving/loading into a text file so things work between server loads.
  7. Figuring out why the ink pack lore isn't recognized after server restart
  8. Config file for setting range limits and expiration times.

About

Minecraft plugin for tracking who stole your junk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%