Sorry, so in the meantime if I use loadFromFile what does the string look like?
On the assumption the resource is in a res folder in the Plugins directory
Plugins/MedievalRealms/res
Sorry, so in the meantime if I use loadFromFile what does the string look like?
On the assumption the resource is in a res folder in the Plugins directory
Plugins/MedievalRealms/res
Loading from plugin resources is broken atm unfortunately
But we try to get it fixed with the upcoming hotfix
However, loading from a file (e.g. from plugins folder), url, asset bundle or raw byte data should still work.
Oooh so ..
Should work in the future? I would very much like to keep all the assets bundled up in the same jar
Thanks for the reply Red Legend.
Hehe I'm a hobbiest programmer, so not sure what gradle is
In the Java version I did this:
I've just had a good with this:
Now I don't get an error messages, in fact I get a "Loading asset (Texture) from cache: D:\MR2\Plugins\MedievalRealms\res\test.jpg" from the console, so it finds the file.
However, when I log into my test server the images are missing (transparent bg).
Hi paulevs
You mean like:
Plugins/PluginFolderName/PluginName
Plugins/PluginFolderName/PluginName/res/text.jpg
Hope that makes sense! I will give it a try (that's what I did in the Java version), was just hoping we could have packed it all into one Jar
Hello,
So on the Java version, I made it so that players couldn't drop the Primitive Stone Axe - because without it a player is effectively at the mercy of other players offering tools as a gift.
The recipe for this item is 1x stone and 2x sticks.
I know that players can now pick up stones (rock), would it also be possible in a future update that players could pick up sticks too or maybe punch a tree several times and eventually get a stick?
(Think of the realism! Punching trees to get sticks! )
Seriously though, an action key initiated timer on a tree would work? Like the gutting of animals but "Gathering stick".
This would cure the whole, "no tools" problem.
Hi Red,
Not sure if you'll have time, but if it's a nice quick job... can we also get access tp the OnPlayerSleepEvent again?
It's an iceberg lettuce.
(it even supports line breaks)
The latter.
I would like this text to always show to players, achieved currently through server.properties file. I don't think this would need changing?
But I would like to set this text by API calls, as you mention -
Having just said that, what do you think would be the max character count here?
Can we get access to programatically set the location name?
The name that's in the bottom left of the screen, the one that is set via the server.properties file?
Settings_OverrideDefaultLocationName=
Settings_OverrideHellLocationName=
Settings_OverrideUndergroundLocationName=
etc.
red51 can we still view the old API?
https://javadoc.rising-world.net/ just redirects to https://javadoc.rising-world.net/latest
I've tried /legacy /old .. can't be doing with trying to manually brute force it
P.S. Nice 404 page
Tiberium!
Oh Gods...
Did I say I was being stupid?
It was late at night and I was basically well past my bedtime! (that's my excuse and I'm sticking with it).
On the screenshot it also looks like you're using an older version of netbeans, is that correct? I ran into issues using an older netbeans version after upgrading to JDK 20
Yep old trusty 8.2 RC.
By the sounds of it maybe me missing the .* was a blessing in disguise as I best upgrade my JDK before I start
Hi Red,
Would it possible to get access to the timers for torches?
Once a torch is dropped I would like to be alter the time before the torch burns out.