MC-Market is now BuiltByBit. Read more

qFetch - Fetch data from your servers! v1.0

Register now to download for free
sync
Tags
Tags
None
DESCRIPTION:
This open-src plugin allow you to fetch data from other servers via Redis. It has a simple but rich public API (example below). A config is available with simple but useful settings. I coded this because I saw someone who did it on MCM recently but I didn't liked how he did it and the price he was selling it, so I decided to do it by myself and publish it for free. Enjoy it!

COMMAND:
/qfetch <server> - Perm: qfetch.command


SCREENSHOT:
dzkqSNx2SDqS_ZhYJjVBng.png


CONFIGURATION:
Code:
redis:
  host: "localhost"
  port: 6379
  timeout: 2000
  auth:
    enabled: false
    password: ""

#delay in seconds
delay: 5

#server name
server-name: "hcf"

PUBLIC API:
Code:
    /**
    * Returns whether the requested server exists in database.
    * @param server Server name
     * @return Does the server exist
     */
    ServerSyncAPI.serverDataExists(serverName);

    /**
     * Returns data from requested server
     * @param server Server name
     * @return Data from requested server
     */
    ServerSyncAPI.getServerData(serverName);

SRC: https://github.com/sergivb01/qFetch

Thank you! Please pm me with ideas for plugins!

Latest reviews

This license was given for free. What's this?
Thanks for sharing. But, when I compile the src of the plugin, I get an error such as "Could not return the resource to the pool". How can I resolve this error? Thanks.
This license was given for free. What's this?
Why did the person under me rate it 4 stars? Anyways this is amazing!
This license was given for free. What's this?
Nice! And thanks for source code :D
This license was given for free. What's this?
Good, but I prefer using CommandSync to send data across my network.
This license was given for free. What's this?
Dank af :D | makes it easy !

Author

sergivb01

Owner
Author
sergivb01
Downloads
44
Views
1,274
First release
Last update
Rating
5.00 star(s) 5 ratings

More resources from sergivb01

Slack auth is an open source project that provides a second layer of security for staff members.
5.00 star(s) 1 ratings
45 downloads
A simple koth scheduler for your HCF server.
5.00 star(s) 1 ratings
35 downloads
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.