EzQueue [Multi Lobby] [Bungee] [Server Priority Queue] [20% Sale]

 EzQueue [Multi Lobby] [Bungee] [Server Priority Queue] [20% Sale] 3.0

EzQueue [Multi Lobby] [Bungee] [Server Priority Queue] [20% Sale]
  • 1.7
  • 1.8
  • 1.9
  • 1.10
  • 1.11
Contributors:
Signatured
EzQueue - Multi Lobby w/ Donator Priority
RVtxtaM.png


ATTENTION PREVIOUS BUYERS:
This update will break your configurations! This is a 3.0, so the plugin was completely recoded to clean up the code and fix many bugs from the past (including signs not updating). The developer API has also changed, so if you plan on updating you may need to fix any plugins using the API. The biggest change about the configs are now you need to set the ranks in both the bungee and spigot configs.


Description:
This plugin is a first come first serve queue plugin that allows you to give your donators priority over others. It supports multiple lobbies, and also features a Queue Info sign so you can display how many donators are in front of the normal players in the queue. Players can enter the queue via /play or sign if setup.

Features:
  • Wait-list queue with first-come first-server capabilities
  • Give your donators priority over other players so they get into the server faster (great for HCF servers)
  • Supports multiple lobbies
  • Configurable server limits
  • Configurable send delay (to prevent flooding). For example, if you're a HCF server and have a SOTW, players will be sent one at a time with a delay between each send to prevent lag.
  • Queue Signs
  • Queue Info Signs
  • Commands to pause and unpause the queue (for maintenance mode)
  • Developer API
  • Great for Hardcore Faction servers
  • EULA friendly
Setup:


Pictures:
4eCoUA1.png

Z6OQZa0.png


Bungee Configuration:
Code (Text):

# Change the server names under 'servers' to the same names in your bungee config.
# Only add servers below if you want them to have a queue to join.
# The limit is the amount of players you want to allow on that server before they are put into a queue. You can set the limit to -1 for unlimited.
# The send delay is the delay between sending players to the server in seconds (decimals are accepted)
# Use '/play <server>' to be put into the queue if the server is full.

servers:
test:
limit: 10
send-delay: 0
test2:
limit: 20
send-delay: 0

# These are the servers with the EzQueueClient on them. This would usually be all your lobby servers
lobbies:
- lobby
- lobby1

# Lower the priority number, they get further to the front of the queue.
# For example, if player One is already in the queue with 5 priority, then player Two joins the queue
# with a priority of 1, player Two will be put in front of player One in the queue.
#
# --- COPY THIS SECTION EXACTLY TO ALL YOUR SPIGOT SERVERS WITH EZQUEUESPIGOT ---
ranks:
rank1:
permission: "ezq.rank1"
priority: 1
rank2:
permission: "ezq.rank2"
priority: 2
rank3:
permission: "ezq.rank3"
priority: 3

messages:
join-message: "&dYou are position &e#%position% &din the &e%server% &dqueue."
leave-message: "&dYou have left the &e%server% &dqueue."
move-up-message: "&dYou are position &e#%position% &dout of &e%outof% &din the &e%server% &dqueue."
move-down-message: "&dSomeone with &ehigher priority &dhas joined the &e%server% &dqueue. You are now position &e#%position% &d out of &e%outof% &din the queue."
already-in-message: "&dYou are already in the &e%server% &dqueue! You are position &e#%position% &dout of &e%outof%&d."
available-queues-message: "&cAvailable servers: %servers%"
invalid-queue-message: "&cThat's not a valid server! Available servers: %servers%"
already-connected-message: "&cYou're already connected to that server!"
not-in-queue-message: "&cYou aren't in a queue!"
pause-queue-message: "&dQueue for &e%server% &dhas been paused!"
unpause-queue-message: "&dQueue for &e%server% &dhas been unpaused!"

# The interval in seconds that all players in a queue will be updated on their queue position (decimals are accepted)
send-position-message-interval: 10
# Enabling this will update every player on their new position if they move up or down.
send-position-move-message: false

  • Servers need to match the names in your Bungee config
  • Lobbies need to match the names in your Bungee config
  • To make your own ranks, simply replace rank1, rank2, etc with your own rank. Make sure to update the permission node as well. Lower the priority number, they get further to the front of the queue.
  • Limit is the amount of players allowed on the server at one time
  • Send delay is the delay between sending players to the server

Spigot Configuration:
Code (Text):

# This is the sign players see when they aren't in the queue.
queue-sign:
line1: "%server% Queue"
line2: "&a%online%&f/&a%limit%"
line3: "&dClick to join"
line4: "&dthe queue!"

# This is the sign that shows how many of each rank is in the queue.
info-sign:
line1: "Queue Info"
line2: "Rank1: %rank1%"
line3: "Rank2: %rank2%"
line4: "Rank3: %rank3%"

