Just one more question ![]()
Code
Does this method require a repaint call? The welcome message doesn't show up when entering the server, but if I type "reloadplugins" I see the Welcome message twice.
I shall begin perusing the javadoc ![]()
Just one more question ![]()
Does this method require a repaint call? The welcome message doesn't show up when entering the server, but if I type "reloadplugins" I see the Welcome message twice.
I shall begin perusing the javadoc ![]()
Do you have a PayPal donate page anywhere Red? I'd like to buy you a beer!
Thanks for the reply Red. Yes it's very strange. Tell you what, I will try rebooting the OS and trying again. I'll then provide the server log as well as any other info I think could be of any help.
I feel like the guy on the left

Agh! Still no joy. ![]()
So here is my MedievalRealms plugin folder which contains my MedievalRealms.jar plugin file show in the following server tree.
Here is my YML file called plugin.yml which lies in the resources folder within my packages src
Here is my java file
I've also attached my compiled MedievalRealms.jar file.
On my desktop I've extracted my MedievalRealms.jar file alongside an extracted copy of ConnectToTS.jar
I've gone though all the files and structure and it look as far as I can tell identical?
But when I start my server with MedievalRealms.jar inside my servers root/plugins/MedievalRealms/ directory diddly squat happens?
If I type in reloadplugins in my in game console I get: WARNING: ERROR OCCURRED WHILST RELOADING THE PLUGINS!
Okay, so as a test, I removed my plugins folder and restarted server and typed in reloadplugins again, same thing happens WARNING: ERROR OCCURRED WHILST RELOADING THE PLUGINS! along with the (looping) error that I get in the log
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
note: I have not tried installing any 3rd party plugin incl. the ConnectToTS.jar one
I'm trying this now - yep that doesn't do anything either entering /ts into chat comes up with "unknown command"
The file ConnectToTS.jar lies in this directory D:\Rising World\server_0.9.2.1\plugins\ConnetToTS\

Daniel your mod looks top notch! Just read through and looked at the screenshots. I hope this mod hasn't been discontinued. Some of your mods are indeed better than the default graphics. Really love the night sky one and the leaves with bug holes!!!! ![]()
Just thought I'd mention here my server also has appeared twice. In did at one point try and run two servers from my physical server. I created a second mysql database and configure the second server to run from this database with the same server name with "test" in the name and a server password (and a separate port). When I tried to run it it Java something on the lines of address already in use. Admittedly I gave up then. But since then as I mentioned my original server is listed twice. The duplicate would be nice to remove for OCD reasons ![]()
If you need to upload a screenshot you can use something like imagebin.ca and link it here.
Stick with it though! Rising World is an awesome game!
And the Dev (Red) is a top guy, as you can see from his direct reply. ![]()
Brilliant, thanks Minotorious, I'll give that a shot. I was trying to be "organized" and keeping everything together.
I assume that by including the api in my source folder there was a conflict as to which class files to use, as in "my" copy of the api classes or the actual api classes on the server?
Edit: OK I've moved the api jar and recompiled, my new jar no longer contains the api classes ![]()
It's getting late so I will upload this and test it on the server tomorrow, and I'll post an update on how it goes.
could you tell me how the correct way to link the api jar to a project? ![]()
I'm using NetBeans (I used to use Eclipse so NetBeans is all new to me)
The jar file does contain the api folders and classes too ![]()
I'll try to grab a screenshot or directory tree to illustrate

Yeah looking inside my jar file I can also see the api jar files, which I'm sure is not right!
To get my code to compile (using NetBeans) I right clicked on my project name, selected properties, went to the libraries option and added the PluginAPI jar with the add JAR/folder option.
Which allow me to compile, as without it moans about the imports not working (i.e. net.risingworld.api.... )
To create my jar I right clicked on my project and selected "build"
It's been a while since I wrote any code, and I'm new to NetBeans (old Eclipse guy here).
This is my attempt at almost a "hello world" plugin.
The "plugin" is simply:
With of course the yml file
code i
Hmm there isn't a line 99. Just 47 lines. I suspect it is the way I've compiled the package with the api ![]()
Hi Guys,
I'm trying to write my first plugin, It's literally just a framework at the moment. I added my jar file to a created directory "plugins" in the server root and then typed in reloadplugins into the in-game console.
I got a message saying that it had failed (or something along those lines) and then on the server log I got tons of errors (as in repeatedly until I restarted the server).
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
From that can anyone see what I was doing wrong? I Appreciate you may need more info!
Okay so I've had some free time to take a look a the database. I really wanted to undo my decision on blocking certain Npc's and dungeons.
I've now managed to retrospectively add both dungeons and Npcs without regenerating the world.
If anyone wants to know how to unblock or block certain Npcs / Dungeons *after* the world is created, open up the games database and check out the table WorldInfo, in there you will find two fields (amongst others): DisableNPCs, and DisabledDungeons, these VARCHARS contain the Strings with the blocked Npcs and Dungeon types.
Simply edit these strings, save changes, and then restart the MySQL service.
I have not 100% tested but I did go into my world and went into a newly generated chunk and I did indeed find a Polar Bear! Which previously was blocked.
Update: All tested and working as expected in regards to animals, found some land based dungeons, but nothing subterranean yet. . . I'll keep looking (and updating).
Next will be to retrospectively add caves.
UPDATED: Caves working too!
Many thanks to @Minotorious for the idea! ![]()
Will do Red - I have not seen the error since. ![]()
Just a thought, the vps would also allow you to run multiple servers. . . that's if you wanted to.