Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity Gaming Services CLI

v1.6

Legacy
​

GitHub Repository

Unity Gaming Services CLI

v1.6

Legacy
​

Unity Gaming Services CLI
​
​
Economy
  • Overview
  • Commands
    • Delete
    • Get Published
    • Get Resources
    • New-File
    • Publish
  1. Overview
  2. Economy

New-File

Creates a new Economy script locally filled with template code.
Read time 1 minute
Last updated 3 months ago

Creates a new Economy script locally filled with template code.

Command

Authentication Required:
No

Currency

ugs economy currency new-file <file-name> [options]

Inventory Item

ugs economy inventory new-file <file-name> [options]

Virtual Purchase

ugs economy virtual-purchase new-file <file-name> [options]

Real Money Purchase

ugs economy real-money-purchase new-file <file-name> [options]

Arguments

<file-name>
The name of the file to create

Options

Option

Alias

Description

force-f, --forceOverwrites existing file
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Command

      • Currency

      • Inventory Item

      • Virtual Purchase

      • Real Money Purchase

    • Arguments

    • Options