# Lower the priority number, they get further to the front of the queue.
# For example, if player One is already in the queue with 5 priority, then player Two joins the queue
# with a priority of 1, player Two will be put in front of player One in the queue.
#
# --- COPY THIS SECTION EXACTLY TO YOUR EZQUEUEBUNGEE CONFIG ---
ranks:
rank1:
permission: "ezq.rank1"
priority: 1
rank2:
permission: "ezq.rank2"
priority: 2
rank3:
permission: "ezq.rank3"
priority: 3

# This is the message you will be shown if you right click an info sign
info-sign-message: "&dYou can donate for higher queue priority at &ewww.yourshop.com&d!"

queue-sign-locations: {}
info-sign-locations: {}
  • Make sure your ranks match those in the bungee EzQueue config
Commands:
  • /play <server>
  • /ezqueue createjoinsign/createinfosign <server> (perm: ezqueue.create)

Bungee Commands:
  • /queue
  • /leavequeue
  • /pausequeue <queue> (perm: ezq.pausequeue)
  • /unpausequeue <queue> (perm: ezq.pausequeue)
  • /setlimit <queue> <amount> (perm: ezq.setlimit)

Permissions:
  • ezq.create - Create signs
  • ezq.bypass - Bypass the queue entirely
  • ezq.pausequeue - Pause and unpause queues
  • ezq.setlimit - Set the limit of a queue on the fly

Featured Servers: (Contact me to be added)
  • FaithfulHCF.com
  • wenjapvp.net
  • mc.secondlife-network.com
  • lotuspvp.com

Developer API
Code (Text):

/**
* @param name Name of the player you want the position of
* @return Position of player requested. Returns -1 if they aren't queued.
*/
public static int getPosition(String name) {
Player player = Bukkit.getPlayer(name);

if (player == null)
return -1;

return QueueInfo.getPosition(player.getName());
}

/**
* @param uuid UUID of the player you want the position of
* @return Position of player requested. Returns -1 if they aren't queued.
*/
public static int getPosition(UUID uuid) {
Player player = Bukkit.getPlayer(uuid);

if (player == null)
return -1;

return QueueInfo.getPosition(player.getName());
}

/**
* @param player Player of the player you want the position of
* @return Position of player requested. Returns -1 if they aren't queued.
*/
public static int getPosition(Player player) {
return getPosition(player.getName());
}

/**
* @param queue Queue you wish to get the players in
* @return Map of players with their current positions
*/
public static Map<String, Integer> getPlayersInQueue(String queue) {
QueueInfo info = QueueInfo.getQueueInfo(queue);
if (info == null)
return null;

return info.getPlayersInQueue();
}

/**
* @param name Name of player you wish to get the queue for
* @return Queue player is currently in. Null if not queueud
*/
public static String getQueue(String name) {
return QueueInfo.getQueue(name);
}

/**
* @param uuid UUID of player you wish to get the queue for
* @return Queue player is currently in. Null if not queueud
*/
public static String getQueue(UUID uuid) {
Player player = Bukkit.getPlayer(uuid);
if (player == null)
return null;

return QueueInfo.getQueue(player.getName());
}

/**
* @param player Player of player you wish to get the queue for
* @return Queue player is currently in. Null if not queueud
*/
public static String getQueue(Player player) {
return getQueue(player.getName());
}

/**
* @param queue Name of queue you wish to get the size of
* @return Size of queue requested. Returns -1 if queue doesn't exist
*/
public static int getQueueSize(String queue) {
QueueInfo info = QueueInfo.getQueueInfo(queue);

if (info == null)
return -1;

return info.getSize();
}

/**
* @param player Player to add to the queue
* @param queue Queue to add the given player to
*/
public static void addToQueue(Player player, String queue) {
EzQueueUtil.sendJoinRequest(player, queue);
}
}

Other Info:
Please contact me if you have any questions about installation or setup before leaving a review. I'll try to help you ASAP. Also, if you come across any bugs, let me know and I'll get right on it. Thanks for reading!
  • 24061.png
    24061.png
    1.8 KB · Views: 579

Latest reviews

Good plugin, ty.

Similar resources

EzQueue [Multi Lobby] [Bungee] [Server Priority Queue] I
First come first serve bungee queue system with premium priority!
1.00 star(s) 1 ratings
Downloads
229
Updated
EzQueue [Multi Lobby] [Bungee] [Server Priority Queue] iLeak
First come first serve bungee queue system with premium priority!
3.50 star(s) 4 ratings
Downloads
2,249
Updated
EzQueue [Multi Lobby] [Bungee] [Server Priority Queue] [20% Sale] V
0.00 star(s) 0 ratings
Downloads
553
Updated
BlackSpigot General Chat
Rules Help Users
    BlackSpigot.com @ BlackSpigot.com: my vip was not activated Hello, PM me the email you used to pay.
    Top