ClassiCube / MCGalaxy

A Minecraft Classic / ClassiCube server software
GNU General Public License v3.0
168 stars 79 forks source link

Allow replacing nonexistiant GBs or LBs. #676

Open forkiesassds opened 2 years ago

forkiesassds commented 2 years ago

It annoys me that to replace a nonexistent GB or LB I have to make an LB just to be able to replace the blocks in the map.

UnknownShadow200 commented 2 years ago

Question is how should nonexistent block IDs behave in respect to block permissions

rdebath commented 2 years ago

Same as if you /delete or /paint them manually.

UnknownShadow200 commented 2 years ago

I mean more from the aspect of /blockset

rdebath commented 2 years ago

:confused: ... /blockset doesn't need to be changed. :bulb: ...

My take on the problem that @forkiesassds has is...

The point being that the only permissions I see is needed are the same as existing commands need, in this case it appears to be default to "Invalid block may be deleted" and check "Air/NewBlock can be placed."

Note that the real problem is the Paste (or an /lb remove) which allows invalid blocks to exist. However, "fixing" this would mean either a horrible multiple substitutes syntax for doing the /replace during the /paste or just pushing the /lb creation before the paste. This cannot be automated because you don't know if the difference between purple block and violet block is significant.