Update README.md

This commit is contained in:
Quentin Legot 2020-05-20 10:55:11 +02:00 committed by GitHub
parent 7b6f2845df
commit ee02bcd0b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,9 @@
# Help-Rules-book-plugin # Help-Rules-book-plugin
## Ressources:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html#openBook-org.bukkit.inventory.ItemStack- Pour ouvrir les livres
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/BookMeta.html - Pour éditer un livre
Créer un ItemStack book, puis récupérer `(BookMeta) getItemMeta()` modifier les propriétés, puis `player.openBook(ItemStack)`