Skip to content

whynotmax/RedisQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedisQ - the new way to queue in minecraft

It is a simple and easy to use plugin that allows you to queue up for a server.

Features

  • Queue up for a server
  • Customizable messages

Commands

  • /queue <name> - Queue up for a server
  • /queue leave - Leave the queue

Permissions

  • redisq.queue.<name> - Allows you to queue up for a server with the name
  • redisq.leave - Allows you to leave the queue

Configuration

redis:
    url: "redis://127.0.0.1:6379"
    password: "password"
general:
    prefix: "<dark_gray>[<red>RedisQ<dark_gray>]<gray>"
    no-permission: "%prefix% <red>You do not have permission to do that. (%permission%)"
    no-console: "%prefix% <red>This command can only be executed by players."
    no-args: "%prefix% <red>Usage: %usage%"
    no-queue: "%prefix% <red>Queue with the name %name% not found."
    sending-to-server: "%prefix% <gray>Sending you to %server%..."
    queue-leave: "%prefix% <gray>You have left the queue."

Installation

  1. Download the plugin from the releases page
  2. Put the plugin in your plugins folder
  3. Start your server
  4. Edit the configuration file to your liking
  5. Reload the server or restart it
  6. You're done!

Developer API

You can use the API to queue up players from your own plugins. Here is an example:

Additionally, you can listen to the following events:

  • QueueJoinEvent - Called when a player joins the queue
  • QueueLeaveEvent - Called when a player leaves the queue
  • QueueSendEvent - Called when a player is sent to a server

Support

If you need help with the plugin, you can message me. Please take a look at my profile readme for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits

About

A simple minecraft server queue system built with gradle and redisson. 1.19+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages