Agh! Still no joy. 
So here is my MedievalRealms plugin folder which contains my MedievalRealms.jar plugin file show in the following server tree.
Folder PATH listing for volume Data
Volume serial number is 88C5-91B1
│ └───Medieval Sandbox-1068054424
Display More
Here is my YML file called plugin.yml which lies in the resources folder within my packages src
main: org.yahwho.medievalrealms.MedievalRealms
description: "Medieval Realms Server Plugin"
website: https://medievalrealms.co.uk
Here is my java file
package org.yahwho.medievalrealms;
import net.risingworld.api.Plugin;
import net.risingworld.api.events.EventMethod;
import net.risingworld.api.events.Listener;
import net.risingworld.api.events.player.PlayerCommandEvent;
import net.risingworld.api.events.player.PlayerConnectEvent;
import net.risingworld.api.objects.Player;
public class MedievalRealms extends Plugin implements Listener {
System.out.println("Medieval Realms Plugin Starting. . . ");
registerEventListener(this);
public void onDisable() {
System.out.println("Stopping the Medieval Realms Plugin. . .");
public void onPlayerCommand(PlayerCommandEvent event) {
public void onPlayerConnectEvent(PlayerConnectEvent event)
Player player = event.getPlayer();
String Playername = player.getName();
//String group = player.getPermissionGroup();
player.sendTextMessage(Playername + " welcome to Medieval Realms 1.0.0");
player.sendTextMessage(Playername + " welcome to Medieval Realms 1.0.0");
Display More
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
java.lang.NullPointerException
at F.f.messageReceived(SourceFile:118)
at de.jiw.network.server.core.ServerUdpChannel.onMessageReceived(ServerUdpChannel.java:99)
at de.jiw.network.server.core.AbstractServerChannel.dispatchUDP(AbstractServerChannel.java:71)
at de.jiw.network.server.session.UdpSessionHandler.channelRead0(UdpSessionHandler.java:61)
at de.jiw.network.server.session.UdpSessionHandler.channelRead0(UdpSessionHandler.java:16)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
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.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
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.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
at java.lang.Thread.run(Unknown Source)
Display More
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\
