i modify the example 'customImporterPlugin' but have something wrong

0 favourites
  • 8 posts
From the Asset Store
Unlock platyers earning coins, and save it with Localstorage
  • just replace plugin_id and then can not start the C3

    Error report information

    Type: unhandled rejection

    Reason: Error: help URL must begin with http:// or https:// Error: help URL must begin with http:// or https:// at window.ǃUt.ǃeRE (https://editor.construct.net/r104/main.js:63:492842) at new window.Plugin (https://editor.construct.net/r104/main.js:63:503623) at new window.ǃecs (https://editor.construct.net/r104/main.js:63:509439) at Function.ǃW.ǃgN (https://editor.construct.net/r104/main.js:2:140330) at o.ǃRg (https://editor.construct.net/r104/main.js:74:28522) at Object.n.push.ǃW.ǃIG [as ǃYTK] (https://editor.construct.net/r104/main.js:74:28934) at n (https://editor.construct.net/r104/main.js:2:201477) at t (https://editor.construct.net/r104/main.js:2:201262)

    Stack: Error: help URL must begin with http:// or https:// at window.ǃUt.ǃeRE (https://editor.construct.net/r104/main.js:63:492842) at new window.Plugin (https://editor.construct.net/r104/main.js:63:503623) at new window.ǃecs (https://editor.construct.net/r104/main.js:63:509439) at Function.ǃW.ǃgN (https://editor.construct.net/r104/main.js:2:140330) at o.ǃRg (https://editor.construct.net/r104/main.js:74:28522) at Object.n.push.ǃW.ǃIG [as ǃYTK] (https://editor.construct.net/r104/main.js:74:28934) at n (https://editor.construct.net/r104/main.js:2:201477) at t (https://editor.construct.net/r104/main.js:2:201262)

    Construct 3 version: r104

    URL: editor.construct.net

  • You need to update the plugin ID in the language file, too. There's a couple of places it appears.

  • MyCompany_CustomImporter1 replace MyCompany_CustomImporter en-US

    {

    "languageTag": "en-US",

    "fileDescription": "Strings for MyCustomImporterPlugin.",

    "text": {

    "plugins": {

    "MyCompany_CustomImporter1": {

    "name": "CustomImportPlugin123",

    "description": "An example third-party plugin demonstrating the Custom Importer API.",

    "help-url": "",

    "properties": {

    "test-property": {

    "name": "Test property",

    "desc": "A test number property. Displayed by 'Alert' action."

    }

    },

    "aceCategories": {

    "custom": "Custom"

    },

    "conditions": {

    "is-large-number": {

    "list-name": "Is large number",

    "display-text": "{0} is a large number",

    "description": "Test if a number is greater than 100.",

    "params": {

    "number": {

    "name": "Number",

    "desc": "Number to test if greater than 100."

    }

    }

    }

    },

    "actions": {

    "do-alert": {

    "list-name": "Do alert",

    "display-text": "Do alert",

    "description": "Do a dummy alert."

    }

    },

    "expressions": {

    "double": {

    "description": "Double a number.",

    "translated-name": "Double",

    "params": {

    "number": {

    "name": "Number",

    "desc": "The number to double."

    }

    }

    }

    }

    }

    }

    }

    }

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ashley

    i replace plugin_id use nodepad++ with all file

    how to upload file to here and make you help me thank you

  • zjc121

    The easiest thing to do is to probably zip up the files and put it on one drive,google drive,etc...

    Than make the folder you put it in accessible and put the link in the forum.

  • rhg1968

    this is my plugin please help me

    drive.google.com/open

  • zjc121

    Found your issue

    This caught me also when I started with my first plugin.

    You did everything right copying the id to the right places, but there is one exception to the rule.

    In the en-US.json file the plugin specified needs to be all in lowercase. This is the only place this is required. Once I did that your plugin loaded up without issue.

    Also I would suggest using a good editor like visual studio code

  • rhg1968

    thank you very very much. it is ok.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)