A new update is available It mainly focuses on the new plugin API, so it is possible now to run your plugins.
The plugin API can be considered as a "lite" version of modding, especially since it became quite powerful over the last weeks. Of course it's not exactly the same as creating real mods (e.g. a "total conversion" mod wouldn't be possible this way), but in return, it's much easier to use, and when playing in multiplayer, there is no need to download anything in order to join the server.
But the plugin API not only relevant for multiplayer, but also for singleplayer.
Here are a few examples what could be achieved with the new API, just to give you an impression of the potential of the API (especially since it cannot be compared to the old Lua API):
- Elevators (not just basic command/teleport stuff, instead a cabin you can step in, select the target floor, and it will actually move to the desired location)
- Windmills with rotating sails
- A tool rack for your items
- A huge mining drill
- ...
We will upload an example plugin within the next hours. It's basically a guestbook, which gives an overview of all players that have played on your game world in the past (obviously this is mainly interesting for multiplayer server). But as mentioned, it mainly serves as an example plugin. Of course you can still find the Javadoc (which also contains several small examples) here: https://javadoc.rising-world.net/
We are also going to provide a new AreaProtection plugin very soon.
Probably the current Lua API will still be supported for 6-8 weeks until it will be discarded. If you need any help converting your scripts to the new API, or if there are any Lua scripts you urgently need for your server, just let us know. We are not going to leave anyone out in the cold
Apart from that, we also did some changes to the game of course, and fixed some bugs. Among others, we added a "pause" mode (when pressing esc), added a new mini pig (just for fun), fixed some lighting issues (rough light transitions between chunks), reworked and improved many sound effects, and got rid of some crashes. As always, you find the full changelog attached.
We will fully concentrate on the dungeons now. We are really sorry that the dungeons update takes so long. Working on the API was actually quite time consuming, but it was really important for us to get it ready now as soon as possible.
Changelog:
- [New] Full release of the new Plugin API
- [New] Plugin sourcefiles can be compiled "on the fly" and will be loaded directly from your project folder
- [New] Added command "reloadplugins" to reload plugins during runtime (also added permission)
- [New] Game will pause now when pressing ESC (singleplayer only), can be disabled in settings
- [New] Added banister corner element
- [New] Added minipig (currently only spawnable via command "spawnnpc minipig")
- [Change] Returning to main menu should be much faster now
- [Change] Speeded up game startup time
- [Change] Improved animal collision (especially object collision)
- [Change] Reworked and improved many sound effects
- [Change] Blocks which are "half sunken" into the terrain will spawn above the ground now when removed by a sledgehammer
- [Change] Preview when placing stone, dirt etc. can be disabled in config (game_show_terrainfillselector)
- [Change] Sticks and lumber are now also craftable at the sawbench
- [Change] Increased min/max size of glass panes
- [Bugfix] Fixed lighting issues (rough light transitions between chunks)
- [Bugfix] Static lights are now visible in lod chunks again
- [Bugfix] Fixed wrong light colors when placing several lamps in hell
- [Bugfix] Objects (furniture etc) will now be affected by new lights (which have just been placed) correctly
- [Bugfix] Slegehammer can now also be used to deconstruct loam blocks
- [Bugfix] Fixed rare crash when changing resolution
- [Bugfix] Items no longer disappear when dropping them from a chest
- [Bugfix] Fixed red colored screen (when player had low health) when returning
- [Bugfix] Apples can no longer be collected from cut appletrees (same applies to lemon and cherry trees)
_____________________________
Bugfix 2016-10-19:
- [Change] Adjusted sound for minipigs
- [Bugfix] Fixed trees not getting removed properly
- [Bugfix] Fixed world only loading very slow when teleporting
- [Bugfix] Fixed missing blueprint preview images
- [Bugfix] Fixed missing text for "GuiLabel" elements
- [Bugfix] Fixed issue which prevented you from shearing sheeps in certain situations
- [Bugfix] Fixed some sound issues
- [Bugfix] Fixed a crash when creating a model without collision (API)
- [Bugfix] JDK path "plugin_jdk_path" in the config file to compile plugins on the fly works properly now
- [Bugfix] Adjusted spawn position of tree logs when removing the stump
- [Bugfix] Fixed issue with plugins not working properly in multiplayer when a player disconnects and reconnects
_____________________________
Bugfix 2016-10-21:
- [New] New command "plugins" to show all active plugins (sp only)
- [Bugfix] Fixed some sound effects
- [Bugfix] Fixed missing water slash sound
- [Bugfix] Fixed weird physical behaviour when cutting trees
- [Bugfix] Fixed missing custom models after reloading a world
_____________________________
Bugfix 2016-10-22:
- [Bugfix] Fixed crash in certain situation when uploading an image for the poster tool
- [Bugfix] Fixed an issue with api labels (wrong position/color after changing properties)