This update adds support for 3rd party plugins to be developed, as well as various interface changes.
- [added] disconnect button confirmation dialog
- [added] player console message on disconnect to favorite server
- [added] new hook when lunera initialized to help support plugins
- [change] panels now use library _Declare( ) functions
- [change] multiple dialog panels renamed / moved
- [change] updated animations for terms and rules interfaces
- [change] updated pnl registration system
- [change] dialog boxes now have shadow for overlapping panels
- [change] integrated web browser now has color setting for overall interface
- [change] integrated web browser now disabled by default in nav config
- [bug] fixed compatibility issue with eprotect addon returning error on SetTitle
- [bug] fixed glitch with static text being editable
- [change] optimizations to code
- [change] updated font library
- [change] materials now using imat
- [change] updated documentation: https://lunera.rlib.io/
- [change] updated serverguard permissions for readability
- [bug] fixed delay glitch causing gap between exit & settings icons
This update modifies various aspects of this script; as well as updates rlib to v3.2.0.
rlib 3.2.0 is now "minified" to remove un-needed aspects. When updating rlib, ensure you remove the currently installed version completely before uploading the new copy. The library is nearing the end of needing to be updated so often as it gets cleaned up.
- [added] docs/web folder which provides customer with template for hosting wallpapers locally
- [added] lunera.env
- [added] integrated browser tip dialog for helping with blank pages
- [added] escape menu mode. Lunera can now function as an MOTD, Escape Menu or both at the same time
- [added] precache mode
- [added] console, gmod menu, settings buttons for escape mode
- [added] nav menu disconnect button
- [change] updated code for compatibility with rlib 3.2.0
- [change] server feature now has validation setting to allow for DNS addresses instead of just IP addresses
- [change] updated steam workshop collection [ https://steamcommunity.com/sharedfiles/filedetails/?id=2313881160 ]
- [change] revised permissions system to include dedicated ULX id
- [change] localized pnls; using uclass pnl system
- [bug] fixed SAM addon permissions
- [bug] fixed issue related to rules text that is extremely long being cut off
- [remove] fonts; now provided by rlib
- [remove] sounds; now provided by rlib
- [added] cleanup function to kill already registered pnls (rules, terms, etc)
- [change] code for terms initialization func; title and text set within function now
- [change] 'kick' code to include a delay between posting the kick reason and disconnect command
- [change] cfg.dialogs colors table in 'cfg\sh_0_general.lua' to add new color options for dialogs
- [change] all elements to utilize new PANEL:_Declare( ) func
- [change] accept/deny button color options from cfg.terms / cfg.rules; now found in cfg.dialogs
- [bug] fixed issue with rules / terms panels getting mixed up if rules override is on
- [bug] rcc 'lunera_terms' was not registered in env file
- [bug] 'confirm disconnect' creating multiple copies of itself if you spam 'Don't accept terms/rules' button
- [bug] 'confirm disconnect' flickering randomly
- [bug] rules / terms dragging x, y restriction
- [bug] fixed minor language issue on rules interface that used "I have read the terms" instead of "rules"
Small update. No need to replace or reconfigure any config files. The only file that needs replaced is lua/modules/lunera/core/cl_init.lua
- [change] changed panel priority so that making transparent backgrounds will be easier
- [change] updated install.pdf with new link that leads directly to Lunera's official documentation
- [bug] corrected issue with some people having extremely long rules in text mode
This update changes the overall structure of the addon. Original addon must be removed, however, config files can be saved.
- [added] new font registration system
- [added] developer command to reload fonts
- [added] support for xAdmin mod
- [change] english translation no longer found in sh_env.lua file, now inside /lang/ folder.
- [change] structure of core addon changed for optimization purposes
- [change] updated icons for main nav menu
- [change] auto-scaling added so that nav menu / panels support resolutions as low as 640x480
- [change] supports rlib v3.1.7
- [change] translation moved to /lang/ folder so that future edits will be instant without a restart needed
- [change] navigation tips now disappear if cursor hovers tip box
- [change] cleaned up config files for more compressed commenting
- [change] terms and rules interface have updated scrollbar
- [change] usergroup in footer updated to support XAdmin ( super_admin group )
- [bug] fixed issue with exit button not being clickable at smaller resolutions ( < 1024x768 )
- [added] ulx motd override
- now disables the ulx !motd chat-command all-together
- before this, chat would show "The MOTD has been disabled on this server" anytime you typed !motd in chat even though this script now takes over as the MOTD. ( only if you use ulx as admin script )
- [added]
cfg.general.stats_graph_autoshowadded to sh_0_general.lua - allows stats to automatically be displayed for players within motd instead of having to hover over the ping bar ( some people didnt know this was a thing )
- [added] new config file added:
lua\modules\lunera\cfg\sh_11_groups.lua- [change] updated remainder of old docking with new method
- [change] added new params for demo mode to
sh_cfg_dev.lua - [change] decreased initial timer for delay initialization
- [change] deprecated
ui:hide( )/ui:show( )=> now utilizing stage methods - [change] deprecated
ui:valid( )=>ui:ok( )now validates rlib and glua pnls - [change] removed steamid from player info at bottom left of footer.
- replaced with player's usergroup with coloring options available
- settings found in
lua\modules\lunera\cfg\sh_11_groups.lua - [bug] fixed bad string variables
pop_new => sv_pop_now,pop_max => sv_pop_max
This update requires an update to rlib.
- [added] indicator to left of delay / lock if player tries to click close btn before time expires
- [change] updated library compatibility (v3.1.6)
- [change] pnl library updated to latest version
- [change] new library structure implemented for calling all required dependencies
- [bug] fixed demo mode bug calling the wrong dependency.
This update splits up the config files into a new folder ( lua\modules\lunera\cfg ) due to the amount of settings and commenting. If you wish to use old settings, you'll need to find the new location and copy/paste. Be careful about any new settings that have been added, or copy/paste will break certain features.
- [added] added setting cfg.servers.validation
- [added] added 'welcome / introduction' message on player connect
- can be toggled / edited via config ( off by default )
- announces in player chat when a player has connected to the server
- action can be changed to do other things besides just introduce the player ( some glua knowledge required )
- Example: [Welcome] Player YOURNICK has connected!
- [change] config file now has additional documentation
- [change] changed ticker string variables: address => sv_addr, name => sv_name, pop_now => sv_pop_now, pop_max => sv_pop_max
- [change] cleaned up various lines of code now deprecated
- [change] updated buttons to remove rules pnl ( if text enabled )
- [change] updated interface panels to use new docking system
- [change] replaced cfg setting hover_anim with 'anim_enabled'
- [change] replaced confusing cfg settings btn_use_icononly, btn_use_icontext with 'type', accepts integers 1 - 3
- [change] playersay hook no longer shows the user typing '!motd' in chat to keep things clean
- [change] split cfg files up into /cfg/ folder due to config getting so large. Config files labeled appropriately:
- lunera/cfg/sh_0_general.lua
- lunera/cfg/sh_1_backgrounds.lua
- lunera/cfg/sh_2_binds.lua
- lunera/cfg/sh_3_navmenu.lua
- lunera/cfg/sh_4_rules_terms.lua
- lunera/cfg/sh_5_announcements.lua
- lunera/cfg/sh_6_ads.lua
- lunera/cfg/sh_7_servers.lua
- lunera/cfg/sh_8_slider.lua
- lunera/cfg/sh_9_ticker.lua
- lunera/cfg/sh_10_welcome.lua
- lunera/cfg/sh_11_dev.lua
- [change] updated navigation / server buttons to support three types of appearance
- 1 : Menu will display TEXT + ICONS
- 2 : Menu will display ICONS ONLY
- 3 : Menu will display TEXT ONLY
- [added] support for rlib v3.1.3
- [change] optimized pnl code for server switching
- [bug] fixed rare issue that caused rules / integrated web pnls to fight over "king of the hill" position.
- [bug] fixed rare error that causes motd to not appear if two players connect at once / bots join when players connect.