https://github.com/cooldogepm/libbook
Allows you to use books as UIs
https://github.com/cooldogepm/libbook
library minecraft php pmmp pocketmine ui
Last synced: about 2 months ago
JSON representation
Allows you to use books as UIs
- Host: GitHub
- URL: https://github.com/cooldogepm/libbook
- Owner: cooldogepm
- License: mit
- Created: 2022-09-26T22:01:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-29T19:09:39.000Z (over 1 year ago)
- Last Synced: 2025-03-20T19:07:52.771Z (2 months ago)
- Topics: library, minecraft, php, pmmp, pocketmine, ui
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libBook
Send preview of books to players## Examples
### Hello world
```php
$item = VanillaItems::WRITTEN_BOOK();
$item->setPageText(0, "Hello World!");
$item->setPageText(1, "This is an example of libBook");LibBook::sendPreview(Player, $item);
```### Projects using libBook
[RulesBook](https://github.com/nhanaz-pm-pl/RulesBook)