trichner / bednerf Goto Github PK
View Code? Open in Web Editor NEWBedNerf Minecraft/Bukkit Plugin
Home Page: k42.ch
BedNerf Minecraft/Bukkit Plugin
Home Page: k42.ch
When you die you always get two messages which is a bit spammy.
If you die you first get "deathMessageBed:" or "deathMessageNoBed:" and then when you press respawn you get "respawnMessageBed" or "respawnMessageNoBed".
Since both happens mostly in a short time you end up with two messages.
I suggest taking out "deathMessageBed" and "deathMessageNoBed" since they don't add anything but talking to the player. respawnMessage have an purpose and can have the info from deathMessage in them as well.
I died and respawned someone random, even though I had a bed and was not on a cooldown. When I walked back to my base, and clicked the bed the first time it said "Your spawn is already set to this bed". I clicked it again and it said "Your spawn has been set to this bed".
The only event that happened before this was a friend coming on and setting their spawn to that bed as well. I died in a tower, they went in to get my stuff and they died as well. Both of us spawned randomly. It is unconfirmed whether this leads to issues, however it seems likely that multiple people being set to the same bed as spawnpoints can glitch the plugin.
Would be nice to have a command that tells you the status of your bed.
Config decides what is shown in the notification you get from using the command.
Kinda like:
Player types "/bed"
and gets a message in return saying something like:
Bed Ready: "Your bed is ready for spawn at Loc.: 304 54 -1243."
Bed on Cooldown: "Your bed is on cooldown for another x seconds at Loc.: 304 54 -1243."
No Bed Spawn: "You do not currently have a bed spawn."
Messages could be configurable.
cheers
Pete
If you die and your bed is obstructed you respawn randomly like it should be. But at the same time you get both "deathMessageBedObstructed" and "respawnMessageBed". The cooldown fires too.
Would be great if when the bed is obstruced, you ONLY get the "deathMessageBedObstructed" message. No "respawnMessageBed" and no cooldown.
Reasoning is to avoid confusion for players and have clearer messaging.
Right now the bed plugin spams you with messages when something related to it happens.
As example. If you set:
cooldowns:
initial: 0
And click the bed you first get a Message saying:
"[Bed] Your spawn will be set to this bed in 0 minutes ... If it still exists then."
and a split second later:
"[Bed]Your spawn was set to your bed."
Would be nice if one could toggle bedClickMessage on or off for cases where you don't use the initial cooldown.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.