Skip to main content

Build and deploy openplanet scripts

Project description

Remote Build

Build and reload openplanet plugins from your IDE.

Setup

First install the RemoteBuild Openplanet plugin found here or from the ingame plugin manager.

Then install the remote build client using pip:

python -m pip install --upgrade tm-remote-build

Usage

Use Case 1 - Plugin Folder in Openplanet*/Plugins/ Folder

This is the use case if your plugin source code is located in an Openplanet*/Plugins folder. This use case benefits from not requiring the overhead of copying the zipped plugin files to the Plugins folder. The drawback is that the plugin can only be loaded by the game which the Openplanet folder belongs to.

Invoke the remote build client and pass in the path to the folder. A relative path is also valid.

tm-remote-build C:\Users\Username\OpenplanetNext\Plugins\Dashboard

The client will connect to the running game for this folder location and load the plugin.

Use Case 2 - Zipped Plugin *.op

This use case is great if you have external packaging scripts since the input is a pre-existing *.op file. Another benefit of this use case is that you can deploy and load in more than one game at a time if multiple are running. The downside is that you incure the overhead of copying the plugin file to each Openplanet*/Plugins folder.

Invoke the remote build client and pass in the path to the zipped plugin file. A relative path is also valid.

tm-remote-build C:\Users\Username\Code\Dashboard\Dashboard.op

The client will find every running game and deploy and load the zipped plugin to all of them.

Use Case 3 - Package and Deploy Plugin Source

This is for the case where your code is not located in an Openplanet*/Plugins folder and you would like to use the remote build client to package and deploy your code.

Invoke the remote build client by passing in the path to your source code, relative or absolute.

tm-remote-build C:\Users\Username\Code\Dashboard --zip

The client will package the files under the input path. Then deploy and load the zipped plugin to all active games.

You can use the arguments --zip_out_path, --zip_exclude, and --zip_plugin_id to control and tune the packaging.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tm_remote_build-1.1.1.dev1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tm_remote_build-1.1.1.dev1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file tm_remote_build-1.1.1.dev1.tar.gz.

File metadata

  • Download URL: tm_remote_build-1.1.1.dev1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.2 Windows/10

File hashes

Hashes for tm_remote_build-1.1.1.dev1.tar.gz
Algorithm Hash digest
SHA256 b4e967ef5cc9c70f482f660fcdc25456c29f3ec640b10f7801e586fa0dd90d0a
MD5 4c5accc8eeb5f8a404a4cf8618d9b3ee
BLAKE2b-256 fe16e290c6c6ed7fc600dff4c309afab7b0350ee9f4851d0c31bf9fcb52b9272

See more details on using hashes here.

File details

Details for the file tm_remote_build-1.1.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for tm_remote_build-1.1.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 3961549b60afb2219b86a1ce3649904904dbd7798d90104411cbd3a88ce43861
MD5 362b3d0901f15c2a95e8ba460cea5181
BLAKE2b-256 a7fc73c8932d815dd15f04f9d3f86155d9716b7710ff504ca4315a4747c2b14a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page