{"id":28217289,"url":"https://github.com/is4code/unimodlib","last_synced_at":"2025-10-27T23:40:28.408Z","repository":{"id":17012706,"uuid":"19776094","full_name":"IS4Code/UniModLib","owner":"IS4Code","description":"Helper library for UniMod, a modification of NoX.","archived":false,"fork":false,"pushed_at":"2015-07-11T15:21:40.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T13:47:14.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IS4Code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-14T10:56:05.000Z","updated_at":"2015-07-11T15:21:40.000Z","dependencies_parsed_at":"2022-09-24T12:10:12.958Z","dependency_job_id":null,"html_url":"https://github.com/IS4Code/UniModLib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IS4Code/UniModLib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IS4Code%2FUniModLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IS4Code%2FUniModLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IS4Code%2FUniModLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IS4Code%2FUniModLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IS4Code","download_url":"https://codeload.github.com/IS4Code/UniModLib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IS4Code%2FUniModLib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281361405,"owners_count":26487881,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-05-18T00:11:47.886Z","updated_at":"2025-10-27T23:40:28.396Z","avatar_url":"https://github.com/IS4Code.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"UniModLib\n=========\n\nHelper library for UniMod, a modification of NoX\n\n## Installing\nCreate a directory named *lualib* in the NoX directory and download the lua files to it.\nTo make the require function working, add this to the top of your global script:\n```lua\nLUA_PATH = \"lualib/?;lualib/?.lua;\"..(LUA_PATH or package.path or \"?;?.lua\"); package.path = LUA_PATH\n```\n\n## Usage\nTo use a part of this library, simply put the following command to the top of a script or function where you want to use it, *game* libary used as an example:\n```lua\nlocal game = require(\"game\")\n```\n```lua\ngame.flags = game.flags-0x80\n```\n\n### List of modules\n\n### bit.lua\nBit module allows basic bit manipulation (i.e. bit AND, OR, and XOR) as well as binary conversion between primitive number types.\n\n### game.lua\nGame module contains functions for retrieving information about the game, e.g. game flags, mouse position or console reading events.\n\n### map.lua\nMap module provides ways to modify the map, being it simple new map loading or modifying the tiles and walls.\n\n### memory.lua\nMemory module is heavily used in places where standard UniMod functions can't do all. It can modify and read game's memory.\n\n### unit.lua\nUnit module encompasses manipulation with units (i.e. objects), as unit creation and deletion, changing position, etc.\n\n### player.lua\nPlayer module can find all players, get their basic info, and provide events of player joining, dieing, or chatting.\n\n### team.lua\nTeam module is used to retrieve statistic about teams, or to modify it.\n\n### timed.lua\nTimed library is able to utilize functions and coroutines to run a function after a given time periodically or one-time. Also allows running a function with a sleep command included.\n\n### utils.lua\nMiscellaneous functions mostly used by the other modules.\n\n### env.lua\nEnvironment module is not for usage outside the other modules, it provides access to the top-level server and client functions.\n\n### events.lua\nEvents module is used by the other modules to create event objects.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fis4code%2Funimodlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fis4code%2Funimodlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fis4code%2Funimodlib/lists"}