Adding a new page to Server SubNav
Hi. I want to add a new page to the server subnav with some htmll content. Is that possible to do using blueprint? If yes, how? thx! :)
9 Replies
Its possible via the latest routes update
with https://discord.com/channels/1063548024825057451/1094949482535321690/1205207363175579768
Possible on latest GitHub commit, not on the latest release yet.
when are u gonna release this feature? anytime soon?
Within 14 days probably.
You can already experiment with this feature by switching to the latest commit with
blueprint -upgrade dev
, it's just that end-users won't really be able to use it until the next version releases.
Documentation has already been updated to include these changes. Guides have yet to be made.A tad unrelated however. I was gonna start messing with this myself and was wondering if Blueprint contains any like helper functios such as checking the of the server on the client side for hiding and showing elements based on the egg or nest.
Existing pterodactyl addons implement this but it requires changing some things to get the server to send the egg and nest id to the client
Would be nice to see as a built in function in Blueprint if it isn't already
Possible to implement, definitely.
The main problem is that it can be hidden/shown on egg id, upon installing the extension. To implement something like that, I'd need to make it not use a static value, but a user-changeable one.
Yeah
I was just thinking instead of defining it in the config or whatever just have a function which you can import in the client side (react in this case) which takes like the server id and a list of ids to check
Could be possible, not sure if it'll make it in this release though.
Yeah
Was just a thought