Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Simple UI library

Simple UI Library Want to make a simple menu for your mod to : - Ask the player to choose between two things? - Ask the player a nickname, age, height, weight, etc ? - Display a map ? - Display player-related information from your mod such as amount of money, time on server, etc ? - Warn players the start of an event ? - Make a job board systeme ? - And more ? This mod is for you ! If you did something with this mod, pls comment it. [img]https://i.imgur.com/RNxXaZ8.gif[/img] Hello world (for modders) Make a window that display "Hello world": local UI = NewUI(); UI:addText("", "Hello world", "Small", "Center") UI:saveLayout() TODO - Make rich text scrollable - Add slider element - Make the window scrollable Find all informations and examples here: [url=https%3A%2F%2Fgithub.com%2FMrBounty%2FPZ-UI_API]https://github.com/MrBounty/PZ-UI_API[/url] Mod that use it The Only Cure: [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2703664356]https://steamcommunity.com/sharedfiles/filedetails/?id=2703664356[/url] Pager mod: (best exemple to look at) [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2773785202]https://steamcommunity.com/sharedfiles/filedetails/?id=2773785202[/url] Example mod with example UI: [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2760157169]https://steamcommunity.com/sharedfiles/filedetails/?id=2760157169[/url] I will not answer questions asked in the comments! If you have any questions, make a discussion here, an issue on github or a message on discord (modding channel of the official the indie stone discord or a pm). I prefer here or github because like that people can use it back later if they have the same question. [b]I do not authorize the use of my CODE (copy paste) for modpacks. If you want it, ask it pls. But you can you use the mod for your mod or server if everyone is sub the this mod thx ! (Mod is different from code)[/b] Workshop ID: 2760035814 Mod ID: UIAPI