1. 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.

  1. Some new syntaxes!

    Romitou
    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):
    1. {
    2.   "simpleField": "Hello!",
    3.   "nestedObject": {
    4.    "number": 100,
    5.    "boolean": false
    6.   }
    7. }
    Code (Text):
    1. set {_nested} to a new mongo document with:
    2.   mongo "number": 100
    3.   mongo "boolean": false
    4. set {_doc} to a new mongo document with:
    5.   mongo "simpleField": "Hello!"
    6.   mongo "nestedObject": {_nested}
    7. broadcast {_doc}'s mongo json
    These new syntaxes are all prefixed with mongo to ensure they do not conflict with other addons.
    As a reminder, they are currently in beta, and their patterns may be changed if there are problems.

    That's it for today, enjoy!
Return to update list...