Codecks User Reports

An asset by vnznz
The page banner background of a mountain and forest
Codecks User Reports hero image

Quick Information

0 ratings
Codecks User Reports icon image
vnznz
Codecks User Reports

Create Codecks User Reports from Godot Games

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
10 months ago
Git URL
Issue URL

Codecks User Reports for Godot

This is an implementation of the Codecks User Reports API for Godot.

Usage

First you need a report token for your Codecks organization, then add CodecksUserReport.gd to your Godot project. To create a user report you need to create a CodecksUserReport instance to your scene, optionally add files to it and then .send() it.

var report:CodecksUserReport

func send_report():
    # create report
    report = CodecksUserReport.new(
        "rt_", # report_token
        "this is a codecks user report", # message
        CodecksUserReport.SEVERITY_HIGH, # severity
        "[email protected]") # reporter email (optional)
    add_child(report)

    # add file to report
    report.add_file("icon.png", "res://icon.png", "image/png")

    # add signal handler for card creation
    report.connect("card_created", self, "_on_card_created")

    # send it
    report.send()

func _on_card_created(card_id):
    print("codecks card %s created" % card_id)

Example

For an example user report UI you can open this repo as a godot project and look at main.tscn as well as ExampleReportForm.gd

Create Codecks User Reports from Godot Games

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Codecks User Reports icon image
vnznz
Codecks User Reports

Create Codecks User Reports from Godot Games

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
10 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers