MineConomy Bugs – fixed

MineConomy is repeatedly disconnecting from the MySQL server. Since I have re-setup everything from scratch on the new server, there might be some default setting on the new version I am using now that is causing this, but Mineconomy as opposed to other plugins is not automatically reconnecting to the server. So after a while, it simply stops working.

Since Minecononmy was not updated since 1.5.2, I am not sure if the admin is still maintaining it. I sent a bug report, but it seems that the same bug was identified by other users for the last 2 versions already, marked as fixed but we still have the issue.

So what I did now: I wrote a simply plugin that can deal with money since MineConomy was basically only used to see the account status and to give money to users. The only real advantage of having a economy plugin is if other plugins have money functions (such as a shop) but we do not use any external plugins that do that. We wrote all money-related plugins ourselves. So in the end we got rid of another plugin by writing some lines of code.

The new commands are now /money status and /money give <user> <amount>. There is a appropriate help in the system and on the website.

Server back online, please check your stuff!

The server is back online, except for some automated stuff like restarts and backups. Please check if all is as you have left it: Inventories, money, lots etc.

I had do delete a couple of nether files and one darklands file. Most of them were REALLY far out, so I do not think something got damaged. Since we do not backup the nether and the darklands, there is nothing I can do. One Kingdom file got reset by one day, here I could fallback on a backup.

Server shutdown in 7 hours

In line with the latest blog posts, the server will shutdown in 7 hours from now (18:00 New York, Midnight Berlin, 7:00 Hong Kong), but not restart afterwards. This will happen at the same time when the server usually goes for daily reboot anyhow. I will then take the latest backups created, copy them to a secure location and ask the hoster to re-setup the system from scratch.

With this process the chances are the highest that the system will be back up for Thursday/Friday and that there are no unsaved changes that could be lost.

Voting issue, minecarts fixed

I just fixed a voting issue where votes were closed when they got enough support but the form would not really reflect that. Users were still able to change their votes and thus we had some closed votes without the needed support. I hope I was able now to fix this. I re-opened the votes with not enough points.

Minecarts should also be fixed (again). Azkedar kindly looked into the code and made sure that accidental loops of spawning minecarts would not crash the server so easily.

In the meantime I am still doing the backups for the server. There were some technical glitches and I had to start over. I found some better ways to manage the server in the future in the process, so at least some good came out of it.

Server Harddisk corrupt, fix underway

I have now (see last post) found out that the main HD of the server is failing. The hosting company will replace both HDs (main & backup). While I am pretty sure that the second HD is fine, I had to rent a FTP server on their farm to make an additional backup.

I am currently copying all needed data to the backup FTP, then I will ask the hoster to put new HDs into the system, then will have to setup everything again and copy over the data from the backup. Normally the re-setup of the server will take 5 hours, I will most likely need another couple of hours to setup everything again. If the old HD is not too broken, there is a chance that this goes quickly. We will see.

Since it’s getting late here, I will simply let the backup run overnight while I sleep and then try to do the rest tomorrow. Since I never did that before and since I do not know if I will be very busy tomorrow with other stuff and when the hoster actually will be able to replace the HDs, there is not ETA for this yet. The server will be down sometime (including the website), and then hopefully be back up again not too much later. Please check the facebook page for updates and IRC to chat.

Nether file damaged… what to do?

Recently my backup process is throwing this error:

rsync: read errors mapping "/home/minecraft/server/bukkit/nether/DIM-1/region/r.2.-1.mca": Input/output error (5)

I cannot copy the file somewhere else. I know it’s not an access rights issue. Unfortunately, I am not 100% sure what to do best. There are 2 processes available that I know of:

  1. restart the server (the whole machine) and schedule a disk check on startup. This means a longer downtime. Last time I suspected HD errors (not sure anymore what that was) and tried to do that, the machine would not start up by itself and I had to wait for tech support to go in and restart it.
  2. Try to just delete the file and either restore the area from backup or regenerate the area from scratch. The issue with this is that in case there is an issue with the harddisk, we would not know.

Any one with more linux troubleshooting experience who can help how to best approach this?

 

IRC chat fixed, minecart spawning disabled again

I have now fixed IRC, and all the messages should look like in-game. The only thing odd now is that a /me event in-game shows two messages on IRC. Will have to figure this one out.

