Software development & services
Preston Studio
The name that brings together my projects, apps and services.
The site's home page: the Pterodactyl theme and addons
Under the Preston Studio name I sell Preston Thème, a theme for the Pterodactyl hosting panel, and its addons (Minecraft Toolkit, FiveM Toolkit, Reverse Proxy…). Around it I built everything needed to run them: a licence server, a buyer dashboard, a mobile app and a Discord bot.
Preston Studio is the name I put on what I build: web and mobile apps, plus the tooling around them, like licensing, APIs, admin panels and Discord bots.
Features
- Web and mobile apps
- Software licence management system
- APIs and backend services
- Admin interfaces
- Discord bots and integrations
- Monitoring
- App management and deployment
Technical choices
01
Signed licence responses
On install, the theme sends its key, the panel's domain and the zip's watermark. The server answers with an Ed25519-signed response, so a fake licence server can't imitate it.
02
Catching leaks
Every downloaded zip carries its buyer's ID. The first install binds the key to that account: a key used with someone else's zip is refused, and an alert goes to Discord.
03
A dashboard buyers can use on their own
Buyers create an account, link the BuiltByBit or SourceXchange account they bought with (through a private message with a link), and the dashboard reads their purchases to hand them their key, no ticket needed. They also find their servers, downloads, patch notes and docs there, in French or English.
04
Everything managed from Discord
The /license command creates, revokes or traces a licence. The bot sends alerts, announces new versions and gives customers their roles automatically.
05
A mobile app
An iOS / Android app built with Expo: licences, moving to another server, versions and a push notification for each new release.
06
Light to host
Node.js with the built-in SQLite database (a single file, nothing to install), passwords hashed with scrypt, anti-abuse limits, and activity logs that never contain passwords or tokens. It all runs on a Pterodactyl server.
07
An API for partner hosts
A partner host creates, from its own billing system, the 7 keys (theme + 6 addons) of a customer's panel in a single call; calling again with the same order reference returns the same keys. It can cancel, reactivate or forget a reinstalled panel, and pulls the list of panels to bill each month. Each partner only sees its own orders.
What was hard
The trickiest part was tying a purchase to the right person. BuiltByBit has no “sign in with BuiltByBit”: to prove a buyer owns their account, the server sends them a BuiltByBit conversation with a link valid for 30 minutes, which only works for the dashboard account that asked for it. And testing it takes a second account, since BuiltByBit won't let you message yourself. SourceXchange has no sign-in either: the account is found by its email, confirmed through a link, and purchases are re-read at most once a minute to stay under the API limit. Another sensitive point: everything relies on the signing key. If it were lost, the zips already sold could no longer verify the server's answers, so backing it up is part of the routine.