Posts by King Nothing

A new update is now available, introducing seasons and more!

    Holy Heck... It WORKED!!!!!!!!!!!!!!!!!!!!!!!!!!
    I have had NOTHING but problems with Attributes. thank you for helping me, Now I can Streamline the main plugin and "OUTSOURCE" The other features to separte plugins.

    PLUGIN EXCEPTION (EffNet, , Bleckman) ---->
    java.lang.ClassCastException: net.risingworld.api.gui.GuiImage cannot be cast to net.risingworld.api.gui.GuiLabel
    at EffNet.EffNet.PlayerGuiElementClick(EffNet.java:262)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at pluginapi.PluginEventHandler.triggerEvent(SourceFile:169)
    at aE.b.a(SourceFile:1789)
    at aE.b.messageReceived(SourceFile:125)
    at j.e.a(SourceFile:109)
    at j.c.run(SourceFile:65)

    Plugin A


    Code
    String value1 = (String)player.getAttribute("PlayerTestMoney");
    player.sendTextMessage("Show the Value:"+value1);

    Plugin B

    Its Being Called by "On Player Command"
    I had a test "p.SEndTextMessage(""+"THE ATTRIBUTE")
    it Returned "NULL"


    the Attrubute was "SET" onOnplayerSpawn" in Plugin A


    PluginB called The attribute."


    and yes its both player.setattribute

    I've tried creating the "Buttons" in the main class, NO luck, moved it to the "onplayerCommand" it worked, but I get
    "GuiImage cannot be cast to net.risingworld.api.gui.GuiLabel" when I go to click on it.. ANY HELP??????????????

    I am Currently Working on a


    I am currently working on a "SNAIL MAIL" plugin Where im making Mailboxes for each "NEIGHBORHOOD." First, The Marketsystem and money have to be working 100%

    I don;t know if this has been discussed, but having differet Chat Channels would be good


    Eg, A "GUILD CHAT"
    A "NEIGHBOORHOOD chat"
    An ADMIN ONLY chat


    seen in many on line games..

    Ummm OK...


    I set an attribute in one plugin...


    String Poop ="I farted";
    player.setAttribute("Item", Poop);


    I then Called The Attirbute "Item" in another Plugin, got NULL


    what am I doing wrong??? do I have to wave a magic wand in order for the Other plugin to see it?

    The "tnt" part was copied and pasted from Changelog 2016-11-02: Explosive!

    i looked at the javadoc, is there anything Written on how to access Chests or is that not implemented yet? i want to add stuff and delete from them, i even opened the world database and looked around to see where the items are stored. with no luck.