Layout Editor
Staff can rearrange the pointer market screen in game, with no file editing. Run /ahadmin editor while the pointer menus are on. It needs protonauctions.admin.editor, which operators have by default, and your game must have loaded the menus' resource pack.
Moving and resizing
Click any part of the screen to select it, such as the grid, the search button or the categories. Then:
- Click it again to move it. Aim where it should go and click to drop it.
- Right click to resize it. Aim at the new corner and click.
- Scroll to scale it up or down.
With Snap on, positions and sizes move in small even steps, so parts line up easily. The window itself stays in place, and is resized with scroll or right click. Hide takes a selected part off the screen and Show brings it back. Every part can be hidden except the window and the close button.
The grid
Columns, Rows and Gap set how many listing cards the grid shows and how far apart they sit. The columns and rows can only go as high as the grid box has room for, so make the box bigger first to fit more.
Theme, accent and currency icons
- Theme steps through the ten looks for the cards, frames and buttons: frost, the default, stone, royal, oak, nether, ocean, end, cherry, parchment and glass.
- Accent steps through eight highlight colours, the colour of the frame that lights up around whatever the cursor is on.
- Currency lists the server's currencies, each with the small icon shown on its prices. Use the minus and plus buttons to step through the icons, from coins and banknotes to gems, tokens and an experience orb.
Saving
Save writes the layout to plugins/ProtonAuctions/pointer/market-layout.yml and updates the menus for everyone. Until then nothing changes for players. Undo steps back one change, Reset returns to the default layout after a second click, and Exit with unsaved changes asks for a second click before it drops them.
When the pack is hosted at pointerUi.packUrl, a save that changes the grid or the size of a box also changes the pack. Upload plugins/ProtonAuctions/pointer/pack.zip to your link again, or players get the chest menus until you do. See Setting Up.
The layout file
market-layout.yml can be edited by hand too. Every part is a box of x, y, width and height on a 1600 by 900 canvas, with visible to hide it, and the grid, the theme, the accent colour and the currency icons sit at the top. One setting is only in the file: style.panel-opacity, from 60 to 255, sets how see-through the window is. Delete the file to go back to the default layout.