-
Notifications
You must be signed in to change notification settings - Fork 37
new environments! RADIOACTIVE, FROSTBITE #1008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
player.addPotionEffect(PotionEffect(PotionEffectType.POISON, 200 , 1)) | ||
player.addPotionEffect(PotionEffect(PotionEffectType.NAUSEA, 200, 1)) | ||
|
||
player.sendMessage("Suffering Radiation Poisoning!!!") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead of sending a message which will spam players chat, try sending an action bar with player.alertAction()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just removed it. There are only a few worlds that will be radioactive for now, so the players should know
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not send a message per tick, that will cause the player to receive 20 messages a second, which will cause the player to time out. Please consider using the player.alertAction() instead or another suitable alternative
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok sorry I see now you've removed that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Environments are not ticked 20 times per second
Removed message spamming players
added two new environments. tested with multiverse plugin.
tested with space suit and environment module
tested "inside " ship or building
further testing may be required