πŸš€ Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More β†’
Socket
Book a DemoInstallSign in
Socket

xabbo.io/nx

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xabbo.io/nx

Go Modules
Version
v0.3.0
Version published
Created
Source

nx

A command-line toolkit and Go library for Habbo Hotel.

Installation

To install the command-line toolkit

go install xabbo.io/nx/cmd/nx@latest

Usage

User

Retrieve a user's information

$ nx user xb7c
             Name β”‚ xb7c
           Status β”‚ Offline
      Last access β”‚ 1 January 2024 3:08:53 am (6 days ago)
        Unique ID β”‚ hhus-c09969403c0b73332345a4b0165ef300
          Created β”‚ 11 November 2023 3:01:19 am
           Figure β”‚ hr-3090-42.hd-180-1.ch-3110-64-1408.lg-275-64.ha-1003-64
            Motto β”‚ (no motto)
  Selected badges β”‚ (none)

From another hotel

$ nx user --hotel nl b7c
             Name β”‚ b7c
           Status β”‚ Offline
      Last access β”‚ 12 December 2022 1:58:01 am (1 year ago)
        Unique ID β”‚ hhnl-f4f6928d744d06d4c81aa61116606d25
          Created β”‚ 7 July 2020 6:45:49 am
           Figure β”‚ hr-3090-42.hd-180-1.ch-3110-64-1408.lg-275-64.ha-1003-64
            Motto β”‚ (no motto)
  Selected badges β”‚ (none)

You can also set the HOTEL environment variable so you don't need to specify --hotel all the time.

$ export HOTEL=nl
$ nx user b7c
             Name β”‚ b7c
           Status β”‚ Offline
      Last access β”‚ 12 December 2022 1:58:01 am (1 year ago)
        Unique ID β”‚ hhnl-f4f6928d744d06d4c81aa61116606d25
          Created β”‚ 7 July 2020 6:45:49 am
           Figure β”‚ hr-3090-42.hd-180-1.ch-3110-64-1408.lg-275-64.ha-1003-64
            Motto β”‚ (no motto)
  Selected badges β”‚ (none)

Outputting the raw JSON response

