Skip to content

Latest commit

 

History

368 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HungerLib

A powerful automation library for Pterodactyl panels. Provides clean APIs for RCON, scheduling, panel integration, and server orchestration.

Features

  • Simple RCON wrapper
  • Pterodactyl API helpers
  • Server orchestration utilities
  • Scheduler utilities
  • Logging helpers
  • Zero external configuration required

Installation

pip install hungerlib

HungerBridge client

The BridgeClient talks to the HungerBridge API at the root URL, using endpoints such as /ping, /server/info, /server/status, /world/tps, /players/list, /server/run, /server/log, /server/stream, and the admin routes under /admin/....

from hungerlib.bridgeclient import BridgeClient

client = BridgeClient('http://localhost:1913', 'abcd1234:secret')
print(client.getPing())
print(client.runCommand('say hello'))
print(client.list_tokens())

The client exposes root-level methods like ping(), info(), status(), tps(), and players(), without any /v2 path prefix.

About

A powerful automation library for Pterodactyl panels.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages