From ae46a4a8a976eca96797e3d68501bfb7f092507f Mon Sep 17 00:00:00 2001 From: 502647092 Date: Mon, 29 Feb 2016 20:41:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0README=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E6=96=87=E4=BB=B6...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- README.MD | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 README.MD diff --git a/README.MD b/README.MD new file mode 100644 index 0000000..b8fe49b --- /dev/null +++ b/README.MD @@ -0,0 +1,66 @@ +#TellRaw +A Simple Minecraft TellRaw Lib Depend [GsonAgent](https://coding.net/u/502647092/p/GsonAgent/git) +This Lib is Compatible with 1.7.X-1.8.X +## Installation +Maven Repo +```XML + + + citycraft-repo + http://hs.yumc.pw:8080/plugin/repository/everything/ + + +``` +Maven Depend +```XML + + + cn.citycraft + TellRaw + jar + 1.0 + + +``` +Maven Shade [Shade Or Depend] +```XML + + + org.apache.maven.plugins + maven-shade-plugin + 2.3 + + + + cn.citycraft:GsonAgent + cn.citycraft:TellRaw + + + + + + package + + shade + + + + + +``` +Bukkit Depend [Shade Or Depend] +```XML +softdepend: [TellRaw,GsonAgent] +``` +##Usage +```java +FancyMessage fm = FancyMessage.newFM(); +/*Item Tooltip*/ +fm.then("Wood").itemTooltip(new ItemStack(Material.WOOD)); +/*Web Link*/ +fm.then("link").link("www.yumc.pw"); +/*Command Suggest*/ +fm.then("suggest").suggest("qs help"); +/*Send To Player*/ +fm.send(Bukkit.getPlayer("XXX")); +``` \ No newline at end of file