mirror of
				https://github.com/proxiodev/RedisBungee.git
				synced 2025-10-31 15:58:03 +00:00 
			
		
		
		
	add velocity maven setup, update bungeecord section
This commit is contained in:
		
							parent
							
								
									a8b369dde3
								
							
						
					
					
						commit
						933fceba9d
					
				
							
								
								
									
										40
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										40
									
								
								README.md
									
									
									
									
									
								
							| @ -48,7 +48,7 @@ then to import for bungeecord use: | ||||
| ``` | ||||
| Second method by using jitpack [](https://jitpack.io/#limework/redisbungee) | ||||
| 
 | ||||
| first, add this repository | ||||
| ## Setup jitpack repository | ||||
| ``` | ||||
| 	<repositories> | ||||
| 		<repository> | ||||
| @ -57,7 +57,8 @@ first, add this repository | ||||
| 		</repository> | ||||
| 	</repositories> | ||||
| ``` | ||||
| then add this in your dependencies | ||||
| ## [BungeeCord](https://github.com/SpigotMC/BungeeCord) | ||||
| add this in your project dependencies  | ||||
| ``` | ||||
| 	<dependency> | ||||
| 	    <groupId>com.github.limework.redisbungee</groupId> | ||||
| @ -67,9 +68,40 @@ then add this in your dependencies | ||||
| 	</dependency> | ||||
| 	 | ||||
| ``` | ||||
| then in your project plugin.yml add `RedisBungee` to `depends` | ||||
| then in your project plugin.yml add `RedisBungee` to `depends` like this | ||||
| ``` | ||||
| name: "yourplugin" | ||||
| main: your.main.class | ||||
| version: 1.0.0-SNAPSHOT | ||||
| author: idk | ||||
| depends: [ RedisBungee ] | ||||
| ``` | ||||
| 
 | ||||
| 
 | ||||
| ## [Velocity](https://github.com/PaperMC/Velocity) | ||||
| ``` | ||||
| 	<dependency> | ||||
| 	    <groupId>com.github.limework.redisbungee</groupId> | ||||
| 	    <artifactId>RedisBungee-Velocity</artifactId> | ||||
| 	    <version>VERSION</version> | ||||
| 	    <scope>provided</scope> | ||||
| 	</dependency> | ||||
| ``` | ||||
| then to make your plugin depends on RedisBungee in make sure your Annotation have `@Dependency(id = "redisbungee")` like this | ||||
| ``` | ||||
| @Plugin( | ||||
|   id = "myplugin", | ||||
|   name = "My Plugin", | ||||
|   version = "0.1.0-beta", | ||||
|   dependencies = { | ||||
|     @Dependency(id = "redisbungee") | ||||
|   } | ||||
| ) | ||||
| public class PluginMainClass { | ||||
| 
 | ||||
| } | ||||
| ``` | ||||
| 
 | ||||
| instructions for Velocity will be added later. | ||||
| ## Javadocs | ||||
| 
 | ||||
| https://proxiodev.github.io/RedisBungee-JavaDocs/0.7.2-SNAPSHOT | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user