{"id":15144064,"url":"https://github.com/artulloss/hotbar","last_synced_at":"2026-02-25T09:34:41.947Z","repository":{"id":42200855,"uuid":"152776802","full_name":"artulloss/Hotbar","owner":"artulloss","description":"A versatile and fully featured hotbar plugin for PMMP!","archived":false,"fork":false,"pushed_at":"2022-01-09T20:02:53.000Z","size":2105,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-15T23:23:03.895Z","etag":null,"topics":["hotbar","mcbe","mcpe","plugin","pocketmine-mp-plugin","pocketmine-plugins"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artulloss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-12T16:10:47.000Z","updated_at":"2023-02-21T13:46:06.000Z","dependencies_parsed_at":"2022-07-10T20:33:51.702Z","dependency_job_id":null,"html_url":"https://github.com/artulloss/Hotbar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artulloss%2FHotbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artulloss%2FHotbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artulloss%2FHotbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artulloss%2FHotbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artulloss","download_url":"https://codeload.github.com/artulloss/Hotbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237882172,"owners_count":19381176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hotbar","mcbe","mcpe","plugin","pocketmine-mp-plugin","pocketmine-plugins"],"created_at":"2024-09-26T10:21:34.508Z","updated_at":"2025-10-23T20:31:25.660Z","avatar_url":"https://github.com/artulloss.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![](https://poggit.pmmp.io/shield.state/Hotbar)](https://poggit.pmmp.io/p/Hotbar)\n[![](https://poggit.pmmp.io/shield.dl.total/Hotbar)](https://poggit.pmmp.io/p/Hotbar)\n# Hotbar\nA versatile and full featured hotbar plugin! Add items and make them execute commands, on any world!\n## Configuration\n\nThe [default configuration](https://github.com/artulloss/Hotbar/blob/master/resources/config.yml) provides lots of help setting up the plugin!\n\n#### Hotbars\n\nHotbars are inventory containers for the slots 1-9, you can define them in the config.yml file, and make them automatically appear in worlds using the Worlds part of the configuration.\n\n```yaml\nWorlds: # Here you can specify hotbars above and pair them with worlds\n  world: UniqueHotbarName\n ```\n\nIf you don't have them automatically appear, you can still call them by calling the command `hotbar {identifier} {player}`\n\n*Note that this command can only be called by the console*\n\n#### Command format\n\nFor every item you need to add commands in order to do things.\nThis plugin accepts multiple commands per tap, and they will be executed in the order that they're listed in.\n\nCommands are listed in the format of commandToExecute@executor where executor must be either player, op or console.\n\nYou can also leave out the @executor part for most commands by specifying a default way for them to be run using the Default Command Options part of the config.\n```yaml\nDefault CommandOptions: player # or op or console\n```\n\n#### Replaceable in commands\nYou can use these in your commands to make references to the player!\nThese are capitalization sensitive, so make sure to type them as shown here!\n```\n{player}  IGN of the player\n{tag}     Name tag of the player\n{level}   The players level\n\n{x}       The players X\n{y}       The players Y\n{z}       The players Z\n```\n\n#### Locking Inventories\n\nYou may wish to block a player from modifying their inventory when they have a hotbar, the \"Locked Inventory\" part of the config allows for this:\n\n```yaml\nLocked-Inventory:\n- example\n- world\n```\n\nLocked inventories are unable to have items moved in them, and players with locked inventories can't pickup items or arrows.\n\n*Note that items will be locked until the Hotbar is removed from the player.*\n\n#### The Hotbar Command\n\nPreviously, the hotbar command could only be used by the console, however now there is \"hotbar\" permission that allows a user to access the command.\n\nThere are a few uses of the hotbar command.\n\nTo remove a hotbar simply type the command\n```\nhotbar {clear} {player}\n```\n\nwhere player is the players name. The brackets around clear are to make sure you don't name a world that by mistake, in which case it will clear rather than send the hotbar. This will also unlock the players inventory and allow them to move items.\n\nTo send a hotbar to a player you can use the command like so\n\n```\nhotbar {hotbarName} {player}\n```\n\nWhere {hotbarName} represents the name of the hotbar and {player} is the players name (leave out the brackets here)\n\nYou are also able to list all hotbars using the list argument:\n\n```\nhotbar {list}\n```\n\n#### Cooldown\nThe cooldown is to \"fix\" the player interact spam bug, which is a client side issue on Windows 10, I recommend the default value, but you can set it as high/low as you'd like.\n\n#### API\n\nThis plugin comes with a full API and allows for the creation of Hotbars that use closures to execute code as well as hotbars that execute commands. To make use of this a plugin would simply need to create a new ClosureHotbar or CommandHotbar and then do \n```php\n// Make sure $player is an instance of the Player class\n$player-\u003egetServer()-\u003egetPluginManager()-\u003egetPlugin('Hotbar')-\u003egetHotbarUsers()-\u003eassign($player, $hotbar);\n```\n\n#### Plugin extensions\n\nMake a plugin that uses the API from this? Open an issue and I'll add it to the list\n\nSo far:\n\n- [FloatingHotbar](https://github.com/artulloss/FloatingHotbar) makes the item you're holding float in front of you\n\n#### Demo of this plugin\nTo see this plugin in action, you can join my server: versai.pro 19132\n\n#### Support?\nAdd Discord: adam#9876\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartulloss%2Fhotbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartulloss%2Fhotbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartulloss%2Fhotbar/lists"}