Server Queue Plugin

Status
This thread has been locked.

Zanthe

Premium
Feedback score
5
Posts
82
Reactions
22
Resources
0
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

24553

Gameplay Capture Artist & Trailer Editor
Deactivated
Feedback score
10
Posts
425
Reactions
163
Resources
0
In my plugin PixelmonGym, it uses a queue system that I built from the ground up.
Pasted the code below if anyone wants to use it.

It is using some of my own solutions in there which you won't need but there cool checks that can be used in other ways.
I know you are not asking for code, but if you know how to then use it. Otherwise someone else can.

https://github.com/kayc01/PixelmonGym/blob/master/src/me/Ckay/gym/PixelGym.java

You need to know what you are looking for.

You need a BukkitRunnable if you want a cooldown
Some lists, for the cooldown.
And lists for the queue.
Possibly a config file if you want to check stats of a player before joining to see if eligible, etc..

I can easily tone this down for you personally and customise it for you if needed for a cheap price.

Let me know
 
Last edited:

Vader

Feedback score
1
Posts
28
Reactions
5
Resources
0
In my plugin PixelmonGym, it uses a queue system that I built from the ground up.
Pasted the code below if anyone wants to use it.

It is using some of my own solutions in there which you won't need but there cool checks that can be used in other ways.
I know you are not asking for code, but if you know how to then use it. Otherwise someone else can.

https://github.com/kayc01/PixelmonGym/blob/master/src/me/Ckay/gym/PixelGym.java

You need to know what you are looking for.
I can easily tone this down for you personally and customise it for you if needed for a cheap price.

Let me know

He doesn't want a simple stupid single server queue, that can be done in seconds. He wants a queue that syncs over multiple servers (and potentially proxies).
 

24553

Gameplay Capture Artist & Trailer Editor
Deactivated
Feedback score
10
Posts
425
Reactions
163
Resources
0
He doesn't want a simple stupid single server queue, that can be done in seconds. He wants a queue that syncs over multiple servers (and potentially proxies).

"Stupid" "Single Queue" Lmao.

Can easily do that with my system.
 

Vader

Feedback score
1
Posts
28
Reactions
5
Resources
0
"Stupid" "Single Queue" Lmao.

Can easily do that with my system.

No you can't easily convert your cancerous code to sync across multiple servers. It'd be easier to completely make a new one. Your code is terrible by the way, I think you should see what the OP wants exactly by going on hydrapvp.
 

24553

Gameplay Capture Artist & Trailer Editor
Deactivated
Feedback score
10
Posts
425
Reactions
163
Resources
0
No you can't easily convert your cancerous code to sync across multiple servers. It'd be easier to completely make a new one. Your code is terrible by the way, I think you should see what the OP wants exactly by going on hydrapvp.

Messy but works a charm.
You could easily just set to a file or push to a git that syncs all server info and stats if they are in a certain queue.
 

Vader

Feedback score
1
Posts
28
Reactions
5
Resources
0
Messy but works a charm.
You could easily just set to a file or push to a git that syncs all server info and stats if they are in a certain queue.

Why would you push to git to sync a queue??? The queue has to be working live time across multiple plugin instances, and your broken code that doesn't even follow OOP can't accomplish that easily. It'd need a complete rewrite.

I don't think you know what the OP wants...
 
Last edited:

Clyde

Premium
Feedback score
44
Posts
1,574
Reactions
1,220
Resources
0
In my plugin PixelmonGym, it uses a queue system that I built from the ground up.
Pasted the code below if anyone wants to use it.

It is using some of my own solutions in there which you won't need but there cool checks that can be used in other ways.
I know you are not asking for code, but if you know how to then use it. Otherwise someone else can.

https://github.com/kayc01/PixelmonGym/blob/master/src/me/Ckay/gym/PixelGym.java

You need to know what you are looking for.

You need a BukkitRunnable if you want a cooldown
Some lists, for the cooldown.
And lists for the queue.
Possibly a config file if you want to check stats of a player before joining to see if eligible, etc..

I can easily tone this down for you personally and customise it for you if needed for a cheap price.

Let me know
Holy... Clean and fix your code, Jesus.
 

24553

Gameplay Capture Artist & Trailer Editor
Deactivated
Feedback score
10
Posts
425
Reactions
163
Resources
0
Why would you push to git to sync a queue??? The queue has to be working live time across multiple plugin instances, and your broken code that doesn't even follow OOP can't accomplish that easily. It'd need a complete rewrite.

If you say so.

Holy... Clean and fix your code, Jesus.

Doesn't need fixing.
Was my first every project, 4 years ago... I just kept it all in one class as that's how I started and it worked.

Bad practice but I do it just for a bit of fun.
Therefore it doesn't need to look good. As long as it works.
 

Clyde

Premium
Feedback score
44
Posts
1,574
Reactions
1,220
Resources
0
Single server queues are relatively easily and quick to make for any decent developer with an idea of how it works, but proxy queues are an entirely different story.
 
Status
This thread has been locked.
Top