Thanks for your feedback Mino
I can always write a script starting the server, then call that script from Java.
Good call on the .setCancelled(true)
Thanks for your feedback Mino
I can always write a script starting the server, then call that script from Java.
Good call on the .setCancelled(true)
Hi, I would like to create an automated/controlled server shutdown. Now, firstly, is this already possible? In which case show me the way to Tipperary!
What I would like to do is something similar to this:
Step 1, global announcement to players that server is rebooting soon (easily done)
Step 2, stop any new connections to the server (not sure if this is possible? maybe set max players to 0?)
Step 3, after x period of time, kick any remaining players that are online (so that there are zero players online)
Step 4, restart server script (not sure how to automate via java? (which is preferable)
Ah that makes sense. Thanks Mino! Saved me a headache there
(panic over)
Also Mino, sorry, I should have read your first reply properly!
Hmm well the bit of code I've just tested that's throwing a null pointer is:
So are you saying all my getExchangeItem calls need to be changed to getItem? I wonder because you make it sound like its the other way round?
I've only just this second found it out, defiantly a null pointer exception that was not there before. I'll post more info as I find it. . .
Hmm. Well. . . on Medieval Realms you can sell items such as gold ingots to the treasury and iron rods etc to the blacksmith.
This works via players transferring items from their inventory into large crates within the shops.
This was all working flawlessly before. We had a server crash a few days ago, and I've just discovered that when players do this action now, the server crashes!
now where's my affiliates link? hehehehehe
I hope this allowed on the forums and if this is a breach of the T&Cs I apologize and please do delete this post!
But in case you (or anyone else) wanted to know I found the artist on https://www.fiverr.com/ there are loads of freelancers on there who offer some fantastic services (albeit not all for a fiver! )
Hi Mino!
No, I'm not that blessed with artistic skills. I had got a couple of players give some donations to the server, so I spent the funds on hiring a graphics designer and he created the graphics for me ( Medieval Realms is a hobby for me and not a revenue stream so any donations I get get ploughed back into the server
)
Just updated my server (has updated fine and people are logging in), thought I would mention the beginning of the server script warns me that the server is outdated says its 0.9.3.2 when 0.9.3.3 is the latest. I suspect this warning is in error.
Top job by the way Red. Having transport will certainly make a huge difference to peoples game experience.
You do not seem to be able to access the map when mounted? Is this by design?
Also when you see other riders, their horses are invisible.
Hehe someone will have to remind me of the update command
Login Steam anonymous and then app_update 339010
Mules and Camels!
Ahh I see, basically a (compatible!) LUA clone but in Java.
Great to have you back! We still need an Area Protection plugin. I can provide a temporary server (and surely scrounge up some testers) to test on if needed.
We really missed you! Hope you are feeling better now.
Does yahgiggles protection plugin not work ?
someone called?
Welcome back! And thanks for writing pnb! Fantastic plugin
Lol! Or we could even use path . . .
Yes, its called a SQL injection attack.
Link to some info:
https://www.acunetix.com/websitesecurity/sql-injection/
It all depends on how the application is written as to whether there is a vulnerability or not.
On a basic level you can execute extra commands. Like drop table or add extra table info / modifications.