The previous patch versions (2.0.1, 2.0.2 & 2.0.3) proved to be stable and without bugs, so here is a minor version (2.1.0)! This new version also brings some new features:
✨ Features
- Update Mongo driver from version 4.2.2 to 4.3.0-beta1
- Remove severe logging when a field does not exist in a document
- Add an is empty document condition
- Add an has value document condition
- Add an has key document condition
- Add Mongo sections!
As you know, the creation of simple documents can sometimes be long and boring, because of the many lines that sometimes seem unnecessary.
To create a simple document representing the JSON object below, you can now use a new syntax!
Code (Text):
{ "simpleField": "Hello!", "nestedObject": { "number": 100, "boolean": false } }These new syntaxes are all prefixed with mongo to ensure they do not conflict with other addons.Code (Text):
set {_nested} to a new mongo document with: mongo "number": 100 mongo "boolean": false set {_doc} to a new mongo document with: mongo "simpleField": "Hello!" mongo "nestedObject": {_nested} broadcast {_doc}'s mongo json
As a reminder, they are currently in beta, and their patterns may be changed if there are problems.
That's it for today, enjoy!
-
Welcome to skUnity!
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon MongoSK 2.3.0
The MongoDB database management addon for Skript.