Skip to content

Commit c1986eb

Browse files
committed
xd
1 parent f89eab3 commit c1986eb

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

advert/module.lua

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,4 @@ MODULE.version = 1.0
66
MODULE.desc = "Implements a paid /advert command for server-wide announcements. Messages are colored, logged, and throttled by a cooldown to curb spam."
77
MODULE.Changelog = {
88
["1.0"] = {"Initial Release"},
9-
["1.1"] = {"Added new sound effects for winning spins", "Improved payout logic for better accuracy", "Fixed minor UI alignment issues"},
10-
["1.2"] = {"Added support for custom workshop models", "Optimized network usage for machine states", "Updated workshop content dependencies"},
11-
["1.3"] = {"Implemented a global jackpot system", "Added an admin configuration menu for odds", "Fixed animation desync issues on high latency"},
12-
["1.4"] = {"Added localization support for multiple languages", "Improved security checks for payout handling", "Refactored internal module logic for performance"},
13-
["1.5"] = {"Added logging for all major payouts", "Fixed a rare crash when the machine was destroyed", "Updated documentation and setup guides"},
14-
["1.6"] = {"General performance optimizations", "Minor visual tweaks to the machine interface", "Stability improvements for long_running sessions"}
159
}

generate_module_docs.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,15 @@ function main() {
156156
})
157157

158158
let markdown = '# Modules\n\n'
159+
markdown += 'Comprehensive collection of official and community-built modules for the Lilia framework.\n\n'
160+
markdown += '---\n\n'
161+
markdown += '<h3 style="margin-bottom: 5px; font-weight: 700;">Overview</h3>\n'
162+
markdown += '<div style="margin-left: 20px; margin-bottom: 20px;">\n'
163+
markdown += ' <p>Modules are self-contained extensions that add new features or modify existing behavior in the Lilia framework. They allow for easy organization and distribution of custom code without modifying core gamemode files.</p>\n'
164+
markdown += ' <p>For server owners and developers looking to add custom functionality, modules should be placed in the following directory relative to your server installation:</p>\n'
165+
markdown += ' <code style="display: block; padding: 12px; background: rgba(0, 0, 0, 0.05); border-left: 4px solid #46a9ff; margin-top: 10px; font-family: \'JetBrains Mono\', monospace;">garrysmod/gamemodes/[schema folder]/modules/[module folder]</code>\n'
166+
markdown += '</div>\n\n'
167+
markdown += '---\n\n'
159168

160169
const categories = ['Modules', 'Droppers']
161170
categories.forEach(category => {

0 commit comments

Comments
 (0)