ZorahPractice Release

Status
This thread has been locked.

joeleoli

@bigjoeleoli
Banned
Feedback score
15
Posts
468
Reactions
615
Resources
0
This got leaked earlier because I let somebody else sell it, and I don't work on it anymore, so I'm just going to release it. This plugin dominates any other practice plugin on the market. Leave a star on github ya feel?

Here is the original thread:
http://www.mc-market.org/threads/182974/

Source + Dependencies:
https://github.com/ijoeleoli/ZorahPractice

READ THE README. Don't ask for help with setup, you won't get a response.
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

joeleoli

@bigjoeleoli
Banned
Feedback score
15
Posts
468
Reactions
615
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/joeleoli-scam-report.408697/)

iron768

washed up mineman
Supreme
Feedback score
3
Posts
107
Reactions
61
Resources
0
Hikari doesn't give you an actual JDBC Connection when you ask for one. What it does instead is give you a proxy that implements the Connection interface, within hikari it's a ConnectionProxy object.

Closing the connection simply returns the connection back to the pool, it doesn't actually close the connection like it would if you were calling the method from the actual JDBC Connection object.

On the topic of the public static setters in the main class you're right.

Code:
private static PracticePlugin instance;
public static PracticePlugin getInstance(){return instance;}

Should be what he's doing, not cutting corners with lombok in this case.

One bit of advice that was completely wrong, and the other was quite picky, did I explain it well enough for you? Or would you like me to explain in more detail so you can understand?
Code:
public static PracticePlugin getInstance() {
    return JavaPlugin.getPlugin(PracticePlugin.class);
}

Would something like that also work?
 

iron768

washed up mineman
Supreme
Feedback score
3
Posts
107
Reactions
61
Resources
0
Probably better to create an instance of the plugin on the enable and work from there, not sure if that would work or not as I haven't even touched any of the static methods within the JavaPlugin class.
Alright, thank you![DOUBLEPOST=1497105886][/DOUBLEPOST]
you didnt even compile it properly or its a bug




So I found out how to fix this error:

(If you are getting this error or any other errors make sure you have a MySQL Database setup.)


Once you get in game, create an ladder: You can do this by doing /ladder create. https://gyazo.com/a14e76d376f372cc5ae3d23fcecb7659

Once you create a ladder the errors should stop coming and the scoreboard should show up. https://gyazo.com/56346906c2c29df2367c4c349931652e
 
Last edited:

iron768

washed up mineman
Supreme
Feedback score
3
Posts
107
Reactions
61
Resources
0
Like iron768 said above, you have to have a mysql database setup and do the steps he said.
No, the error hes getting is because he has no ladders setup. The ArithmeticException is being called because the scoreboard is trying to get the players global elo, the global elo is calculated by getting all the ladders and dividing by how many ladders there are.
 
Last edited:

joeleoli

@bigjoeleoli
Banned
Feedback score
15
Posts
468
Reactions
615
Resources
0
No, the error hes getting is because he has no ladders setup. The ArithmeticException is being called because the scoreboard is trying to get the players global elo, the global elo is calculated by getting all the ladders and dividing by how many ladders there are.
For the retards: you can't divide by 0, so setup a ladder.
 
Last edited:
Banned forever. Reason: Scamming (https://builtbybit.com/threads/joeleoli-scam-report.408697/)

iron768

washed up mineman
Supreme
Feedback score
3
Posts
107
Reactions
61
Resources
0
Will u fix the src, so we can use it, or we need to fix it? I used the depencies, and stuff, and i mgetting a lot of error for getConfig and stuff.
Then you didn't add the dependencies correctly. I am using it currently with no issues, if you are still having issues with it though, pm me.
 

Ambrosia

Premium
Feedback score
22
Posts
2,340
Reactions
1,384
Resources
0
This isn't fair to the people that bought it. I paid $95 for this. WTF[DOUBLEPOST=1497068043][/DOUBLEPOST]
Yeah, it's kind of like stealing money
This isn't fair to the people that bought it. I paid $95 for this. WTF[DOUBLEPOST=1497068043][/DOUBLEPOST]
Yeah, it's kind of like stealing money
Never said in his T&S that he couldn't give the source out for free...
 
Status
This thread has been locked.
Top