$ nx user xb7c --json
{"uniqueId":"hhus-c09969403c0b73332345a4b0165ef300","name":"xb7c","figureString":"hr-3090-42.hd-180-1.ch-3110-64-1408.
lg-275-64.ha-1003-64","motto":"","online":false,"lastAccessTime":"2024-01-03T02:08:53.000+0000","memberSince":"2023-11
-08T14:01:19.000+0000","profileVisible":true,"currentLevel":4,"currentLevelCompletePercent":20,"totalExperience":48,"s
tarGemCount":2,"selectedBadges":[]}
$ nx user xb7c --json | jq .totalExperience
48

Furni

Search for furni

$ nx furni search dragon lamp
Forest Dragon Lamp [rare_dragonlamp*5]
Emerald Dragon Lamp [rare_colourable_dragonlamp*2]
Duck Blue Dragon Lamp [rare_colourable_dragonlamp*5]
Azure Dragon Lamp [rare_colourable_dragonlamp*1]
Bronze Dragon Lamp [rare_dragonlamp*8]
Pink Dragon Lamp [rare_dragonlamp_pink]
Teal Dragon Lamp [rare_colourable_dragonlamp*3]
Rose Gold Dragon Lamp [rare_blackrosegold_dragonlamp]
Bliss Dragon Lamp [nft_ff23_v7_dragon_bliss]
Rainbow Dragon Lamp LTD [rainbow_ltd21_dragonlamp]
Sky Dragon Lamp [rare_dragonlamp*7]
Brown Dragon Lamp [rare_colourable_dragonlamp*4]
Silver Dragon Lamp [rare_dragonlamp*3]
Blue Dragon Lamp [rare_dragonlamp*1]
Diamond Dragon Lamp [diamond_dragon]
Black Dragon Lamp [rare_dragonlamp*4]
Fire Dragon Lamp [rare_dragonlamp*0]
Maroon Dragon Lamp [rare_dragonlamp*10]

Show furni info

$ nx furni info 'rare_colourable_dragonlamp*1'
               Name β”‚ Azure Dragon Lamp
        Description β”‚ Scary and scorching!
         Identifier β”‚ rare_colourable_dragonlamp*1
               Type β”‚ Floor
               Kind β”‚ 9136
           Revision β”‚ 69009
               Line β”‚ rare
        Environment β”‚
           Category β”‚ other
  Default direction β”‚ 4
               Size β”‚ 1 x 1
        Part colors β”‚ [#FFFFFF #13ABEA #13ABEA #FFFFFF #FFFFFF #FFFFFF #FFFFFF]
           Offer ID β”‚ -1
             Buyout β”‚ false
                 BC β”‚ false
   Excluded dynamic β”‚ false
      Custom params β”‚
       Special type β”‚ 1
       Can stand on β”‚ false
         Can sit on β”‚ false
         Can lay on β”‚ false

Figure

Show figure info

By user name
$ nx figure info -u xb7c
hr-3090-42.hd-180-1.ch-3110-64-1408.lg-275-64.ha-1003-64
β”Œβ”€ Hair (hr)
β”‚  └─ 3090
β”œβ”€ Face & Body (hd)
β”‚  └─  180
β”œβ”€ Shirts (ch)
β”‚  └─ 3110
β”œβ”€ Trousers (lg)
β”‚  └─  275
└─ Hats (ha)
   └─ 1003
By figure string

With parts, colors and clothing furni identifiers

$ nx figure info -pci hr-4090-61.hd-180-1.ch-3934-110-110.lg-3596-110-110.ea-3978-110-110.cc-4184-110-110
β”Œβ”€ Hair (hr)
β”‚  β”œβ”€ 4090: Middle Part Hair [clothing_middlepart]
β”‚  β”‚  β”œβ”€ hr-4023 [hair_U_middlepart]
β”‚  β”‚  └─ hrb-4023 [hair_U_middlepart]
β”‚  └─   61: #2d2d2d
β”œβ”€ Face & Body (hd)
β”‚  β”œβ”€  180
β”‚  β”‚  β”œβ”€ bd-1 [hh_human_body]
β”‚  β”‚  β”œβ”€ ey-1 [hh_human_face]
β”‚  β”‚  β”œβ”€ fc-1 [hh_human_face]
β”‚  β”‚  β”œβ”€ hd-2 [hh_human_body]
β”‚  β”‚  β”œβ”€ lh-1 [hh_human_body]
β”‚  β”‚  └─ rh-1 [hh_human_body]
β”‚  └─    1: #ffcb98
β”œβ”€ Shirts (ch)
β”‚  β”œβ”€ 3934: Macho Tattoo [clothing_r20_tattoo]
β”‚  β”‚  β”œβ”€ ch-3633 [shirt_M_tattoo]
β”‚  β”‚  β”œβ”€ ls-3633 [shirt_M_tattoo]
β”‚  β”‚  β”œβ”€ rs-3633 [shirt_M_tattoo]
β”‚  β”‚  β”œβ”€ ch-3634 [shirt_M_tattoo]
β”‚  β”‚  β”œβ”€ ls-3634
β”‚  β”‚  └─ rs-3634
β”‚  β”œβ”€  110: #1e1e1e
β”‚  └─  110: #1e1e1e
β”œβ”€ Trousers (lg)
β”‚  β”œβ”€ 3596: Harem Pants [clothing_harempants]
β”‚  β”‚  β”œβ”€ lg-3005 [trousers_U_harempants]
β”‚  β”‚  └─ lg-3006 [trousers_U_harempants]
β”‚  β”œβ”€  110: #1e1e1e
β”‚  └─  110: #1e1e1e
β”œβ”€ Goggles (ea)
β”‚  β”œβ”€ 3978: Sleep Time [clothing_r20_slumberoutfit]
β”‚  β”‚  β”œβ”€ ea-3720 [acc_eye_U_sleepingmask]
β”‚  β”‚  └─ ea-3721 [acc_eye_U_sleepingmask]
β”‚  β”œβ”€  110: #1e1e1e
β”‚  └─  110: #1e1e1e
└─ Jackets (cc)
   β”œβ”€ 4184: Kimono by -Push, [clothing_r21_kimono3]
   β”‚  β”œβ”€ cc-4218 [jacket_U_kimono3a]
   β”‚  β”œβ”€ lc-4218 [jacket_U_kimono3a]
   β”‚  β”œβ”€ rc-4218 [jacket_U_kimono3a]
   β”‚  β”œβ”€ cc-4219 [jacket_U_kimono3a]
   β”‚  β”œβ”€ lc-4219
   β”‚  └─ rc-4219
   β”œβ”€  110: #1e1e1e
   └─  110: #1e1e1e

Imager

Avatars

nx img avatar -u Strawberry

Strawberry-std-ntr-2-2

You can also render a figure string directly: nx img avatar hr-3090-42.hd-180-1.ch-3110-64-1408.lg-275-64.ha-1003-64

Furni

Static

nx img furni club_sofa -d 2

club_sofa_64_2_0_0_0 1

All directions

nx img duck -D

Screenshot_2024-11-07_03 06 21

All states

nx img furni autumn_c20_bench -S

Screenshot_2024-11-07_03 10 11

All colors

nx img furni 'rare_colourable_dragonlamp*1' -C

Screenshot_2024-11-07_03 12 32

Animated

nx img furni stellar_c23_galaxydragon -d 2 -f gif

stellar_c23_galaxydragon_64_2_0_0 816

FAQs

Package last updated on 09 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts