Is there any way to find out what the world seed is if it was randomly generated? I.e. No seed was entered into the config file?
Posts by yahwho
-
-
Oh this is cool, thanks
-
-
Sehr cool
-
Just confirming that that would work fine
onPlayerChangeState
-
I assume this is the same for other events too?
-
Hi, looks like the event.setCancelled(true) calls are missing from the API for the construction events:
- PlayerDestroyConstructionEvent
- PlayerHitConstructionEvent
- PlayerPlaceConstructionEvent
- PlayerRemoveConstructionEvent
-
Did you register the listener?
-
Amusingly, if you log out whilst you are underwater the main menu scenes are also now underwater.
Not sure if this is intentional
-
That's weird
Yes, maybe the calculation is wrong, I'll take a closer look at this issue!
-1 is supposed to show the text indefinitely, but I think 0 also works (not sure about that)
Yes it does
-
-
-
Ahh coolio.
It was more for database browsing ease from MySQL Workbench as I'm in there a lot anyway.
-
[New] SQLite and MySQL database support
Does this mean that we can use MySQL in the future for RW database instead of SQLite?
-
uses internal String magic
Love it.
Yes, I'm more so just concatanaging two string together, possily on a fairly regular basis (UI stuff). But this is after compilation and no nested loops or such.
So I think I may just stick with the + operator in the code as it's quicker (to write)
-
which will be ready in the next couple of hours
-
The main part of this error message is:
AddressInUseException: Port 4255 (UDP) is already in use!
Have you forgotten to close down a previously running server?
-
So having time to digest this.
Am I correct to believe that it's always going to be better to use the StringBuilder class over String?
-
Hi fellow plugin dudes (and game devs),
Bit of Friday night code optimization chat.
Now on my blog, around three years ago I wrote somthing that goes a little like:
"So I’ve always done it with the plus (+) operator turns out using a prefix $ is much more efficient in terms of memory usage."
Disclaimer: honesty I can't actually remember posting this.
So I just tried it (as I still just use the plus operator) as below:
But I just get an error message. " ; expected "
I think, the problem is that this was wrongfully filed under Java (which I'm trying to compile it as), when in fact it may very well be C# code.
First off, am I right that this is C#?
Second, and more importantly, what do you think is the most optimal way of string concatination? Using the plus operator or using the String classes concat operator?
Answers about it being negligable are not accepted.
paulevs I'm interested in knowing your thoughts on this
-
Hi,
I've noticed a few times that the Debug Console gets spammed with NPC X IS FALLING (X, Y Z) events.
Maybe a counter with a threshold and a npc.destroy() method in required?