Totally!
![](https://www.rising-world.net/images/avatars/26/1145-26ffcd03645926c9f445e8ef1d8e62bf4402c43e.jpg)
Pre-Version of the new Plugin API
- red51
- Closed
-
-
Well done, javadoc looks promising! Time to get my dusty IDE running
-
Another updated version of the API is available now. It provides access to custom SQLite and MySQL databases now, and also introduces some other new features (e.g. ability to play sound effects etc).
The server will be updated very soon (so you can finally load and test your plugins), so probably there will be no more API updates until then.The download link has been updated, as well as the javadoc
Btw: We are still working on the game of course (although the preparation of the API is quite time consuming), a regular update will be available very soon. After this update, you can finally expect the Dungeons.
-
Another updated version of the API is available now. It provides access to custom SQLite and MySQL databases now, and also introduces some other new features (e.g. ability to play sound effects etc).
The server will be updated very soon (so you can finally load and test your plugins), so probably there will be no more API updates until then.The download link has been updated, as well as the javadoc
Btw: We are still working on the game of course (although the preparation of the API is quite time consuming), a regular update will be available very soon. After this update, you can finally expect the Dungeons.
Way to go @red51 keep up the awesome work
-
I love this game!
-
In love,too!
-
excited, and patiently awaiting the api release
-
you're new here so the wait isn't killing you as much as it is me!
-
you're new here so the wait isn't killing you as much as it is me!
right..
-
however, a question:
what does it change with new api??
-
its a replacement for the original lua api. It will allow us to write higher performing mods. It already has lots of new features that were not in the old api and it's documented real well.
-
Could you help me? I am newbie. I took an example code from post. What is my next step? Should I build a code? Where should I put jar file? And why do I get an error (this is code of the post)
-
Could you help me? I am newbie. I took an example code from post. What is my next step? Should I build a code? Where should I put jar file? And why do I get an error (this is code of the post)
Could you post the full content of the java file?
-
Could you post the full content of the java file?
Java -
-
@sg-1 What the fuck! You have the same "NetBeansProject" folder path like me
???!?!?!?!
Brother I found you
-
Brother I found you
So I meant the name of my pc is also "Mik" and my "NetBeansProjects" folder is also in the document directory. -
You need to import the net.risingworld.api.Plugin (and possibly several other, depending on what you do in your code) in order to use it in the code.
-
You need to import the net.risingworld.api.Plugin (and possibly several other, depending on what you do in your code) in order to use it in the code.
Thank you. I apologize for my carelessness. Last question. Where should I put the class? I mean path.
-
Not sure to understand.
1) The import net.risingworld.api.Plugin; statement should be put before the Plugin class is used; normally, all the imports are put at the beginning of the file.
2) The Plugin class itself is in the PluginAPI.jar file; this file can be put almost anywhere as long the compiler can reach it (Java Build Path).
Usually IDE's have a way to add libraries (including our API jar) to the Java Build Path, whose details depend on the IDE itself; for instance Eclipse (the IDE I use) has it in "Project | Properties | Java Build Path | Libraries tab".
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!