MC-Market is now BuiltByBit. Read more

  • We're giving away $35,000 of prizes! Invite 2 friends to our Discord for free Premium! Learn more

qFetch - Fetch data from your servers! 1.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

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.
Why did the person under me rate it 4 stars? Anyways this is amazing!
Nice! And thanks for source code :D
Good, but I prefer using CommandSync to send data across my network.
Dank af :D | makes it easy !

Author

sergivb01

Owner
Author
sergivb01
Downloads
44
Views
1,258
First release
Last update
Rating
4.80 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
34 downloads
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.