I Downloaded 1.00 and when I use !0 as a setting, it crashes the server.
Posts by King Nothing
-
-
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.
-
got it, the sticky needs some updates, infiniteitems Isn't In it.
-
what I want to do is:
allow semi-creative, users on the server are saying they have infinite resources, I don't want THAT -
Display MoreCode
when a user tries to to do Creative, it is disabled.
-
Stink Bombs --- WHOO HOOO
-
I used Miarre's help, Red's help, yahgiggle's help, It will NOT work, it stopped the Null error, that went away, It seems to completely ignore the
- if(result.next())
block.
Iwish I knew what the problem is, Everyone has their database working, My plugin doesn;t want to work for some reason
I am at a loss right now, i want to get the basic Mecahincs working so I can move on. if anyone has the time to go line by line and see why it will not work please feel free to do so. i will fix the line at player spwan, that is an easy fix.. pleade help me get this working, it has been a week nd stil getting NOTHING
-
-
that's why I'm Cramming everything into one plugin, no sense of making 20 plugins when all you have to do is keep adding featues to the one you currently have, I was going to make a separate mail plugin but that will put into EffNet, along with money and shopping.,
-
We are cleaning up and removing defunct areas, i am currently Working out the bugs In EffNet (currency and other Cool Features), We Currently have 5 levels, you can build anywhere you want, you may build roads going to the main roads. we have Admins that are wiling to help you, we will answer any questions you may have.
-
I temporalily took that out, i am aware of that, The database works like its supposed to., it reads Writes and updates, I get this error:
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:166)
at aF.b.a(SourceFile:171)
at aF.b.messageReceived(SourceFile:121)
at k.e.a(SourceFile:109)
at k.c.run(SourceFile:65)Caused by: java.lang.NullPointerException
at Test.Test.onCommand(Test.java:83)
... 9 more
when i Comment it out, the plugin works, when i put it in, it Errors out.i looked up the error, how do I set it to null???
There is data in the database, i put some in for testing, i have to check if the user is new
that is why onSpawn isn't finished. 
-
Display MoreJavadb.execute("CREATE TABLE IF NOT EXISTS 'Money' ('player_name' CHAR(64) NOT NULL DEFAULT ('[NoName]'), 'Player_money' INTEGER NOT NULL DEFAULT ( 0 ));");String query = "INSERT INTO Money ('player_name', 'Player_money') VALUES ('"+playerName+"', 2000);";db.executeUpdate("UPDATE Money SET player_name = '"+playerName+"', Player_money=666 WHERE player_name = '"+playerName+"'");//db.executeUpdate ("INSERT INTO EffNet ('Player_user','Player_money') VALUES ('"+playerName+"','"+totalmoney+"');");
Why is there an error in on 80?
-
ok I just used my test code plugin, inserted the command, issued it in RW, it worked, but it completly igorned the IF statement and wrote it anyway. how do I make so it will see the IF statement?
-
-
ok is there a way to call it from "onCommand"? I'm Tring to make it Write some data after I issue a /command.
-
Windows 10, and OK, that was weird, I called it in onSpawn and it wrote the File, I used onCommand and it didn't do anything...
-
File data = new File(getPath() + "/data.txt");
boolean content = Utils.FileUtils.writeStringToFile("hi",data);there is NO file data.txt anywhere
-
sorry, it screwed up my plugins, had to take it out
-
-