TotalFreedom / TotalFreedomMod

A server modification for the TotalFreedom server
http://totalfreedom.me/
Other
45 stars 222 forks source link

Opening inventories #973

Open ChargedCreeper opened 8 years ago

ChargedCreeper commented 8 years ago

I think admins should be able to directly copy items out of other player's inventories for investigating issues. For example, say someone has an NBT chest in their inventory. An admin could copy it to his inventory and place it to check its contents. This would be very useful for finding trolls who do stuff like give troll items to players via placing/breaking chests.

Wild1145 commented 8 years ago

Sounds like a damn good idea.

JeromSar commented 8 years ago

@ChargedCreeper What exactly would be the difference to Essentials' /invsee?

mysteriace commented 8 years ago

@JeromSar The difference would be simply that in /invsee you cannot copy/take items unless they are de-opped.

FilezPlays commented 8 years ago

Holy sch-moly vouch.

Sabermc7 commented 8 years ago

@JeromSar he means that admins should be able to edit ops inventories. Because in Essentials you can't edit opped players' inventories such as putting items in their inventory, taking items out, etc. So as a replacement admins have access to edit their inventories instead of ops not editing each other's inventories.

OT: I Vouch, this'll be useful for doing some research to see if a player is carrying a illegal item e.g. killer potions or other exploited items.

Wild1145 commented 8 years ago

Actually some minor tweaks to the Essentials command would fix it, the only reason why you cannot modify the inventories is a permissions issue. Just change how the /invsee permissions work in essentials and you could modify them. Its the same on survival servers like DC (How I know its a permissions issue)

lemonsked commented 8 years ago

Bump. Line 650 and 651 of EssentialsPlayerListener has to be changed for this.