Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
library:hook:start [2020/09/15 14:04] – created phoenix616library:hook:start [2021/12/06 23:04] (current) – [Maven information] Fix missing close phoenix616
Line 3: Line 3:
 Library to simplify hooking into other plugins. Library to simplify hooking into other plugins.
  
-Currently (directly) support Bukkit and Bungee, adding your own is easily possible though.+Currently (directly) support BukkitBungee and Velocity, adding your own is easily possible though.
  
 ## How to use it ## How to use it
Line 57: Line 57:
 #### Repository: #### Repository:
  
-```xml+<code xml>
 <repository> <repository>
     <id>hook-repo</id>     <id>hook-repo</id>
     <url>https://repo.minebench.de/</url>     <url>https://repo.minebench.de/</url>
 </repository> </repository>
-```+</code>
  
 #### Bukkit adapter: #### Bukkit adapter:
  
-```xml+<code xml>
 <dependency> <dependency>
     <groupId>de.themoep.hook</groupId>     <groupId>de.themoep.hook</groupId>
     <artifactId>hook-bukkit</artifactId>     <artifactId>hook-bukkit</artifactId>
-    <version>1.0-SNAPSHOT<version>+    <version>1.0-SNAPSHOT</version>
     <scope>compile</scope>     <scope>compile</scope>
 </dependency> </dependency>
-```+</code>
  
 #### Bungee adapter: #### Bungee adapter:
  
-```xml+<code xml>
 <dependency> <dependency>
     <groupId>de.themoep.hook</groupId>     <groupId>de.themoep.hook</groupId>
     <artifactId>hook-bungee</artifactId>     <artifactId>hook-bungee</artifactId>
-    <version>1.0-SNAPSHOT<version>+    <version>1.0-SNAPSHOT</version>
     <scope>compile</scope>     <scope>compile</scope>
 </dependency> </dependency>
-```+</code> 
 + 
 +#### Velocity adapter: 
 + 
 +<code xml> 
 +<dependency> 
 +    <groupId>de.themoep.hook</groupId> 
 +    <artifactId>hook-velocity</artifactId> 
 +    <version>1.0-SNAPSHOT</version> 
 +    <scope>compile</scope> 
 +</dependency> 
 +</code>
  
 #### Core for implementing AbstractHookManager: #### Core for implementing AbstractHookManager:
  
-```xml+<code xml>
 <dependency> <dependency>
     <groupId>de.themoep.hook</groupId>     <groupId>de.themoep.hook</groupId>
     <artifactId>hook-core</artifactId>     <artifactId>hook-core</artifactId>
-    <version>1.0-SNAPSHOT<version>+    <version>1.0-SNAPSHOT</version>
     <scope>compile</scope>     <scope>compile</scope>
 </dependency> </dependency>
-```+</code>
  
 ## License ## License