Code Patterns
Copy-paste examples for common plugin tasks. Commands, events, ECS, GUI, and more.
All
225
Command
60
Damage
2
Ecs
27
Entity
5
Gui
75
Interaction
2
Inventory
4
Moderation
3
Permission
2
Player
9
Plugin
4
Storage
2
Teleport
3
Ui
22
Util
5
Inventory Patterns
4Give Item to Player
Give an item to a player inventory.
Inventory Management
Add, remove, and manage items in player inventory using ItemStack and ItemContainer.
Open Inventory Page
Open different inventory pages/UIs for players using PageManager.
View Other Inventory
Open another player's inventory for viewing/editing.