Posts by yahwho
-
-
-
Hi, so on my old server I wrote the entire plugin UI using things such as onPlayerGuiElementClickEvent
I see now that we have some really useful pre-canned message boxes such as;
(I've dropped a null in the callback
... )
Can someone please provide a simple example of a callback function (I understand the concept, just not the syntax).
Ideally showing how we get this callback function to call another method passing the MessageBox arguments?
Thanks in advance!
-
Hmm, that's not a problem, but what is the default seed so I can replicate it on a test server?
-
Hi folks,
I've written a tiny little utility plugin for torches called DropTorch and thought I would share it with the awesome RW community.
The plugin overrides the default behavour of torches from 15 second burnout to a 5 minute burnout.
This makes mining underground a lot easier as you no longer need to keep placing torches.
To prevent server spamming, each player can only drop 10 torches. Once the 11th torch is dropped the 1st torch burns out and is no longer pickupable.
-
Thanks noci I will give that a go, but bit worried that the db one is empty
-
-
-
Cheers!
-
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?
-
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
-