{"id":21934019,"url":"https://github.com/etlegacy/etlegacy-lua-scripts","last_synced_at":"2025-04-19T22:14:14.450Z","repository":{"id":7883258,"uuid":"9258929","full_name":"etlegacy/etlegacy-lua-scripts","owner":"etlegacy","description":"Lua scripts for the Legacy mod","archived":false,"fork":false,"pushed_at":"2024-06-05T13:05:39.000Z","size":137,"stargazers_count":13,"open_issues_count":4,"forks_count":14,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-29T13:35:25.815Z","etag":null,"topics":["league-mod","legacy-mod","lua","lua-script"],"latest_commit_sha":null,"homepage":"https://legacy-lua-api.readthedocs.io/en/latest/","language":"Lua","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etlegacy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2013-04-06T11:22:22.000Z","updated_at":"2024-03-19T15:23:06.000Z","dependencies_parsed_at":"2024-03-19T16:50:25.449Z","dependency_job_id":null,"html_url":"https://github.com/etlegacy/etlegacy-lua-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etlegacy%2Fetlegacy-lua-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etlegacy%2Fetlegacy-lua-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etlegacy%2Fetlegacy-lua-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etlegacy%2Fetlegacy-lua-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etlegacy","download_url":"https://codeload.github.com/etlegacy/etlegacy-lua-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249820007,"owners_count":21329887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["league-mod","legacy-mod","lua","lua-script"],"created_at":"2024-11-29T00:14:19.810Z","updated_at":"2025-04-19T22:14:14.421Z","avatar_url":"https://github.com/etlegacy.png","language":"Lua","readme":"# Lua scripts\n\n* Lua scripts for the Legacy mod. They might or might not work with other mods.\n* Lua API doc: see https://legacy-lua-api.readthedocs.io\n\n## banners\n\nBanner management system for `legacy` mod.\n\nReserves next cvars to configure banners:\n* `g_bannerTime` sets banner change interval (default `5000`)\n* `g_bannerLocation` sets banner print location (default `top`)  \n\tPossible values:\n\t* `top` top of the screen, banner print spot (`bp`)\n\t* `left` popup messages (`cpm`)\n\t* `center` center print (`cp`)\n\t* `chat` chat print (`chat`)\n* `g_bannerN` (where N is a number in range of `1` to `10`) sets banner messages\n\nAll cvars should be filled before lua module gets initialized.\n\n* This script is intended for legacy `2.77+` mod.\n\n## dynamite\n\n* Clients can toggle dynatimer with `setu v_dynatimer 1/0`\n\n## announcehp\n\n* Killer's HP is displayed to their victims.\n\n## medic-syringe-heal\n\nAllows medics to heal nearly dead players using syringe.\n\nIf player has less than 25% of the health, medic can use syringe to heal the teammates either to full or half health, depending on medic healing skill level (eg. medic level 3 or more, heals teammate to the full health).\n \n* This script is intended for legacy `2.77+` mod.\n\n## spawn-invul-fair\n\nRemove spawn shield protection when firing.\n\n* This script is intended for legacy `2.77+` mod.\n\n# Notes\n* Please always add modname and version to your lua script\n```\nmodname=\"NameofLua\"\nversion=\"1.0\"\n\nfunction et_InitGame()\n        et.RegisterModname(modname..\" \"..version)\nend\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetlegacy%2Fetlegacy-lua-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetlegacy%2Fetlegacy-lua-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetlegacy%2Fetlegacy-lua-scripts/lists"}