Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
Yes, because there is an old version of shoebill-api included.
I think if you disable offlineMode in resources.yml it should download the newest api.
Posts: 27
Threads: 2
Joined: Jul 2013
Reputation:
0
OfflineMode is disabled by default. But I found out that there is no .jar file in ..\shoebill\repository\net\gtaun\shoebill-api\1.1-SNAPSHOT.
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
I updated both server packages, you can redownload them at the start-post. I tried everything and it should launch without any configuration now (except JAVA_HOME variable).
Posts: 48
Threads: 5
Joined: Jan 2012
Reputation:
0
Are all the native function provided by 0.3z fully supported? Or are there any native functions missing? I still see a lot of interfaces in the source code like the Textdraw interface. I just want to make sure that all the 0.3z functionality can be accessed.
//EDiT: Nevermind, found that there are lots of implementations in a different project.
Posts: 48
Threads: 5
Joined: Jan 2012
Reputation:
0
If I see that correctly, callbacks are implemented as event handlers, right? No general functions like Gamemode.onPlayerConnect etc.?
Posts: 27
Threads: 2
Joined: Jul 2013
Reputation:
0
You should add an event so that we can use plugin callbacks.
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
@The King's Bastard: Yes, you can register as many events as you want. You can create EventManagerNodes and destroy them etc.
You register a event like this: eventManager.registerHandler(PlayerConnectEvent.cl ass, (e) -> { ... });
@stokdam: Yes, we are currently working on it. You can already call natives.
Posts: 27
Threads: 2
Joined: Jul 2013
Reputation:
0
Another question. Can I call shoebill functions from a child thread?
Posts: 269
Threads: 25
Joined: May 2008
Reputation:
0
Mk124, one question.
Can one plug a Java MongoDB driver into this, and use it as a replacement for MySQL? Or does it require a custom-made DB connector?
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
I am doing the exact same as you do, just in a lambda expression. The dialog variable is the input dialog, and then onClickOk Event will be called after the .build() of course, so both do the exact same thing.
Posts: 27
Threads: 2
Joined: Jul 2013
Reputation:
0
Recompiled the project from my Linux pc and now it's working. I don't know what was happening. Thank you anyway for your help
Posts: 887
Threads: 251
Joined: Jun 2011
Reputation:
0
I like it, is there a list of all available functions and such and how to utilize them such as handling events?