# Configuration file

"scripting customization" {
    # How frequent to update the action manager ticking tasks
    I:"Action Manager Tick Default"=5

    # If true, shows fields from implementation classes in autocomplete menu like 'event.npc'.
    #  This can be useful for advanced scripters who want to use fields from implementation classes.
    B:"Autocomplete Implementation Fields"=false

    # Comma separated list of classes that cannot be used in scripts through Java.for().
    # Classes must be fully written out with library names preceding them.
    # This is a feature ONLY AVAILABLE ON NASHORN.
    S:"Banned Classes"=java.net.URL,java.net.URI

    # If true, clears the Action Manager for players and NPCs when they die
    B:"Clear Actions On Death"=true

    # Enables/Disables the use of the the ECMA6 Javascript standard instead of ECMA5.1.
    # Enabling this adds many more features to JS in scripts. Only use if on Java 8 or higher.
    # Not all ECMA 6 language is supported through this functionality.
    B:"ECMA6 Scripting Language"=false

    # Enables the Banned Classes Functionality
    B:"Enable Banned Classes"=false

    # Acts similar to CNPC 1.12 where Player Scripts like Init are run PER Player
    B:"Individual Player Scripts"=false

    # If scripts have been loaded from the scripting GUI, the script engine will evaluates them by
    # merging your loaded scripts with your main script, then running the combined script.
    # This config determines the order in while the loaded scripts are merged with your main scripts: before (true), or after (false).
    B:"Run Loaded Scripts First"=true

    # Comma separated list of player UUIDs that can see and edit scripts. If ScriptsOpsOnly is true,
    # ops and players with these IDs can see and edit scripts. Example:
    # b876ec32-e396-476b-a115-8438d83c67d4,069a79f4-44e9-4726-a5be-fca90e38aaf5,be951074-c7ea-4f02-a725-bf017bc88650
    # Get a player's UUID from a site like NameMC or the API IPlayer.getUniqueID() function!
    # If left empty and ScriptsOpsOnly is false, anyone can see and edit scripts with a scripter.
    S:"Script Dev UUIDs"=

    # If scripts are too long (>65535 characters), they normally won't be saved in NBT data.
    # This config adds additional compound tags to scripts that need it, so you can store much larger scripts!
    # Every additional compound tag adds 65535 more characters to your script length limit. Use incrementally, with caution.
    I:"Script Tag Limit"=2
}


"scripting general" {
    # Enables global forge event scripts to be used in the scripter. You can still see and write code in the scripter, but these scripts won't run. True by default.
    B:"Enable Global Forge Event Scripts"=true

    # Enables global NPC scripts to be used in the scripter. You can still see and write code in the scripter, but these scripts won't run. False by default, use with caution!
    B:"Enable Global NPC Scripts"=false

    # Enables global player event scripts to be used in the scripter. You can still see and write code in the scripter, but these scripts won't run. True by default.
    B:"Enable Global Player Scripts"=true

    # Enables/Disables ALL scripting. You can still see and write code in the scripter, but these scripts won't run. True by default
    B:"Enable Scripting"=true

    # Only ops can see and edit scripts
    B:"OPs Only"=false
}