Also, I came across an issue with minecarts. If you put a pressure plate next to a black wool spawner, it can happen that the cart is spawned, pushes you out of the way, on the pressure plate, spawns a minecart again, pushes you back on the pressure plate etc. Somehow the new limiter is triggered, but it seems still to cause an endless loop that freezes the server. I have now disabled automated spawning until we resolved that issue too.

IRC chat temporarily broken

I have found that the IRC system is quite broken, a lot of in-game messages to not arrive on the IRC channel.

I therefore am researching on other systems that are better supported than the rather old plugin we were using so far. The best maintained plugin seems to have some challenges however, so until I figure out how to make it work properly (I am in contact with the plugin author), the system might be broken.

Please stand by for further information.

Possible fix for permissions glitch

Recently we’ve been having a permissions glitch where users suddenly lose all their permissions. They cannot even pick up items or even speak in chat. Resolving the glitch usually involves disconnecting and reconnecting, and hoping it’s fixed. Then you have to go and re join all your chat channels…

I looked at the code for the permissions plugin and I’ve made a guess as to how to fix it, however I can’t make the glitch happen in my tests. So Unc’s agreed to install my patch, and we’ll just have to wait and see if this happens again.

So, if anyone has this glitch happen again as of about an hour prior to this blog post, please reply and let us know :( … On the other hand if we go a while without another glitch, we can assume the patch works and I’ll submit it to the author of our permissions plugin.

Thanks for your help!

1.7 preparations on the way!

While Bukkit has not realeased any 1.7 versions yet, Bukkit‘s competitor, Spigot, has released a (buggy) pre-release version. I am using this currently to generate a new Empire world. Once that is finished, I will look at the world map to judge if the seed is appropriate to be used. If not, I will start from scratch. If it is suitable, I will publish a map image with the lots overlayed so people can get a first impression what their lot will look like in case they reset. One risk is that the current 2D renderer cannot deal with some of the new biomes like mesa etc. We will see how we deal with that.

By the way, I will allow people also to chose a DIFFERENT lot than they have today if they want to abandon their current one (provided that the target lot is unused), on a first-come-first server basis. Details will follow.

Regarding Spigot: Aparently spigot is better to deal with lag on the server and run all the plugins that bukkit can run. So I will make a try to switch to spigot, if that fails, we just stick with bukkit.

Deposit workarounds

I have found that certain few people massively circumvent the the depositbox limits by depositing items for people who have not been on the server since more than a year. Due to that I have now coded a check that blocks users from depositing items for inactive users.

I would encourage everyone to not overstretch the deposit boxes and empty those items deposited for inactive users before they are hit harder measures…

PVP Arena Process proposal

I have selected lot AET_N1 as the future PVP Arena lot. What I need now is:

  • A number of Elders and Masters that want to take over the role to administrate builders. I will add those as owners of the lot so that they can add members that in return will help building. DONE!
  • We need the arena to be built with a cube-shaped arena so I can enable PvP in there without the spectators being able to kill each other.
  • We need a proposal how the process would work. I would suggest something along the lines of the hunger games. If anything of the hunger games does not work for the arena, I need to know so I can adjust it. Otherwise I just try to recycle as much of the hunger games code as possible.
  • We need either several fixed locations with coordinates or a field where people can be teleported randomly to. Then I can program a command that people execute to be teleported into the arena.

Lag North-West of spawn

I have found that whenever someone is north-west of spawn, the server lags significantly.It seems to be around the lots R15-Q16. I have no idea what is causing it. If someone could help finding the source, it would be highly appreciated.

Misc News

  • PVP Arena: I occupied now the lot below the contest area in the Aether. We will make it a PVP zone and create a secure drop-in area so that people can go into any arena w/o being spawn-killed. It might take a day or two but this will be a community action. I most likely will give ownership to elders and then they can assign people to help there.
  • With Arena: The arena is too easy right now. Hiding from the wither is not hard enough. We should get together with some users and come up with a new design for the wither arena. So I created a forum post where we can discuss this.
  • Contest: I have closed the contest now and will be giving out the prices by today. People who have been recently upgraded won’t be upgraded again. Sorry again about the delay in this. I expedited the upgrade voting so more people could get upgraded ASAP instead of waiting on the contest. I will make another post about the future of the contests soon.