Inventory UI plugin for Endstone servers
Project description
endstone-inventoryui
Read-only Inventory UI plugin for Endstone
API
MenuType
Enum for menu container types:
MenuType.CHEST- Single chest (27 slots)MenuType.DOUBLE_CHEST- Double chest (54 slots)MenuType.HOPPER- Hopper (5 slots)
Menu
Menu(type: MenuType, name: str = "")
Properties:
inventory- TheUIInventoryinstance (similar to Endstone Inventory)
Methods:
set_name(name: str)- Set display nameset_listener(listener)- Slot interact callback:(player: Player, slot: int, item: ItemStack, inventory: UIInventory) -> Noneset_open_listener(listener)- Set menu open callback:(player: Player) -> Noneset_close_listener(listener)- Set menu close callback:(player: Player) -> Nonesend_to(player: Player)- Display menu to playerclose(player: Player) -> bool- Close this menu for player
Usage
Check out the example plugin
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file endstone_inventoryui-1.0.2.tar.gz.
File metadata
- Download URL: endstone_inventoryui-1.0.2.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a487800a8893ff5fb1b3ba64ac8ae722459f7884d12d2f34b107e65b9e05276
|
|
| MD5 |
e46a37a4c91099e187059d5da9a29c0c
|
|
| BLAKE2b-256 |
ba60be7083d8374460491ee5dcff2a6f42cc55a9e5b084529ac97a9b690aeada
|
File details
Details for the file endstone_inventoryui-1.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: endstone_inventoryui-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c77adababc863b5bcba94345870ff2f50f48775da23b29bb7e120fb527ce7ca
|
|
| MD5 |
8c4982d53aed70561c6f507eb72c8720
|
|
| BLAKE2b-256 |
14f48a05bcf0d5b8bb9e45cb900ac7dc7dee10b8eda0a0952a252960904a801f
|