Jump to content
hot girl striptease sexy nude poledance desktop stripper

The Sims 4 Community Library


Recommended Posts

The Sims 4 Community Library


The Sims 4 Community Library


An API, for The Sims 4, used to make creating/writing mods using Python much easier and more accessible. On its own it does only a few debug commands/interactions. Only install this API if you also have a mod installed that requires it! This mod is intended to always be backwards compatible, so it is recommended to always keep it up to date!

Updated: 07-20-2021
Game/Creator:  The Sims 4 [EA]
Modder: ColonolNutty - Documentation - Github Wiki - Wiki - Discord (Pre Release Builds Available There)
Mod Version: v1.79
Language: English
Game Version: and above




A Short List Of Current Features (Not all utilities are listed here because they are waaay too numerous!):
For a complete list of features and utilities, check out the documentation at the top of this description!

  • A vast library of Vanilla Tuning identifiers for easy retrieval (Enums)
  • Logging
  • Exception Handling
  • Custom Dialogs
    • Choose Dialogs, Outfit Dialog, Purchase Dialogs, and more!
  • Custom Notifications
  • Custom Interactions
  • Custom Icons
  • Event Handling (Creating, Dispatching, and Listening)
    • Dispatching of Vanilla Events, such as Age Changes, Traits Added/Removed, Buffs Added/Removed, and more!
  • Miscellaneous Utilities
    • Manipulate Sims, Objects,. the Weather, the Terrain, the UI, and many more!
    • Manipulate Sim Voices, Households, Gender Options, Genders, Situation States, Object Repair States,
  • Test Framework
    • Write and run tests (Can be run from within the game)
  • There are a TON more features not listed here! You may see all utilities/classes available to you at the Documentation link at the top of this description!



  1. Download the API using the links at the bottom of this description
  2. Unpack the archive using your favorite archiving tool.
  3. Drag the files/folders to your Mods directory.
  4. Keep in mind the ts4script file MUST be either top level (Directly in the Mods/folder) or one folder deep (Mods/Blah/). Any deeper and it will not work.
    The final paths for the files should be the following:

    The Sims 4/Mods/sims4communitylib.package
    The Sims 4/Mods/sims4communitylib.ts4script



  • Q: S4CL is throwing a ton of errors in my game! Can you fix it??
    • A: S4CL can catch errors caused by other mods. It is extremely rare that S4CL itself is the one breaking.
  • Q: Is S4CL compatible with X???
    • A: S4CL is compatible with ALL mods, it is intended to be an extension of The Sims 4 and not replace functionality of it.
  • Q: I don't want to use S4CL because it contains Adult Content!!
    • A: S4CL does not contain any adult content whatsoever. It may be available on Sites that permit Adult Content, however it does contain any adult content itself.




Usage (For Mod Authors):


A nifty tutorial has been created on the Github Wiki to help those wishing to either get into modding The Sims 4 or to begin utilizing S4CL, you may find it here




The changelog is kept up to date and is located here


To those using this mod, if you are told that my mods do any of the following:

- Will break or cause severe issues within your game

- Contain themes endangering or abusing Children

- Contain themes endangering or abusing Animals

- Contains illegal content

Please know that ALL of this is misinformation, and completely false.

The mod authors known as TURBODRIVER and Deaderpool have chosen to Stalk, Target, and Cyberbully me and anyone who chooses to use any of my mods. They have chosen to spread misinformation (slander) about my mods for years, and have gone so far as to put malicious code in Wicked Whims targeting my mods (and by extension those who make mods using S4CL which is a fairly large chunk of mod authors). I believe in creating mods that better the community as a whole, even if I have no personal interest in  the criteria of the mod itself. Even the API called Sims 4 Community Library, which I have created for new and old mod authors to create simpler and more stable mods while also providing a vast store of functionality for said mods, has been targeted by these mod authors. They go on witch hunts, banning or threatening anyone who dares join my discord. They have threatened other mod authors, discords, websites, and various other forms of media into also banning and threatening people for using my mods.

Sadly, this has put me in a place where the very community I love and support, slanders me and continues to spread the same misinformation, without knowing that many of the negative things being said have zero evidence to back them and are nothing more than cyberbullying.

Though these Mod Authors are extremely successful, they have been using their popularity to ruin my reputation and railroad the community into believing these lies. This has caused many discords to ban people for using any of my mods and it has turned my name into something that frightens everyone when it is even mentioned. I try my best to support and create content for this community out of my own pocket and this is completely unacceptable.

Please do not believe everything you read on the internet. There's always two sides

to a story but above all there is the absolute truth. Its up to us as people to find it out

and refrain from hopping onto bandwagons stirred up by popular mod authors.

I love this community, and despite what TURBODRIVER and Deaderpool say to ruin me, I will continue doing my best to support this community, noone deserves this treatment, especially not someone who makes mods for free.


Link to comment
Share on other sites

  • 7 months later...

New Version of S4CL Available (v1.77):
- Fixed an error that could occur when using commands that have an optional integer argument.
- Added a couple fun commands to use.
- On each interaction class, when the test function is run, the verbose log will now display the test result of each individual test part of the tuning. i.e. test_globals, _additional_tests, test_autonomous, and affordance tests.
- Updated the command `s4clib.play_visual_effect`, some of the arguments were shifted. sim_info was moved to be the second argument. joint_bone_name was moved to be the last argument.
- Added a new command to play visual effects on objects. `s4clib.play_visual_effect_object`.
- Added an interaction to be able to log all of the game tags of an object. `Log All Game Tags`.
- Added many new strings.
- Added new CommonLocalizedStringSeparator values `OR`, `COMMA_SPACE_OR`, `AND`, `COMMA_SPACE_AND`, `NEWLINE_NEWLINE`, `STRING_PLUS_STRING`, `ARE`, `IS`
- Fixed an error when choosing options in a Multipane dialog where it would not correctly determine values to be selected.
- Fixed some type hint issues within CommonGameObjectDataStorage and CommonSimDataStorage.
- Added the ability to choose to hide the tooltip for CommonTestResult and CommonExecutionResult via a new init argument `hide_tooltip`.
- Added CommonTunedInstanceRegistry, used to modify tunings as they load into the game.
- Added a tuned instance modification handler for adding interactions to affordance lists.
- Added functions to CommonCombinedSpecies to convert it to a short name, enum xml, and to check if a value is an animal value.
- The maximum size files can be when created by S4CL is now configurable via the sims4communitylib.config file. It has also been increased to about 500 MB instead of the previous 10 MB.
- Added new utilities for Civic Policies, Bitwise operations, Businesses, Attach/Detach CAS Parts, Locations, Text, Sim Location, Sim Name, Sim Posture, and Sim Situations.
- Added new enums for Civic Policy Status, Civic Policy Types, Street Civic Policies, Venue Civic Policies, and Postures.
- When setting the first or last names of Sims via the S4CL commands, the first character of the entered names will now properly be capitalized.
- Added a command to change the weather
- Added fun commands to play with lightning strikes

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...