❄ BuildMode - End of Builder Abuse! (Skript) icon

❄ BuildMode - End of Builder Abuse! (Skript) -----

Separate the builder's inventory while in creative!




Fixed some errors that appear after updating to Skript 2.8.0

Revision History
----------, Jan 18, 2024

This update contains 2 small tweaks:
  • Update the "BuildMode enabled!" message to reflect how the BuildMode v2 inventory system works.
  • Fixed potential warnings that could come up when parsing the script.
Revision History
----------, Jan 17, 2024

upload_2023-9-1_21-30-33.png

GitHub Gist Revisions

Changelog:
  • Fix some protections not having a condition for the player to be in BuildMode
  • Add a separate message to be shown when enabling BuildMode with the bypass permission
----------, Sep 1, 2023

[​IMG]

Hello! It's definitely been a while.
I guess the last update was not the last update, because, well, here we are!

BuildMode 2.0 has a very different concept compared to BuildMode <1.3.4. While in earlier versions of BuildMode, the creative inventory was always cleared when BuildMode was disabled, in v2.0+, the survival and creative inventories are literally separated.

[​IMG]

Anyway, here's the full changelog:
  • All variables now use the player's UUID instead of their username to store data
  • BuildMode now saves both the survival and creative inventories, so players can switch back and forth between each inventory with /bm.
  • Config has been simplified and improved. Most notably, start-command and end-command have simply become buildmode-group.
  • Fixed a warning related to a lack of "and"/"or" in some lines of code
  • Removed /permafly. It's unnecessary and doesn't align with the purpose of this script.
  • A few other minor changes
  • (Resource page) Stuff looks fancier now :)
I swear, this is now my final final final update (It will probably not)
----------, Sep 1, 2023

Hello! Over time on my server, I've modified the BuildMode script slightly. I thought it would be cool for the changes that aren't tailor fitted to my server to be published here.
  • Reduced the /buildmode command cooldown from 3s to 1s
  • Compressed some code, namely deleting of variables and the BuildMode message
This will probably be the last update, as there really isn't anything else to add. Peace!
----------, Mar 4, 2023

- Bug Fix: {lastinv::%{_p}%::*} is now deleted properly when BuildMode is disabled
----------, Oct 22, 2022

It is highly recommended to update to this version immediately!

- Bug Fix: BuildMode now saves and restores the off hand of the player, fixing bypassing BuildMode by keeping an item in the off hand.
----------, Oct 9, 2022

- QoL: Added an option for entities that are whitelisted from the no_damage BuildMode protection. By default, entities such as item frames are whitelisted.
----------, Oct 9, 2022

- Optimization: Saving + restoring of inventories and the BuildMode enabled message have been placed into functions. This greatly reduces the parse time, reduces the file size, and minimizes repetitive code.

- New: Added /permafly, which prevents the player's flight from turning off. This comes with a configurable permission in config.

- Change: Changed config name for the /buildmode permission to permission_buildmode rather than just permission.

- Change: {buildmode} variable is now deleted instead of set to false, as keeping it as false is unnecessary.

- Bug Fix: no_container_open no longer affects all players (only BuildMode enabled ones)

- QoL: Players who run /buildmode <player> without the set permission_others will now simply turn BuildMode on for themselves.

Small note: /permafly isn't as effective with players that have higher ping (like me!), as the player would fall down a block or two before flight is turned back on.
----------, Oct 3, 2022

- Removed an unnecessary "stop"
- After turning BuildMode off and restoring the inventory of the player, the variables containing the saved inventory will now be deleted. This is because variables of items with a lot of NBT data get very large.
----------, Sep 30, 2022

- Fixed saving and applying of player's helmet being wrongly indented, causing it to be looped 36 times.
----------, Sep 7, 2022

- Bypass group now properly bypasses container and damage restrictions.
----------, Sep 5, 2022

- Fixed the console being affected by BuildMode
----------, Sep 4, 2022

- Fixed the blacklisted commands function not working
----------, Aug 25, 2022

- Added an optional argument for /buildmode to enable BuildMode for another user. (/buildmode <player>)
- This requires a separate permission (buildmode.others by default)
----------, Aug 25, 2022

- Prevented dropping items while BuildMode is active.
- Added a config option to toggle dropping restrictions.
----------, Aug 25, 2022

Resource Information
Author:
----------
Total Downloads: 956
First Release: Aug 24, 2022
Last Update: Jan 18, 2024
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings