file_path stringlengths 4 154 | file_url stringlengths 83 244 | repo_name stringlengths 8 65 | repo_description stringlengths 1 350 ⌀ | contributors listlengths 0 100 | commit_hash stringlengths 40 40 | license stringlengths 0 20.1k | license_url stringlengths 0 150 | file_content stringlengths 4 182k |
|---|---|---|---|---|---|---|---|---|
MainModule\Server\Dependencies\Loadstring\LuaZ.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Dependencies\Loadstring\LuaZ.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --# selene: allow(incorrect_standard_library_use, multiple_statements, shadowing, unused_variable, empty_if, divide_by_zero, unbalanced_assignments)
--[[--------------------------------------------------------------------
lzio.lua
Lua buffered streams in Lua
This file is part of Yueliang.
Copyright (c) 2005-2... |
MainModule\Server\Dependencies\Loadstring\VirtualEnv.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Dependencies\Loadstring\VirtualEnv.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | local vEnv = getfenv()
vEnv.script = nil
return function()
return vEnv
end
|
MainModule\Server\Plugins\Adonis_Agents.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Adonis_Agents.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | local AGENT_COMMANDS = {
"ShowBackpack",
"PlayerList",
"View",
"ResetView",
"Track",
"UnTrack",
"ServerLog",
"LocalLog",
"ExploitLogs",
"JoinLogs",
"ChatLogs",
"RemoteLogs",
"ScriptLogs",
"ErrorLogs",
}
return function(Vargs, GetEnv)
local server = Vargs.Server
local service = Vargs.Service
local Set... |
MainModule\Server\Plugins\Anti_Cheat.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Anti_Cheat.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --// Anti-Exploit
return function(Vargs, GetEnv)
local server = Vargs.Server
local service = Vargs.Service
local Functions, Admin, Anti, Core, HTTP, Logs, Remote, Process, Variables, Settings
local function Init()
Functions = server.Functions
Admin = server.Admin
Anti = server.Anti
Core = server.Core
HTT... |
MainModule\Server\Plugins\Cross_Server.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Cross_Server.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --// This module is for stuff specific to cross server communication
--// NOTE: THIS IS NOT A *CONFIG/USER* PLUGIN! ANYTHING IN THE MAINMODULE PLUGIN FOLDERS IS ALREADY PART OF/LOADED BY THE SCRIPT! DO NOT ADD THEM TO YOUR CONFIG>PLUGINS FOLDER!
return function(Vargs, GetEnv)
local server = Vargs.Server
local service... |
MainModule\Server\Plugins\Debug_Specific.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Debug_Specific.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --// This module is for stuff specific to debugging
--// Most of this only runs when DebugMode is enabled
--// NOTE: THIS IS NOT A *CONFIG/USER* PLUGIN! ANYTHING IN THE MAINMODULE PLUGIN FOLDERS IS ALREADY PART OF/LOADED BY THE SCRIPT! DO NOT ADD THEM TO YOUR CONFIG>PLUGINS FOLDER!
return function(Vargs, GetEnv)
loca... |
MainModule\Server\Plugins\FindExistingObjects.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\FindExistingObjects.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --[[
Description: Searches the place for existing Adonis items and registers them.
Author: Sceleratis
Date: 4/3/2022
--]]
return function(Vargs, GetEnv)
local server = Vargs.Server
local service = Vargs.Service
local Settings = server.Settings
local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote, P... |
MainModule\Server\Plugins\Misc_Features.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Misc_Features.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --// NOTE: THIS IS NOT A *CONFIG/USER* PLUGIN! ANYTHING IN THE MAINMODULE PLUGIN FOLDERS IS ALREADY PART OF/LOADED BY THE SCRIPT! DO NOT ADD THEM TO YOUR CONFIG>PLUGINS FOLDER!
return function(Vargs, GetEnv)
local server = Vargs.Server
local service = Vargs.Service
local Settings = server.Settings
local Functions... |
MainModule\Server\Plugins\Server-SoftShutdown.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Server-SoftShutdown.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --// Originally written by Merely
--// Edited by GitHub@LolloDev5123 and Irreflexive
--// GitHub@Expertcoderz was here to make things look better
--// GitHub@annoynumus was here to patch the return teleport
return function(Vargs, GetEnv)
local server = Vargs.Server
local service = Vargs.Service
local Settings = se... |
MainModule\Server\Plugins\Trello.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Trello.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | -- Trello plugin
type Card = { id: string, name: string, desc: string, labels: { any }? }
type List = { id: string, name: string, cards: { Card } }
return function(Vargs, GetEnv)
local server = Vargs.Server
local service = Vargs.Service
local Settings = server.Settings
local Functions, Commands, Admin, Anti, Core... |
MainModule\Server\Plugins\Urgent_Messages.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Server\Plugins\Urgent_Messages.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | return function(Vargs, GetEnv)
local server = Vargs.Server
local service = Vargs.Service
local Settings = server.Settings
local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote, Process, Variables, Deps =
server.Functions,
server.Commands,
server.Admin,
server.Anti,
server.Core,
server.HTTP,
... |
MainModule\Shared\AudioLib.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\AudioLib.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --[[
Name: AudioLib
Description: An simple and versatile audio library with getter&setter functions and an immutable data structure.
Authors: Github@ccuser44/VortexColor & P3tray
Contributors: Github@ccuser44/VortexColor, P3tray
Date: 2024
License: MIT
]]
local AudioLib = {}
function AudioLib.new(object)
local... |
MainModule\Shared\Credits.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\Credits.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | return {
Main = {
{ Text = "Sceleratis/Davey_Bones", Desc = "Made Adonis & EISS" },
{ Text = "Kohltastrophe (Scripth)", Desc = "For his help with various things and some code" },
{
Text = "einsteinK",
Desc = "Helped me with some scripting problems early in development and put together the LoadstringParser;... |
MainModule\Shared\DoubleLinkedList.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\DoubleLinkedList.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --!native
--// File: LinkedList.lua
--// Desc: Provides a more performance-friendly alternative to large tables that get shifted in indexes constantly
--// Author: Coasterteam
local LinkedList = {}
LinkedList.__index = LinkedList
LinkedList.__meta = "DLL"
local LinkNode = {}
LinkNode.__index = LinkNode
function LinkN... |
MainModule\Shared\GoodSignal.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\GoodSignal.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --!native
--------------------------------------------------------------------------------
-- Batched Yield-Safe Signal Implementation --
-- This is a Signal class which has effectively identical behavior to a --
-- normal RBXScriptSignal, with the only difference being a couple ... |
MainModule\Shared\HashLib.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\HashLib.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --!native
--!optimize 2
--!strict
--[[
Description: SHA256 digest hash
Author: XoifailTheGod
Date: 2024
Link: https://devforum.roblox.com/t/fastest-sha256-module/3180016
]]
local MODULO = 2 ^ 32
local BYTE, DWORD = 1, 4
local CONSTANTS = buffer.create(64 * DWORD)
do -- CONSTANTS = k
local RoundConstants = {
0x... |
MainModule\Shared\KeycodeNames.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\KeycodeNames.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --!strict
--[[
Description: This file contains the keycode names for the QWERTY US keyboard.
Author: github@ccuser44
Date: 2022
License: CC0
]]
return {
[Enum.KeyCode.Space] = " ",
[Enum.KeyCode.QuotedDouble] = "'",
[Enum.KeyCode.Hash] = "3",
[Enum.KeyCode.Dollar] = "4",
[Enum.KeyCode.Percent] = "5",
[Enum.K... |
MainModule\Shared\MatIcons.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\MatIcons.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --[[
════════════════════════════════════════════
Material Icons Collection for Roblox
Uploaded painstakingly by @Expertcoderz
Images are licensed under Apache 2.0 license
Sourced from Google LLC:
https://fonts.google.com/icons
('Sharp' style, white colored)
══════════════════════════════════════════... |
MainModule\Shared\Service.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\Service.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | server = nil
client = nil
Pcall = nil
Routine = nil
logError = nil
Folder = nil
local main
local ErrorHandler
local RealMethods = {}
local methods = setmetatable({}, {
__index = function(tab, index)
return function(obj, ...)
local r, class = pcall(function()
return obj.ClassName
end)
if r and class an... |
MainModule\Shared\Typechecker.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\Typechecker.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --!native
--[[
t: a runtime typechecker for Roblox
by osyrisrblx
MIT License
]]
local t = {}
function t.type(typeName)
return function(value)
local valueType = type(value)
if valueType == typeName then
return true
else
return false, string.format("%s expected, got %s", typeName, valueType)
end
e... |
MainModule\Shared\FiOne\init.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\FiOne\init.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --!native
--!optimize 2
--!nolint TableOperations
--# selene: allow(multiple_statements, mixed_table)
--[[
FiOne
Copyright (C) 2021 Rerumu
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either vers... |
MainModule\Shared\FiOne\Runner.server.luau | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/MainModule\Shared\FiOne\Runner.server.luau | Epix-Incorporated/Adonis | Roblox Server Administration System | [
"Sceleratis",
"Expertcoderz",
"Dimenpsyonal",
"ccuser44",
"coasterteam",
"fxeP1",
"alau740",
"joritochip",
"TheLegendarySpark",
"P3tray",
"LolloDev5123",
"GalacticInspired",
"moo1210",
"krampuszc",
"karl-police",
"WalkerOfBacon",
"kaiserandaxl",
"SuperCater",
"DrewBokman",
"jay... | 0b072f99f86c27b6698cd6a3c7686b108e63942a | MIT License
Copyright (c) 2016-2026 Sceleratis (https://github.com/Sceleratis), Epix Incorporated, and the Adonis Community.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, i... | https://github.com/Epix-Incorporated/Adonis/blob/0b072f99f86c27b6698cd6a3c7686b108e63942a/LICENSE.md | --!native
--!optimize 2
--[[
Description: Wrapper for FiOne multithread closures
Author: github@ccuser44
Date: 2024
License: CC0
]]
local fiOne = require(script.FiOne)
local actor = script.Parent
local event = script.ReturnPass
local callback = function(...)
return ...
end
actor:BindToMessage("wrap_state", funct... |
chmod.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/chmod.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local selected_or_hovered = ya.sync(function()
local tab, paths = cx.active, {}
for _, u in pairs(tab.selected) do
paths[#paths + 1] = tostring(u)
end
if #paths == 0 and tab.current.hovered then
paths[1] = tostring(tab.current.hovered.url)
end
return paths
end)
local function fail(s, ...)... |
diff.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/diff.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local function info(content)
return ya.notify {
title = "Diff",
content = content,
timeout = 5,
}
end
local selected_path = ya.sync(function()
for _, u in pairs(cx.active.selected) do
return u.cache or u
end
end)
local hovered_path = ya.sync(function()
local h = cx.active.current.hove... |
full-border.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/full-border.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.2.26
local function setup(_, opts)
local type = opts and opts.type or ui.Border.ROUNDED
local old_build = Tab.build
Tab.build = function(self, ...)
local bar = function(c, x, y)
if x <= 0 or x == self._area.w - 1 or th.mgr.border_symbol ~= "│" then
return ui.Bar(ui.Edge.TOP)
end
retur... |
git.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/git.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local WINDOWS = ya.target_family() == "windows"
-- The code of supported git status,
-- also used to determine which status to show for directories when they contain different statuses
-- see `bubble_up`
---@enum CODES
local CODES = {
unknown = 100, -- status cannot/not yet determined
excluded = ... |
git.yazi\types.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/git.yazi\types.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | ---@class State
---@field dirs table<string, string|CODES> Mapping between a directory and its corresponding repository
---@field repos table<string, Changes> Mapping between a repository and the status of each of its files
---@class Options
---@field order number The order in which the status is displayed
---@field r... |
jump-to-char.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/jump-to-char.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.5.31
local AVAILABLE_CHARS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789."
local changed = ya.sync(function(st, new)
local b = st.last ~= new
st.last = new
return b or not cx.active.finder
end)
local escape = function(s) return s == "." and "\\." or s end
return {
entry = funct... |
lsar.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/lsar.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local M = {}
function M:peek(job)
local child, err = Command("lsar"):arg(tostring(job.file.path)):stdout(Command.PIPED):spawn()
if not child then
return ya.err("spawn `lsar` command failed: " .. err)
end
-- Skip the first line which is the archive file itself
while true do
local _, event ... |
mactag.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/mactag.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local update = ya.sync(function(st, tags)
for path, tag in pairs(tags) do
st.tags[path] = #tag > 0 and tag or nil
end
ui.render()
end)
local selected_or_hovered = ya.sync(function()
local tab, urls = cx.active, {}
for _, u in pairs(tab.selected) do
urls[#urls + 1] = u
end
if #urls == 0 a... |
mime-ext.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/mime-ext.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | local M = {}
function M:setup(opts)
ya.notify {
title = "Deprecated fetcher",
content = "`mime-ext` has been deprecated in favor of `mime-ext.local` and `mime-ext.remote`, please use the new names instead in your `yazi.toml`.\n\nSee the README.md for more info: https://github.com/yazi-rs/plugins/tree/main/mime-ex... |
mime-ext.yazi\remote.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/mime-ext.yazi\remote.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.12.29
local M = {}
local function stale_cache(file)
local url = file.url
local lock = url.scheme.cache:join(string.format("%%lock/%s", url:hash(true)))
local f = io.open(tostring(lock), "r")
if not f then
return true
end
local hash = f:read(32)
f:close()
return hash ~= file.cha:hash(true)
end... |
mount.yazi\cross.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/mount.yazi\cross.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | local M = {}
--- @param type "mount"|"unmount"|"eject"
--- @param partition table
function M.operate(type, partition)
if not partition then
return
elseif not partition.sub then
return -- TODO: mount/unmount main disk
end
local cmd, output, err
if ya.target_os() == "macos" then
cmd, output, err = "diskutil"... |
mount.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/mount.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.12.29
local toggle_ui = ya.sync(function(self)
if self.children then
Modal:children_remove(self.children)
self.children = nil
else
self.children = Modal:children_add(self, 10)
end
ui.render()
end)
local subscribe = ya.sync(function(self)
ps.unsub("mount")
ps.sub("mount", function() ya.emit("... |
mount.yazi\sudo.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/mount.yazi\sudo.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | local M = {}
--- Verify if `sudo` is already authenticated
--- @return boolean
--- @return Error?
function M.sudo_already()
local status, err = Command("sudo"):arg({ "--validate", "--non-interactive" }):status()
return status and status.success or false, err
end
--- Run a program with `sudo` privilege
--- @param pr... |
no-status.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/no-status.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.2.7
local function setup()
local old_layout = Tab.layout
Status.redraw = function() return {} end
Tab.layout = function(self, ...)
self._area = ui.Rect { x = self._area.x, y = self._area.y, w = self._area.w, h = self._area.h + 1 }
return old_layout(self, ...)
end
end
return { setup = setup }
|
piper.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/piper.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local M = {}
local function fail(job, s) ya.preview_widget(job, ui.Text.parse(s):area(job.area):wrap(ui.Wrap.YES)) end
function M:peek(job)
local child, err = Command("sh")
:arg({ "-c", job.args[1], "sh", tostring(job.file.path) })
:env("w", job.area.w)
:env("h", job.area.h)
:stdout(Comma... |
smart-enter.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/smart-enter.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.5.31
--- @sync entry
local function setup(self, opts) self.open_multi = opts.open_multi end
local function entry(self)
local h = cx.active.current.hovered
ya.emit(h and h.cha.is_dir and "enter" or "open", { hovered = not self.open_multi })
end
return { entry = entry, setup = setup }
|
smart-filter.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/smart-filter.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.12.29
local hovered = ya.sync(function()
local h = cx.active.current.hovered
if not h then
return {}
end
return {
url = h.url,
is_dir = h.cha.is_dir,
unique = #cx.active.current.files == 1,
}
end)
local function prompt()
return ya.input {
title = "Smart filter:",
pos = { "center", w =... |
smart-paste.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/smart-paste.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.5.31
--- @sync entry
return {
entry = function()
local h = cx.active.current.hovered
if h and h.cha.is_dir then
ya.emit("enter", {})
ya.emit("paste", {})
ya.emit("leave", {})
else
ya.emit("paste", {})
end
end,
}
|
toggle-pane.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/toggle-pane.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 25.5.31
--- @sync entry
local function entry(st, job)
local R = rt.mgr.ratio
job = type(job) == "string" and { args = { job } } or job
st.parent = st.parent or R.parent
st.current = st.current or R.current
st.preview = st.preview or R.preview
local act, to = string.match(job.args[1] or "", "(.-)-(.+... |
vcs-files.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/vcs-files.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local root = ya.sync(function() return cx.active.current.cwd end)
local function fail(content) return ya.notify { title = "VCS Files", content = content, timeout = 5, level = "error" } end
local function entry()
local root = root()
local output, err = Command("git"):cwd(tostring(root)):arg({ "di... |
zoom.yazi\main.lua | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/zoom.yazi\main.lua | yazi-rs/plugins | Place code snippets from docs into this monorepo, so that users can update more easily via package manager. | [
"sxyazi",
"PFiS1737",
"lpnh",
"boydaihungst",
"dm9pZCAq",
"EnergoStalin",
"alberti42",
"AnirudhG07",
"cgroening",
"dangooddd",
"susl",
"emrakyz",
"CandySunPlus",
"gwicke",
"LucasAmion",
"matt-dong-123",
"Rolv-Apneseth",
"SolitudeSF",
"PILIHU2022",
"dexxiez",
"av-gantimurov",
... | 196281844b8cbcac658a59013e4805300c2d6126 | MIT License
Copyright (c) 2023 yazi-rs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | https://github.com/yazi-rs/plugins/blob/196281844b8cbcac658a59013e4805300c2d6126/LICENSE | --- @since 26.1.22
local get = ya.sync(function(st, url) return st.last == url and st.level end)
local save = ya.sync(function(st, url, new)
local h = cx.active.current.hovered
if h and h.url == url then
st.last, st.level = url, new
return true
end
end)
local lock = ya.sync(function(st, url, old, new)
if st.... |
plugin\cloud\execute_task.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\cloud\execute_task.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--[=[
Lune script to execute Luau tasks using OpenCloud within a Roblox engine.
This script can execute any task within the environment, such as publishing the plugin.
Steps for usage:
1) `rojo build test.project.json --output plugin_place.rbxl`
2) `ROBLOX_API_KEY=xxxx lune run publish_plugin.luau plu... |
plugin\cloud\publishing_task.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\cloud\publishing_task.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Script to publish the Luau Language Server companion plugin to Roblox
local AssetService = game:GetService("AssetService")
local ASSET_ID = 10913122509
local CREATOR_ID = 68136726
print("Executing AssetService:CreateAssetVersionAsync")
local result, number =
AssetService:CreateAssetVersionAsync(game.... |
plugin\src\Assets.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\Assets.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Asset IDs for images used in the plugin's toolbar and UI.
--- These are Roblox asset IDs pointing to uploaded images.
local Assets = {}
--- Default icon
Assets.Icon = "rbxassetid://85321628471210"
--- Icon with a green square indicating connection
Assets.ConnectedIcon = "rbxassetid://126078034992458"
... |
plugin\src\init.server.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\init.server.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Luau Language Server Plugin
--- Main entry point for the Roblox Studio plugin.
---
--- This plugin connects to an external Luau Language Server to provide
--- enhanced IDE features. It tracks changes to the DataModel and sends
--- updates to the language server for accurate autocompletion and analysis.
-... |
plugin\src\InstanceTracker.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\InstanceTracker.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Tracks changes to Roblox Instances and notifies listeners with filtering based on include paths.
--- Monitors name and parent property changes, as well as new descendants.
--- Encodes Roblox Instances into a serializable format for the language server.
local Log = require(script.Parent.Utils.Log)
local ... |
plugin\src\LSPManager.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\LSPManager.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
local HttpService = game:GetService("HttpService")
local InstanceFileSyncService = game:GetService("InstanceFileSyncService")
--- Manages the connection to the Luau Language Server.
--- Handles connecting, disconnecting, and sending DataModel updates.
local Debounce = require(script.Parent.Utils.Debounce)
l... |
plugin\src\ServerEndpoints.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\ServerEndpoints.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- HTTP endpoints for communicating with the Luau Language Server.
--- Handles serialization and error handling for LSP requests.
local HttpService = game:GetService("HttpService")
local types = require(script.Parent.types)
local ServerEndpoints = {}
--- Wraps an HTTP request result into a Result type.
... |
plugin\src\types.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\types.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Type definitions for the Luau Language Server plugin.
--- This module exports common types used throughout the plugin.
--- Represents a successful result containing a value of type T.
type Ok<T> = { ok: true, value: T }
--- Represents a failed result containing an error of type E.
type Err<E> = { ok: f... |
plugin\src\Settings\DefaultSettings.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\Settings\DefaultSettings.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --- Configuration for the Luau Language Server
--- https://devforum.roblox.com/t/luau-language-server-for-external-editors/2185389
--- Make sure that `luau-lsp.plugin.enabled` is set to `true` in VSCode for the plugin to connect
return {
--- The host to connect to the language server.
host = "http://localhost",
--... |
plugin\src\Settings\init.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\Settings\init.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Manages plugin settings stored in a ModuleScript in TestService.
--- Settings are loaded from source code and validated against defaults.
---
--- The settings module is automatically created if it doesn't exist,
--- using DefaultSettings as a template. Changes to the settings module
--- are detected and ... |
plugin\src\Utils\Debounce.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\Utils\Debounce.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Debounce utility for rate-limiting function calls.
--- Delays callback execution until a period of inactivity.
---
--- Usage:
--- ```lua
--- local debounce = Debounce.new(0.5, function()
--- print("Called after 0.5s of inactivity")
--- end)
--- debounce:call() -- Starts/resets the timer
--- debounce:... |
plugin\src\Utils\Log.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\Utils\Log.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Logging utility for the Luau Language Server plugin.
--- Provides leveled logging with configurable output filtering.
---
--- Usage:
--- ```lua
--- Log.setLevel(Log.Level.DEBUG)
--- Log.info("Connected to server")
--- Log.debug("Processing", itemCount, "items")
--- ```
local Log = {}
--- Numeric log le... |
plugin\src\Utils\Signal.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/plugin\src\Utils\Signal.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- A dead simple strictly typed signal/event utility for managing listeners.
--- Provides a reusable pattern for registering callbacks and firing events.
---
--- Usage:
--- ```lua
--- local signal = Signal.new()
--- local disconnect = signal:connect(function(value)
--- print("Received:", value)
--- end)... |
scripts\compute_flag_differences.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/scripts\compute_flag_differences.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | --!strict
--- Given a `luau-lsp` binary, computes the differences between default flags and flags currently enabled for Roblox
--- Useful for debugging flag differences
local net = require("@lune/net")
local process = require("@lune/process")
local response =
net.request("https://clientsettingscdn.roblox.com/v1/setti... |
tests\testdata\non-ascii\ō.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/tests\testdata\non-ascii\ō.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | local _ = 1
|
tests\testdata\requires\relative_to_file\dependency.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/tests\testdata\requires\relative_to_file\dependency.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | return 1234
|
tests\testdata\requires\relative_to_file\main.luau | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/tests\testdata\requires\relative_to_file\main.luau | JohnnyMorganz/luau-lsp | Language Server Implementation for Luau | [
"JohnnyMorganz",
"luau-language-server-helper[bot]",
"github-actions[bot]",
"dependabot[bot]",
"Barocena",
"fewkz",
"MaximumADHD",
"checkraisefold",
"lopi-py",
"zovits",
"Ketasaja",
"itsmath",
"jackdotink",
"DervexDev",
"Aloroid",
"voidedWarranties",
"TreehouseFalcon",
"zoon",
"A... | 478b5d39c007b1f30df9b6f4fc530d92d4347864 | Copyright (c) 2018 Pranav Srinivas Kumar <pranav.srinivas.kumar@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy... | https://github.com/JohnnyMorganz/luau-lsp/blob/478b5d39c007b1f30df9b6f4fc530d92d4347864/extern\argparse\LICENSE | -- selene: allow(unused_variable)
local other = require("./dependency")
|
examples\entities\basics.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\entities\basics.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.world()
local Position = world:component() :: jecs.Id<vector>
local Walking = world:component()
local Name = world:component() :: jecs.Id<string>
local function name(e: jecs.Entity): string
return assert(world:get(e, Name))
end
-- Create an entity with name Bob
local... |
examples\entities\hierarchy.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\entities\hierarchy.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local pair = jecs.pair
local ChildOf = jecs.ChildOf
local world = jecs.World.new()
local Name = world:component()
local Position = world:component()
local Star = world:component()
local Planet = world:component()
local Moon = world:component()
local Vector3
do
Vector3 = {}
Vector3.__in... |
examples\hooks\cleanup.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\hooks\cleanup.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.World.new()
local Model = world:component()
-- It is important to define hooks for the component before the component is ever used
-- otherwise the hooks will never invoke!
world:set(Model, jecs.OnRemove, function(entity)
-- OnRemove is invoked before the component an... |
examples\networking\networking_recv.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\networking\networking_recv.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --!strict
local remotes = require("./remotes")
local jecs = require("@jecs")
local collect = require("@modules/collect")
-- this is just an example, you need an actually populated map
local components: { [string]: jecs.Id } = {}
local client_ids: { [jecs.Entity]: jecs.Entity<nil> } = {}
local function ecs_ensure_ent... |
examples\networking\networking_send.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\networking\networking_send.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --!strict
local Players = require("@game/Players")
local remotes = require("./remotes")
local jecs = require("@jecs")
local collect = require("@modules/collect")
local ty = require("./types")
-- this is just an example, you need an actually populated map
local components: { [string]: jecs.Id } = {}
local ct = componen... |
examples\networking\remotes.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\networking\remotes.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local ReplicatedStorage = require("@game/ReplicatedStorage")
local types = require("./types")
type Remote<T...> = {
FireClient: (Remote<T...>, Player, T...) -> (),
FireAllClients: (Remote<T...>, T...) -> (),
FireServer: (Remote<T...>, T...) -> (),
OnServerEvent: RBXScriptSignal<(Player, T...)>,
OnClientEvent: RBX... |
examples\networking\types.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\networking\types.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
export type snapshot = {
[string]: {
set: { jecs.Entity }?,
values: { any }?,
removed: { jecs.Entity }?,
pair: true,
relation: jecs.Entity,
target: jecs.Entity,
} | {
set: { jecs.Entity }?,
values: { any }?,
removed: { jecs.Entity }?,
pair: false,
},
}
return {}
|
examples\queries\basics.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\queries\basics.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.world()
local Position = world:component()
local Velocity = world:component()
local Name = world:component()
local Vector3
do
Vector3 = {}
Vector3.__index = Vector3
function Vector3.new(x, y, z)
x = x or 0
y = y or 0
z = z or 0
return setmetatable({ X = x, ... |
examples\queries\changetracking.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\queries\changetracking.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local pair = jecs.pair
local world = jecs.world()
local Name = world:component() :: jecs.Id<string>
local function name(e: jecs.Entity): string
return assert(world:get(e, Name))
end
local Position = world:component() :: jecs.Id<vector>
world:set(Position, Name, "Position")
local Previo... |
examples\queries\spatial_grids.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\queries\spatial_grids.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local pair = jecs.pair
local ChildOf = jecs.ChildOf
local __ = jecs.Wildcard
local Name = jecs.Name
local world = jecs.world()
local Voxel = world:component() :: jecs.Id
local Position = world:component() :: jecs.Id<vector>
local Perception = world:component() :: jecs.Id<{
range: number,... |
examples\queries\wildcards.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\queries\wildcards.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local pair = jecs.pair
local world = jecs.World.new()
local Name = world:component()
local function named(ctr, name)
local e = ctr(world)
world:set(e, Name, name)
return e
end
local function name(e)
return world:get(e, Name)
end
local Eats = world:component()
local Apples = named(wor... |
examples\queries\archetypes\targets.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\queries\archetypes\targets.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | -- Using world:target is the recommended way to grab the target in a wildcard
-- query. However the random access can add up in very hot paths. Accessing its
-- column can drastically improve performance, especially when there are
-- multiple adjacent pairs.
local jecs = require("@jecs")
local pair = jecs.pair
local _... |
examples\queries\archetypes\visibility_cascades.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/examples\queries\archetypes\visibility_cascades.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | -- To get the most out of performance, you can lift the inner loop of queries to
-- the system in which you can do archetype-specific optimizations like finding
-- the parent once per archetype rather than per entity.
local jecs = require("@jecs")
local pair = jecs.pair
local ChildOf = jecs.ChildOf
local __ = jecs.Wil... |
how_to\001_hello_world.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\001_hello_world.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
It all has to start somewhere. A world stores entities and their components,
and manages them. This tour will reference it for every operation.
]]
local jecs = require("@jecs")
local world = jecs.world()
--[[
You can declare component ids with specific types with this format:
ComponentId = world:component()... |
how_to\002_entities.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\002_entities.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.world()
--[[
Entities represent things in a game. In a game there may be entities of
characters, buildings, projectiles, particle effects etc.
By itself, an entity is just an unique entity identifier without any data.
An entity identifier contains information about... |
how_to\003_components.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\003_components.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.world()
--[[
A component is something that is added to an entity. Components can simply
tag an entity ("this entity is an Npc"), attach data to an entity ("this entity
is at Position Vector3.new(10, 20, 30)") and create relationships between
entities ("bob Likes ali... |
how_to\004_tags.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\004_tags.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
--[[
Tags are components without data. They are used to mark or categorize entities
without storing any associated values. Think of them as boolean flags that
can be added or removed from entities.
A tag takes zero bytes of storage per entity. More importantly,
tags enable a differe... |
how_to\005_entity_singletons.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\005_entity_singletons.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.world()
-- Singletons are components for which only a single instance exists on the world.
-- They can be accessed on the world directly and do not require providing
-- an entity. Singletons are useful for global game resources, such as game state,
-- a handle to a phys... |
how_to\010_how_components_works.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\010_how_components_works.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.world()
--[[
In an ECS, components need to be uniquely identified. In Jecs this is done
by making each component its own unique entity.
If a game has a component Position and Velocity, there will be two entities,
one for each component. Component entities can be di... |
how_to\011_preregistering_components.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\011_preregistering_components.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
By default, components being registered on runtime is useful for how dynamic
it can be. But, sometimes being able to register components without having
the world instance is useful.
]]
local jecs = require("@jecs")
local Position = jecs.component() :: jecs.Id<vector>
jecs.world() -- Position gets registered ... |
how_to\013_pairs.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\013_pairs.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local pair = jecs.pair
local world = jecs.world()
local pair_first = jecs.pair_first
local pair_second = jecs.pair_second
local is_pair = jecs.IS_PAIR
local Likes = world:entity()
local Owns = world:component() :: jecs.Id<{ purchase_date: string }>
local alice = world:entity()
local car ... |
how_to\020_queries.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\020_queries.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Queries enable games to quickly find entities that satisfies provided conditions.
In jecs, queries can do anything from returning entities that match a simple
list of components, to matching against entity graphs.
Some of the features of Jecs queries are:
- Queries have support for relationships pairs which ... |
how_to\021_query_operators.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\021_query_operators.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Filters are extensions to queries which allow you to select entities from
a more complex pattern but you don't actually care about the component values.
The following filters are supported by queries:
| Identifier | Description |
| ---------- | ----------------------------------- |
... |
how_to\022_query_caching.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\022_query_caching.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Understanding the basic architecture of queries helps to make the right
tradeoffs when using queries in games. The biggest impact on query performance
is whether a query is cached or not. This section goes over what caching is,
how it can be used and when it makes sense to use it.
Caching: what is it?
Jecs... |
how_to\030_archetypes.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\030_archetypes.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local world = jecs.world()
local Position = world:component() :: jecs.Id<vector>
--[[
When an entity moves to a new archetype, several things happen:
1. The entity is removed from the old archetype's entity list
2. Component data is copied from old columns to new columns (if the comp... |
how_to\040_fragmentation.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\040_fragmentation.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Fragmentation is a property of archetype-based ECS implementations where entities
are spread out over more archetypes as the number of different component combinations
increases. The overhead of fragmentation is visible in two areas:
- Archetype creation
- Queries (queries have to match & iterate more archety... |
how_to\041_entity_relationships.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\041_entity_relationships.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Relationships makes it possible to describe entity graphs natively in ECS.
Adding/removing relationships is similar to adding/removing regular components,
with the difference that instead of a single component id, a relationship adds
a pair of two things to an entity. In this pair, the first element represent... |
how_to\042_target.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\042_target.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
world:target(entity, relation, index?) returns the target of a relationship
on an entity. The index is 0-based. If no target exists at that index, it
returns nil.
Use target when you have queried with a wildcard (e.g. pair(Eats, jecs.Wildcard))
and need the actual target entity for each result. Without an in... |
how_to\043_wildcards.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\043_wildcards.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Wildcards let you query relationships without specifying the exact target or
relationship. jecs.Wildcard matches any entity in that slot.
- pair(relation, jecs.Wildcard) matches that relationship with any target.
- pair(jecs.Wildcard, target) matches any relationship with that target.
Use world:target(entit... |
how_to\100_cleanup_traits.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\100_cleanup_traits.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local pair = jecs.pair
local world = jecs.world()
local T1 = world:entity()
local T2 = world:entity()
--[[
When entities that are used as tags, components, relationships or relationship
targets are deleted, cleanup traits ensure that the store does not contain any
dangling references.... |
how_to\110_hooks.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\110_hooks.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Component data generally need to adhere to a specific interface, and sometimes
requires side effects to run upon certain lifetime cycles. In jecs, there are
hooks which are component traits, that can define the behaviour of a component
and enforce invariants, but can only be invoked through mutations on the
c... |
how_to\111_signals.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\111_signals.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --[[
Signals let you subscribe to component add, change, and remove events with
multiple listeners per component. Unlike hooks (see 110_hooks.luau), which
allow only one OnAdd, OnChange, and OnRemove per component, signals support
any number of subscribers and each subscription returns an unsubscribe
function so y... |
how_to\999_temperance.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/how_to\999_temperance.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | -- These notes are my thoughts jotted down from having experienced these
-- problems myself and gathered insights from many admired individuals such as
-- Sander Mertens, Ryan Fleury, Jonathon Blow, Benjamin Saunders and many more...
--[[
In 1993, the original source code for DOOM was about 50,000 lines of code. And
... |
modules\collect.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/modules\collect.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local function collect(signal)
local enqueued = {}
local i = 0
local connection = signal:Connect(function(...)
table.insert(enqueued, { ... })
i += 1
end)
return function(): any
if i == 0 then
return
end
i -= 1
local args: any = table.remove(enqueued, 1)
return unpack(args)
end,
connectio... |
modules\deserialize.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/modules\deserialize.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local function ecs_ensure_entity(world: jecs.World, id: jecs.Entity<any>, ctx: { [jecs.Entity<any>]: jecs.Entity<any> })
local e = 0
local ser_id = id
local deser_id = ctx[ser_id]
if not deser_id then
if not world:exists(ser_id) or (world:contains(ser_id) and not world:get(ser_id,... |
modules\entity_visualiser.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/modules\entity_visualiser.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local ECS_GENERATION = jecs.ECS_GENERATION
local ECS_ID = jecs.ECS_ID
local ansi = {
white_underline = function(s: any)
return `\27[1;4m{s}\27[0m`
end,
white = function(s: any)
return `\27[37;1m{s}\27[0m`
end,
green = function(s: any)
return `\27[32;1m{s}\27[0m`
end,
red =... |
modules\lifetime_tracker.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/modules\lifetime_tracker.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local jecs = require("@jecs")
local ECS_GENERATION = jecs.ECS_GENERATION
local ECS_ID = jecs.ECS_ID
local __ = jecs.Wildcard
local pair = jecs.pair
local prettify = require("@modules/entity_visualiser").prettify
local pe = prettify
function print_centered_entity(entity, width: number)
local entity_str = tostring(en... |
modules\remotes.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/modules\remotes.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | -- A simple way to safely type remote events without hassle
local ReplicatedStorage = require("@game/ReplicatedStorage")
local jecs = require("@jecs")
local ty = require("./")
type Remote<T...> = {
FireClient: (Remote<T...>, Player, T...) -> (),
FireAllClients: (Remote<T...>, T...) -> (),
FireServer: (Remote<T...>... |
modules\runtime_lints.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/modules\runtime_lints.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | local function dbg_info(n: number): any
return debug.info(n, "s")
end
local function throw(msg: string)
local s = 1
local root = dbg_info(1)
repeat
s += 1
until dbg_info(s) ~= root
if warn then
error(msg, s)
else
print(`[jecs] error: {msg}\n`)
end
end
local function ASSERT<T>(v: T, msg: string)
if v the... |
modules\testkit.luau | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/modules\testkit.luau | Ukendio/jecs | A fast, portable Entity Component System for Luau | [
"Ukendio",
"daimond113",
"Mark-Marks",
"christopher-buss",
"outofbearspace",
"alicesaidhi",
"lolmanurfunny",
"maeriil",
"memorycode",
"Ketasaja",
"vnnh",
"hautajoki",
"SaberClass",
"PepeElToro41",
"Intrinsic-zyx",
"YetAnotherClown",
"silly-spongus",
"1Axen",
"daolgierd",
"renya... | 96dfde0d2e451cdf76fd795bd16a832984d8cbbd | MIT License
Copyright (c) 2024 jecs authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | https://github.com/Ukendio/jecs/blob/96dfde0d2e451cdf76fd795bd16a832984d8cbbd/LICENSE | --------------------------------------------------------------------------------
-- testkit.luau
-- v0.7.3
-- MIT License
-- Copyright (c) 2022 centau
--
-- Some changes that I have made to this module is to evaluate the tests lazily,
-- this way only focused tests will actually be ran rather than just focusing their o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.