Custom Lore Plugin "Chronicle"

Status
This thread has been locked.

Joannou1

Feedback score
0
Posts
21
Reactions
14
Resources
0
Since I'm new here, here's a little background on me.

Right off the bat, I'm not a 'formally trained professional' in any way, but I do consider myself a professional.
My mentality is 'I'm at point A, but need to get to Z.. Time to learn where and what B, C, D... are.'
Self-taught, willing to do anything to make something a reality and get it done right.
I've been stubbornly running a Survival / Towny server for the past 5 years, unwilling to change it much.
So I learned Java, SQL, PHP, Javascript all that sort of stuff to do it myself instead of paying others.

This plugin was made for the third iteration of my server, which is great, but currently lacks a strong playerbase.
Because my server has made me who I am today, I'll never let it go, even if that means paying $200 a month for the rest of my life.
So that is all I ask, pay my bills for this month..
(Yes there are cheaper servers than OVH, but it's set up in perfect harmony, I don't want to touch it.)
I'm currently trying a few things to restore the players and get things back to their normal operations.
In the meanwhile, I need to do this to get by.

Now that you understand why I'm selling this and realize that I didn't just google how to make plugins yesterday, onto the meat.

-

I call it the "Chronicle" or "GreatLore" or just plain "Lore", up to you really.
It serves as a plot point manager for your server.
You write up a book in-game, save it to a MySQL database with a command, then distribute 'Consumable' books that unlock the corresponding entree in the manager.

When a player right clicks the consumable book, it will remove it from their inventory and display a message indicating that they have read and unlocked new lore.

I notice that players tend to actually read the rules now when introduced with a rules lore book from the get go.

The gif below combines the above with the admin menu, which can be used to spawn in the consumable books.

4296431bd64cd0da0b60f128f678f64c.gif


The lore menu can be brought up with /lore and neatly displays the books in their set order.
When you click on a book from the menu, it will place it in the users hand, making sure there is enough inventory space to accommodate it.

955e140eae0a57606f01323868780c36.gif


It is also impossible to remove the book resulting in duplication, the only way to remove it is to drop it, which will in turn delete the dropped entity.

b5cb44d31a313a130792eef887a5b223.gif


Comes with full permissions support and REQUIRES a MySQL database to operate.
I dislike YML flatfiles, but am willing to edit this to run on SQLite if you really need it.

Entrees that are found are stored like this:
3f733.png


Entrees are encoded in Base64 so that it can be easily read back without the hassle of storing it with the risk of losing data or incorrect translations.

59794.png


All books that are spawned via the admin menu or consumed are logged in the database as well.

c47d1.png


Player commands:
lore - Brings up chronicle.

Admin commands:
list - View all lore entrees and their ID & sort.
view - Arguments are (all | player) view all or a players unlocked entrees.
edit - Edit an entree
add - Add a new entree

All commands are described on how to use them and comes with syntax helpers.

I've used it for the past 2 months with no NPE's or performance hits (measured with warmroast).

Here's a snippet of the code so you can see my style and see if it's right for you.
(A lot of the messages and sql information is hard-coded, so I'll have to modify that for you if you wish, or add a separate configuration file).

fbf76.png


So help a starving server owner out, I'm asking $200.
One time sale, I put my heart into making this and would like it to be exclusive.

I'll help you set it up and make sure it works perfectly.
In addition, if there are ever any issues or an update causes something to not function correctly, let me know and it will be fixed same-day if humanly possible.

If you'd like to get in contact with me, I'd prefer Skype, just be sure to include in the message that it's about this.

Thanks!
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Shortninja

♥ Java Enthusiast ♥
Supreme
Feedback score
2
Posts
1,143
Reactions
734
Resources
0
Very nice and unique plugin! However, the fact that you ONLY allow MySQL may be problematic for SOME servers. At least make it an option to use flat file storage so users that do not have a MySQL database can use your plugin. :p

Also, just a pointer, package names NEVER should have capitals in them. This is a standard Java convention and it helps avoid confusion with class names.

There is also a bit of static methods/variables that you really don't need.

You may get an exponentially greater amount of money if you sell this plugin multiple times at about $5 or so. I've made over $230 off of one plugin just on MCM. If you add your plugin to Spigot, you may get even more.

GLWS!
 

Joannou1

Feedback score
0
Posts
21
Reactions
14
Resources
0
Very nice and unique plugin! However, the fact that you ONLY allow MySQL may be problematic for SOME servers. At least make it an option to use flat file storage so users that do not have a MySQL database can use your plugin. :p

Also, just a pointer, package names NEVER should have capitals in them. This is a standard Java convention and it helps avoid confusion with class names.

There are also a bit of static methods/variables that you really don't need.
Thanks!

I could accommodate for sqlite instead, but gimme a day if someone decides to buy it and needs that :p

And yeah, true, bad habit of mine, not sure where I picked that up from!
 

Shortninja

♥ Java Enthusiast ♥
Supreme
Feedback score
2
Posts
1,143
Reactions
734
Resources
0
Joannou1 Sorry, not interested in buying, just giving a few pointers! Also, reread my original message because I added one more comment. :p
 

Joannou1

Feedback score
0
Posts
21
Reactions
14
Resources
0
Joannou1 Yeah I noticed, tried to edit it quickly lol
I may do that, but I'm just trying to figure out if I want to do that.. I may, I'll give this a few days.
Primarily because OVH wants their money real soon and I'm in a tight spot.
 

Stephen

Irrelevant ☕️
Deactivated
Feedback score
8
Posts
2,326
Reactions
1,412
Resources
0
Looks very HQ. You'll make a quick buck off this if you sell it a couple times. Gl
 

Joannou1

Feedback score
0
Posts
21
Reactions
14
Resources
0
Looks very HQ. You'll make a quick buck off this if you sell it a couple times. Gl

Thanks!
I may in a few days for this.
I have a couple of other custom ones that would work well with the pay a few bucks theme.
But this is one of my favorite ones I've made.
 

Joannou1

Feedback score
0
Posts
21
Reactions
14
Resources
0
Dang, I would love something like this. $200 is out of my budget, would definitely buy it if its wasn't exclusive and doesn't need MYSQL =)
Looks good though, good luck with the sale.

Thanks, I could do an SQLite setup if someone was legitimately interested.
But with that said, I may give this one more day before I try out curse or such.. (do they take a cut?)
So yeah, last call!
 

Joannou1

Feedback score
0
Posts
21
Reactions
14
Resources
0
Added SQLite support.
Added ability to chose default books without having to unlock them.

Final call for real!
 

LoliRaper

Feedback score
0
Posts
29
Reactions
3
Resources
0
I might be interested

I'm on your steam list
JakZe

In a nutshell:
User receives book
User consumes book
Something happens(unlocks permission?)
That event is saved in a database (sql)

Correct me if I'm wrong
 
Last edited:

Joannou1

Feedback score
0
Posts
21
Reactions
14
Resources
0
Dang, I would love something like this. $200 is out of my budget, would definitely buy it if its wasn't exclusive and doesn't need MYSQL =)
Looks good though, good luck with the sale.

I might be interested

I'm on your steam list
JakZe

In a nutshell:
User receives book
User consumes book
Something happens(unlocks permission?)
That event is saved in a database (sql)

Correct me if I'm wrong

Pretty much sums it up, unlocks entree in tracker.

Anyways, released on Spigot for $6.95
https://www.spigotmc.org/resources/chronicle-add-lore-to-your-server.13498/
 
Status
This thread has been locked.
Top