B
Blueprint13mo ago
fyz

Routes server navbar placement

Hi ! New to Blueprint, for now Im really happy to see that a project like this exist, I feel like when I discovered spigot with minecraft but with pterodactyl 🤓 Im working with routes and just found out how to add a "tab" in my server navbar, but was wondering if it was possible to place it on a specific place ? Like at the right of the "Files" tab for example. Right now I tried adding this to my "Components.yml" file but without success. SubNavigation: BeforeSubNavigation: "Files" Here is what my entire Components file look like ! Navigation: SubNavigation: BeforeSubNavigation: "Files" Routes: - { Name: "Versions", Path: "/versions", Type: "server", Component: "VersionComponent" } Have a great day and thanks for the help ! 🙏
No description
10 Replies
Emma
Emma13mo ago
Currently not possible. Blueprint extension routes and Pterodactyl routes are defined in different files to prevent a framework-level fuckup screwing with Pterodactyl code. I either place all Blueprint extension routes before Pterodactyl routes, or after. (with after being more logical)
fyz
fyzOP13mo ago
Oh okay thanks for telling me! So my only solution would be to either edit the pterodactyl router or to make a small js script at the loading to change the position ? (Even if the JS script would not be optimal I guess it could work)
Emma
Emma13mo ago
Themes like Nebula assume that pages are at the end anyways, so it's probably better to keep it in the current spot. Keeping placements the same across extensions is also better for users and administrators so they know what to expect.
fyz
fyzOP13mo ago
True ! Okay thanks a lot of your time, Im gonna leave it like this for now By the way, I tried Nebula's demo and damn that's a cool tool too, you really decided to take pterodactyl in your hands hahaha
Emma
Emma13mo ago
Thanks :3 - next update will be even crazier
Emma
Emma13mo ago
No description
Emma
Emma13mo ago
(floating windows)
root@david1117:~#
When release I need-
fyz
fyzOP13mo ago
Wooooooah le floating window
Emma
Emma13mo ago
yeeee

Did you find this page helpful?