
Make menus with XML, style with CSS and add functionality with either Java or JavaScript. All rendered with Display Entities
This plugin is in development! There will be bugs and missing features. At the moment, the only supported layouts are the default Flow and Flexbox. Positioned others will come later.
:hover and :active)display: inline, display: block, etc)display: flex)/execute command and by datapack functions!/delphi open <players> <identifier> - Opens a Delphi menu./delphi close all - Closes all menus./delphi close targeted - Closes the menu you're looking at./delphi close <instance name> - Closes the delphi menu with the instance-name./delphi reload - Reloads the plugin's config./delphi devtools - Opens devtools for the page you're looking at.delphi.commands - Permission required for using any Delphi commands such as open, close, and reload.delphi.commands.players - Permission for commands that manage players.delphi.commands.devtools - Permission for the devtools command.delphi.commands.debug - Permission required for executing debug commands.Start by going to plugins/Delphi/modules on your File Explorer and creating a folder, for this example, we'll use hello-world. Go into that directory and create a file named index.xml.
Open that file with a text editor (Preferrably VS Code, Notepad++ or something similar). You can then copy+paste this:
<delphi> <!-- Root tag -->
<body> <!-- The body which contains all our content -->
<h1>Hello, world!</h1> <!-- Big text saying "Hello, world!" -->
</body>
</delphi>
In-game, you can then open this menu with /delphi open @s hello-world