您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Some small QOL improvements to ninja.io!
当前为
This is the repo for all things NinjaIOUtils related.
This contains the source code and build tools for the extension, as well as a texture (un)packer.
A simple script for ninja.io that adds some QOL features.
For support DM Meow#4567
on discord!
Just install the script and open ninja.io! In order to join someone else's game, you both need the script installed. Have them send you their join link (just copy the URL) and once you click it, you'll automatically join.
When you join a game, your url will look like this (something similar):
https://ninja.io/#8&NA%203%20Ranked%20%2314
Anyone you send this to (with the script) can join your server! This includes the server password for private servers. If the game is full, the script will hang and you can't join the server. (working on notifying you if the server is full)
When the "Appear Online" checkbox is checked, you will appear online and using utils to other users also using utils. Users using utils are marked with a green dot now, and users who are online but not using utils are orange.
IF YOU APPEAR ONLINE, OTHER PEOPLE USING UTILS CAN JOIN YOUR PUBLIC GAMES
Other people can not join your games if you do not appear online or your game has a password.
You can use a texture pack via the in-game texture pack browser. If you have created a texture pack and would like to use it, DM me on discord or follow the instructions below:
Fork this repository and create files in the texturepacks folder. There are no rules for packs, just don't make it NSFW.
Your pack needs a unique id, for example AllWhite
. For each texture your pack has (textures and/or terrain), upload your images as id_terrain.png
and id_textures.png
(example AllWhite_terrain.png). If your pack does not change terrain, don't upload the terrain file. If your pack does not change textures, don't upload the textures file.
You need to create a file for your texture pack metadata, call it id.json
. (example AllWhite.json)
Fill this out and put it in the file:
{
"id": "your_id", // example: AllWhite
"name": "Texture Pack Name", // example: All White
"author": "My Name", // example: Meow
"description": "Such a cool pack!" // just describe what it does
}
You should now have a .json
file and one or two .png
files. You can now create a pull request and your pack will be added.
This script is used for my stat tracker. In order to start tracking your stats, log in here and copy the API key. Go to the settings page on ninja, NinjaIOUtils tab, and paste in the api key. (this is the api key FOR MY WEBSITE. you DO NOT need to give your ninja login details)
Now go here and link your account. (the account you are using this script with) You can view linked accounts here.
Now whenever you finish a game, the script will upload your score to the tracker. You can view your match history by clicking 'View' on your account.
These instructions assume windows as your operating system. If you are using linux, you shouldn't have a hard time adapting them.
replace
to true
in config.json in order to replace existing files. (change it to false to keep files and not overwrite them)verbose
to false
in config.json to disable the extra output from the commands.unpack.bat
.You can then edit your files in the split_textures
and split_terrain
folders.
To pack your files once you are done, run pack.bat
.
This will take the images from the split_textures
/split_terrain
folders and re-pack them into textures.png
and terrain.png
which you can then distribute as your texture pack(s).