From ee02bcd0b71a0322be7e121757bbdcb5439bb506 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Wed, 20 May 2020 10:55:11 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 057ec13..2062d45 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ # 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)`