npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

roblox-animation-transfer-edit

v1.3.1-c

Published

Transfers Roblox animations from one owner to another. Edited to remove upload description due to roblox filter

Downloads

6

Readme

roblox-animation-transfer

This is a command line utility that allows you to transfer Roblox animations between owners in bulk.

This tool was born out of necessity because unlike other asset types on Roblox, animations are locked to games owned by the owner of the animation.

Usage

Pro-tip: The following examples make use of the npx command, which is automatically included when you install node.js. npx allows you to run commands from packages without needing to install the them on your system. As long as you have node.js installed, you can run these commands directly and they'll just work.

.ROBLOSECURITY

In order to upload animations, the .ROBLOSECURITY login cookie from Roblox.com is required. The account that the cookie belongs to must have permission to upload animations on the destination group. It is recommended that you use an alternate account for this process.

By default, the tool will use the cookie from Roblox Studio on Windows. You do not need to manually specify the cookie if this works for you.

Manually specifying the cookie

You can either set an environment variable named ROBLOSECURITY to the value of your cookie, or you can provide the --cookie/-c option every time you run the command.

In bash, that looks like this: export ROBLOSECURITY=YOUR COOKIE HERE

And in PowerShell: $env:ROBLOSECURITY="YOUR COOKIE HERE"

And in Command Prompt: set "ROBLOSECURITY=YOUR COOKIE HERE"

The examples below assume you've set the environment variable or are logged into Studio on Windows!

Animation List Files

This tool reads in text files that contain a list of animations to upload. In addition to creating them manually, the tool can generate them from a user or a group.

The format is simple: each line begins with the animation ID followed by a space, and the remaining text on the line is used as the animation title.

12345 animation name
23423451 second animation name
232323 third animation name

You can generate a file with all animations owned by the logged in user or a group ID with the --list/-l option.

$ npx roblox-animation-transfer --user --list --outFile animations.txt will save the list in a file named animations.txt

You can omit the --outFile/-o option, in which case the list is written to stdout.

You could generate a list from a group instead of the logged in user by using the --group [id] option.

Transferring animations

Once you have obtained a list file, either through creating it manually or generating one, you can use it to transfer animations from one owner to another.

$ npx roblox-animation-transfer --inFile animations.txt --group 12345

This will download and re-upload all of the animations from animations.txt to the new owner. This generates a new animation list file written to stdout.

You can specify an --outFile here as well to write the new list to a file instead of stdout. If you omit the --inFile, then stdin is used for the input file.

All together now

Because roblox-animation-transfer can operate purely on stdin and stdout, transferring all animations between groups is as simple as just one command (assumes you've set the ROBLOSECURITY env variable):

  • $ npx roblox-animation-transfer -g 12345 -l | npx roblox-animation-transfer -g 67890

In the above example, all animations from group id 12345 will be transferred to group id 67890.

Command options

Usage: roblox-animation-transfer [options]

Options:
  --outFile, -o     Specify a file to output result to; otherwise stdout is used
                                                                        [string]
  --inFile, -i      Specify a file to read input from; otherwise stdin is used
                                                                        [string]
  --group, -g       The target group id                                 [number]
  --user, -u        Target the logged-in user instead of a group       [boolean]
  --list, -l        Instead of uploading animations, generate a list of
                    animations owned by the specified target.          [boolean]
  --cookie, -c      The .ROBLOSECURITY cookie to use for logging in.
                                                             [string] [required]
  --concurrent, -C  The number of animations to upload concurrently.
                                                           [number] [default: 1]
  -v, --version     show version information                           [boolean]
  -h, --help        show help                                          [boolean]