BetterTC

BetterTC 1.4.2

IMPORTANT: You may need to delete the config file and regenerate it by reloading the plugin. Remember to click the check update button to download the skins list!

- Reduced the default cost of placing wallpaper to 5. To make it consistent with the in-game price per unit.
- You can now place a wallpaper on the entire building. Added a button called "PLACE ALL" this will place the wallpaper regardless of grade or skin.
- Spray can icons, wallpaper and TC skins now load directly from the client side, thus optimizing image loading.
- Added an additional setting to decide if you want to use NoEscape or not. "Use NoEscape Plugin: true/false"
- Disabled debug logging.
  • Fixed a small bug where the plugin was trying to place wallpapers on door frames and spamming the error on screen. Thanks to IlIDestroyerIlI for reporting it!
  • Updated the wallpaper placement sound to match the in-game sound.
  • Fixed two texts that were not set correctly in the lang. Thanks for reporting it MrLiquid!
  • Added support for Wall Wallpapers.
  • You will need to download the list of available Wallpapers by clicking on the Check Update button. In case new Wallpapers are added they will be updated remotely with this system. No need to update the plugin.
  • Added support for repairing deployable elements in buildings. That is, doors, windows, boxes, etc. are now repaired.
  • The configuration file has been updated with new options related to Wallpaper and Deployable repair (default to true).
  • Added permissions: bettertc.wallpaper and bettertc.wallpaper.nocost
  • Added new langs.
Note:
  • Wallpaper placement is not affected by Raid Block, as it does not really apply life changes or anything similar.
  • By default it is set to 20 fabric per wallpaper placed. You can change the amount in the settings.
  • Added a new menu to select the TC Skin. (Remember to have the bettertc.tcskinchange permission enabled)
  • Added the new Shockbyte skin.
  • Removed the old button to activate or deactivate the skin, use the new menu instead.
  • The skin selected in the menu will be automatically applied when placing the rest of the TC if you have the bettertc.tcskindeployed permission enabled.
DO NOT UPDATE BEFORE FACEPUNCH UPDATE

Added scroll bar to the view of authorized players in the TC.

A new feature (beta) is added to offer your players the possibility of directly placing cabinets with the new appearance that Facepunch will add in the next April update.

Likewise, the possibility of changing the appearance from the plugin menu is also added.

Note: I have been testing and everything seems to work correctly even with Dynamiccupshare. If you find any problem let me know. There may be problems with multitc builds if the player decides to change the skin later. Since what really occurs is the elimination of the wardrobe and the placement of a new one, maintaining its properties.

Attachments

  • f7581ebf5ab6397a5f132fb7ba616948.png
    f7581ebf5ab6397a5f132fb7ba616948.png
    831.4 KB · Views: 59
I have changed the way it checks whether building entities belong to a teammate or not.

Now it should be more optimized and not produce any Player Tick. Please, if you find any problem let me know.
Fix for March update.
Added "Upgrade / Downgrade only Owner and Team" option. If this option is enabled and the previous two are disabled, both the entity owner and his teammates will be able to upgrade or downgrade the entities. Important: If all 3 options are disabled, everyone will be able to upgrade and downgrade.
- Added "Upgrade only Owner Entity Build" option
- A new parameter has been added to the settings to hide the SteamID in the authentication list if you do not have admin permission.
- Now if you don't have permission to reskin it will also report that you don't have permissions.
- Fixed bug that allowed you to upgrade a container skin even if you did not have permissions to upgrade with skins.