{"repo":"Swofty-Developments/AtlasRedisAPI","free":true,"listed":false,"github":"https://github.com/Swofty-Developments/AtlasRedisAPI","clone":"git clone https://github.com/Swofty-Developments/AtlasRedisAPI.git","description":"Blazingly fast multi-purpose Redis API based on Jedis. Used and maintained by Atlas Network.","language":"Java","stars":18,"topics":["java","minecraft","redis","redis-api"],"license":"MIT","category":"databases-storage","readme_excerpt":"Atlas Redis API JavaDoc 1.0.3 Used by Atlas Network. Simple but blazingly fast all-purpose Redis API. Perfect for use in JSP, Minecraft, Server Backends or just about anything else! Table of contents Getting started Connecting to Redis Server Subscribing to a channel Sending messages to a specific server Publishing messages Events & incoming messages License Getting started This API is intended for stand-alone usage, meaning that you do not need to run any extra spigot-plugins to use this library. Add AtlasRedisAPI to your project First, you need to setup the dependency on the AtlasRedisAPI. Replace VERSION with the version of the release. Maven Gradle Connecting to Redis Server Before doing anything on the API, it is necessary to generate an instance of the RedisAPI class to connect to your Redis server. Subscribing to a channel To receive data from your Redis server, you need to subscribe selected channels. You can do it simply just by calling: Sending messages to a specific server Due to the nature of this API - There are probably going to be situations in which you will probably want to send a message to a specific pool listening to a channel. To do this, you need to add a Filter ID to your RedisAPI instance, this Filter ID is then checked against whenever you send a message from a different connection, check 'Publishing Messages' for more information on how to do that. Publishing messages You can easily publish messages to the RedisAPI instance. It is not required to sub","default_branch":null,"files":null,"tree":[],"storefront":"/r/Swofty-Developments","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Swofty-Developments/AtlasRedisAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}