Cuberite Forum

Full Version: BedChanger
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! This is my first Plugin for Cuberite and actually the first time I've coded in Lua and it was quite fun  Smile

I hope you find it useful!  Big Grin


How it works

This Plugin lets players change the color of their bed by right-clicking on it while holding a colored wool. It's that simple!  Wink

The player is charged 1 wool for changing the bed color (the one they're holding). In the future this will be customizable (read the ToDo's).


Permission
  • bedchanger.change

GitHub repo

    Here!


ToDo
  • Improve the workaround code (for setting the color of both halves)
  • Create a README on the repo, put a link to here
  • Config options (enable/disable permissions, customize/disable charging amount, customize chat message & prefix)
Yeah - it‘s working ?

Can you also post it to the plug-in repository?
https://plugins.cuberite.org/
(04-09-2021, 03:21 PM)12xx12 Wrote: [ -> ]it's working ?

Perfectly!



(04-09-2021, 03:21 PM)12xx12 Wrote: [ -> ]Can you also post it to the plug-in repository?

Definitely! done!
Looks great!