Restrict Player Interfaces

Allows restricting automated remote access to player inventories ("player interfaces")

File Details

1.1.0

  • R
  • Jan 7, 2024
  • 18.46 KB
  • 43
  • 1.12.2
  • Forge

File Name

restrictplayerinterfaces-1.1.0.jar

Supported Versions

  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:restrict-player-interfaces-957385:5015580")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

This release adds support for these interfaces:

  • Player Interface (Random Things)
  • Creative Player Interface (Random Things)
  • Player Interface (Actually Additions)

This release makes the Introspection module safe to use with existing scripts. The previous behavior was to error upon getting an inventory object for a restricted player, and to return no transfer locations on inventory objects for restricted players. Now, for restricted players, no error occurs when getting an inventory object, and the existing inventory and ender_chest transfer locations point to empty, read-only inventories, instead of being removed.