summaryrefslogtreecommitdiff
path: root/server-beta/locale/en-US
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/locale/en-US')
-rw-r--r--server-beta/locale/en-US/libs/@lua/basic.lni239
-rw-r--r--server-beta/locale/en-US/libs/@lua/bit32.lni57
-rw-r--r--server-beta/locale/en-US/libs/@lua/coroutine.lni42
-rw-r--r--server-beta/locale/en-US/libs/@lua/debug.lni148
-rw-r--r--server-beta/locale/en-US/libs/@lua/file.lni91
-rw-r--r--server-beta/locale/en-US/libs/@lua/io.lni230
-rw-r--r--server-beta/locale/en-US/libs/@lua/math.lni132
-rw-r--r--server-beta/locale/en-US/libs/@lua/os.lni38
-rw-r--r--server-beta/locale/en-US/libs/@lua/package.lni29
-rw-r--r--server-beta/locale/en-US/libs/@lua/string.lni72
-rw-r--r--server-beta/locale/en-US/libs/@lua/table.lni39
-rw-r--r--server-beta/locale/en-US/libs/@lua/utf8.lni40
-rw-r--r--server-beta/locale/en-US/script.lni122
13 files changed, 1279 insertions, 0 deletions
diff --git a/server-beta/locale/en-US/libs/@lua/basic.lni b/server-beta/locale/en-US/libs/@lua/basic.lni
new file mode 100644
index 00000000..7dbf8d60
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/basic.lni
@@ -0,0 +1,239 @@
+[arg]
+description = 'Command-line arguments of Lua Standalone.'
+
+[assert]
+description = 'Calls error if the value of its argument is false.'
+
+[collectgarbage]
+[[.enums]]
+name = 'opt'
+enum = '"collect"'
+description = 'Performs a full garbage-collection cycle.'
+``````````
+name = 'opt'
+enum = '"stop"'
+description = 'Stops automatic execution.'
+``````````
+name = 'opt'
+enum = '"restart"'
+description = 'Restarts automatic execution.'
+``````````
+name = 'opt'
+enum = '"count"'
+description = 'Returns the total memory in Kbytes.'
+``````````
+name = 'opt'
+enum = '"step"'
+description = 'Performs a garbage-collection step.'
+``````````
+name = 'opt'
+enum = '"setpause"'
+description = 'Set pause.'
+``````````
+name = 'opt'
+enum = '"setstepmul"'
+description = 'Set step multiplier.'
+``````````
+name = 'opt'
+enum = '"isrunning"'
+description = 'Returns whether the collector is running.'
+
+["collectgarbage Lua 5.4"]
+[[.enums]]
+name = 'opt'
+enum = '"collect"'
+description = 'Performs a full garbage-collection cycle.'
+``````````
+name = 'opt'
+enum = '"stop"'
+description = 'Stops automatic execution.'
+``````````
+name = 'opt'
+enum = '"restart"'
+description = 'Restarts automatic execution.'
+``````````
+name = 'opt'
+enum = '"count"'
+description = 'Returns the total memory in Kbytes.'
+``````````
+name = 'opt'
+enum = '"step"'
+description = 'Performs a garbage-collection step.'
+``````````
+name = 'opt'
+enum = '"setpause"'
+description = 'Set pause.'
+``````````
+name = 'opt'
+enum = '"setstepmul"'
+description = 'Set step multiplier.'
+``````````
+name = 'opt'
+enum = '"incremental"'
+description = 'Change the collector mode to incremental.'
+``````````
+name = 'opt'
+enum = '"generational"'
+description = 'Change the collector mode to generational.'
+``````````
+name = 'opt'
+enum = '"isrunning"'
+description = 'Returns whether the collector is running.'
+
+[dofile]
+description = 'Opens the named file and executes its contents as a Lua chunk.'
+
+[error]
+description = 'Terminates the last protected function called and returns message as the error object.'
+
+[_G]
+description = 'Holds the global environment.'
+
+[getfenv]
+description = 'Returns the current environment in use by the function. `f` can be a Lua function or a number that specifies the function at that stack level.'
+
+[getmetatable]
+description = 'Returns the metatable of the given object.'
+
+[ipairs]
+description = [[
+----------------
+```lua
+for i, v in ipairs(t) do
+ body
+end
+```
+]]
+
+[load]
+description = 'Loads a chunk.'
+[[.enums]]
+name = 'mode'
+enum = '"b"'
+description = 'Only binary chunks.'
+``````````
+name = 'mode'
+enum = '"t"'
+description = 'Only text chunks.'
+``````````
+name = 'mode'
+enum = '"bt"'
+description = 'Both binary and text.'
+
+['load Lua 5.1']
+description = 'Loads a chunk using function `func` to get its pieces. Each call to `func` must return a string that concatenates with previous results.'
+
+[loadfile]
+description = 'Loads a chunk from file.'
+[[.enums]]
+name = 'mode'
+enum = '"b"'
+description = 'Only binary chunks.'
+``````````
+name = 'mode'
+enum = '"t"'
+description = 'Only text chunks.'
+``````````
+name = 'mode'
+enum = '"bt"'
+description = 'Both binary and text.'
+
+['loadfile Lua 5.1']
+description = 'Loads a chunk from file `filename` or from the standard input, if no file name is given.'
+
+[loadstring]
+description = 'Loads a chunk from the given string.'
+
+[module]
+description = 'Creates a module'
+
+[next]
+description = 'Returns the next index of the table and its associated value.'
+
+[pairs]
+description = [[
+----------------
+```lua
+for k, v in pairs(t) do
+ body
+end
+```
+]]
+
+[pcall]
+description = 'Calls function with the given arguments in protected mode.'
+
+[print]
+description = 'Receives any number of arguments and prints their values to stdout.'
+
+[rawequal]
+description = 'Checks whether v1 is equal to v2, without invoking the `__eq` metamethod.'
+
+[rawget]
+description = 'Gets the real value of `table[index]`, without invoking the `__index` metamethod.'
+
+[rawlen]
+description = 'Returns the length of the object `v`, without invoking the `__len` metamethod.'
+
+[rawset]
+description = 'Sets the real value of `table[index]` to `value`, without invoking the `__newindex` metamethod.'
+
+[select]
+[[.enums]]
+name = 'index'
+enum = '"#"'
+description = 'Returns the total number of extra arguments.'
+``````````
+name = 'index'
+code = 'integer'
+description = 'Returns all arguments after number `index`.'
+
+[setfenv]
+description = 'Sets the environment to be used by the given function. `f` can be a Lua function or a number that specifies the function at that stack level.'
+
+[setmetatable]
+description = 'Sets the metatable for the given table.'
+
+[tonumber]
+description = 'Tries to convert its argument to a number.'
+
+[tostring]
+description = 'Receives a value of any type and converts it to a string in a human-readable format.'
+
+[type]
+description = 'Returns the type of its only argument, coded as a string.'
+
+["_VERSION Lua 5.1"]
+description = 'Running Lua version.'
+
+["_VERSION Lua 5.2"]
+description = 'Running Lua version.'
+
+["_VERSION Lua 5.3"]
+description = 'Running Lua version.'
+
+["_VERSION Lua 5.4"]
+description = 'Running Lua version.'
+
+[warn]
+description = 'Emits a warning with a message composed by the concatenation of all its arguments (which should be strings).'
+
+[xpcall]
+description = 'Calls function `f` with the given arguments in protected mode with a new message handler.'
+
+['xpcall Lua 5.1']
+description = 'Calls function `f` in protected mode with a new message handler.'
+
+[require]
+description = 'Loads the given module, returns any value returned by the given module(`true` when `nil`).'
+
+["require Lua 5.4"]
+description = 'Loads the given module, returns any value returned by the searcher(`true` when `nil`). Besides that value, also returns as a second result the loader data returned by the searcher, which indicates how `require` found the module. (For instance, if the module came from a file, this loader data is the file path.)'
+
+[unpack]
+description = [[
+-------
+```lua
+return list[i], list[i+1], ···, list[j]
+```
+]]
diff --git a/server-beta/locale/en-US/libs/@lua/bit32.lni b/server-beta/locale/en-US/libs/@lua/bit32.lni
new file mode 100644
index 00000000..13630970
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/bit32.lni
@@ -0,0 +1,57 @@
+[arshift]
+description = [[
+Returns the number `x` shifted `disp` bits to the right. Negative displacements shift to the left.
+
+This shift operation is what is called arithmetic shift. Vacant bits on the left are filled with copies of the higher bit of `x`; vacant bits on the right are filled with zeros.
+]]
+
+[band]
+description = 'Returns the bitwise *and* of its operands.'
+
+[bnot]
+description = [[
+Returns the bitwise negation of `x`.
+
+```lua
+assert(bit32.bnot(x) == (-1 - x) % 2^32)
+```
+]]
+
+[bor]
+description = 'Returns the bitwise *or* of its operands.'
+
+[btest]
+description = 'Returns a boolean signaling whether the bitwise *and* of its operands is different from zero.'
+
+[bxor]
+description = 'Returns the bitwise *exclusive or* of its operands.'
+
+[extract]
+description = 'Returns the unsigned number formed by the bits `field` to `field + width - 1` from `n`.'
+
+[replace]
+description = 'Returns a copy of `n` with the bits `field` to `field + width - 1` replaced by the value `v` .'
+
+[lrotate]
+description = 'Returns the number `x` rotated `disp` bits to the left. Negative displacements rotate to the right.'
+
+[lshift]
+description = [[
+Returns the number `x` shifted `disp` bits to the left. Negative displacements shift to the right. In any direction, vacant bits are filled with zeros.
+
+```lua
+assert(bit32.lshift(b, disp) == (b * 2^disp) % 2^32)
+```
+]]
+
+[rrotate]
+description = 'Returns the number `x` rotated `disp` bits to the right. Negative displacements rotate to the left.'
+
+[rshift]
+description = [[
+Returns the number `x` shifted `disp` bits to the right. Negative displacements shift to the left. In any direction, vacant bits are filled with zeros.
+
+```lua
+assert(bit32.rshift(b, disp) == math.floor(b % 2^32 / 2^disp))
+```
+]]
diff --git a/server-beta/locale/en-US/libs/@lua/coroutine.lni b/server-beta/locale/en-US/libs/@lua/coroutine.lni
new file mode 100644
index 00000000..910638ec
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/coroutine.lni
@@ -0,0 +1,42 @@
+[create]
+description = 'Creates a new coroutine.'
+
+[isyieldable]
+description = 'Returns true when the running coroutine can yield.'
+
+['isyieldable Lua 5.4']
+description = 'Returns true when the coroutine `co` can yield. The default for `co` is the running coroutine.'
+
+[close]
+description = 'Closes coroutine `co` , closing all its pending to-be-closed variables and putting the coroutine in a dead state.'
+
+[resume]
+description = 'Starts or continues the execution of coroutine `co`.'
+
+[running]
+description = 'Returns the running coroutine plus a boolean, true when the running coroutine is the main one.'
+
+[status]
+description = 'Returns the status of coroutine `co`.'
+[[.enums]]
+name = 'status'
+enum = '"running"'
+description = 'Is running.'
+``````````
+name = 'status'
+enum = '"suspended"'
+description = 'Is suspended or not started.'
+``````````
+name = 'status'
+enum = '"normal"'
+description = 'Is active but not running.'
+``````````
+name = 'status'
+enum = '"dead"'
+description = 'Has finished or stopped with an error.'
+
+[wrap]
+description = 'Creates a new coroutine.'
+
+[yield]
+description = 'Suspends the execution of the calling coroutine.'
diff --git a/server-beta/locale/en-US/libs/@lua/debug.lni b/server-beta/locale/en-US/libs/@lua/debug.lni
new file mode 100644
index 00000000..44d5317f
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/debug.lni
@@ -0,0 +1,148 @@
+["debug.debug"]
+description = 'Enters an interactive mode with the user, running each string that the user enters.'
+
+[getfenv]
+description = 'Returns the environment of object `o` .'
+
+[gethook]
+description = 'Returns the current hook settings of the thread.'
+
+[getinfo]
+description = 'Returns a table with information about a function.'
+[[.enums]]
+name = 'what'
+enum = '"n"'
+description = '`name` and `namewhat`'
+``````````
+name = 'what'
+enum = '"S"'
+description = '`source`, `short_src`, `linedefined`, `lastlinedefined`, and `what`'
+``````````
+name = 'what'
+enum = '"l"'
+description = '`currentline`'
+``````````
+name = 'what'
+enum = '"t"'
+description = '`istailcall`'
+``````````
+name = 'what'
+enum = '"u"'
+description = '`nups`, `nparams`, and `isvararg`'
+``````````
+name = 'what'
+enum = '"f"'
+description = '`func`'
+``````````
+name = 'what'
+enum = '"L"'
+description = '`activelines`'
+
+['getinfo Lua 5.1']
+description = 'Returns a table with information about a function.'
+[[.enums]]
+name = 'what'
+enum = '"n"'
+description = '`name` and `namewhat`'
+``````````
+name = 'what'
+enum = '"S"'
+description = '`source`, `short_src`, `linedefined`, `lastlinedefined`, and `what`'
+``````````
+name = 'what'
+enum = '"l"'
+description = '`currentline`'
+``````````
+name = 'what'
+enum = '"t"'
+description = '`istailcall`'
+``````````
+name = 'what'
+enum = '"u"'
+description = '`nups`'
+``````````
+name = 'what'
+enum = '"f"'
+description = '`func`'
+``````````
+name = 'what'
+enum = '"L"'
+description = '`activelines`'
+
+[getlocal]
+description = 'Returns the name and the value of the local variable with index `local` of the function at level `f` of the stack.'
+
+['getlocal Lua 5.1']
+description = 'Returns the name and the value of the local variable with index `local` of the function at level `level` of the stack.'
+
+[getmetatable]
+description = 'Returns the metatable of the given value.'
+
+[getregistry]
+description = 'Returns the registry table.'
+
+[getupvalue]
+description = 'Returns the name and the value of the upvalue with index `up` of the function.'
+
+[getuservalue]
+description = 'Returns the Lua value associated to u.'
+
+["getuservalue Lua 5.4"]
+description = [[
+Returns the `n`-th user value associated
+to the userdata `u` plus a boolean,
+`false` if the userdata does not have that value.
+]]
+
+[setCstacklimit]
+description = [[
+Sets a new limit for the C stack. This limit controls how deeply nested calls can go in Lua, with the intent of avoiding a stack overflow.
+
+In case of success, this function returns the old limit. In case of error, it returns `false`.
+]]
+
+[setfenv]
+description = 'Sets the environment of the given `object` to the given `table` .'
+
+[sethook]
+description = 'Sets the given function as a hook.'
+[[.enums]]
+name = 'mask'
+enum = '"c"'
+description = 'Calls hook when Lua calls a function.'
+``````````
+name = 'mask'
+enum = '"r"'
+description = 'Calls hook when Lua returns from a function.'
+``````````
+name = 'mask'
+enum = '"l"'
+description = 'Calls hook when Lua enters a new line of code.'
+
+[setlocal]
+description = 'Assigns the `value` to the local variable with index `local` of the function at `level` of the stack.'
+
+[setmetatable]
+description = 'Sets the metatable for the given value to the given table (which can be nil).'
+
+[setupvalue]
+description = 'Assigns the `value` to the upvalue with index `up` of the function.'
+
+[setuservalue]
+description = 'Sets the given value as the Lua value associated to the given udata.'
+
+["setuservalue Lua 5.4"]
+description = [[
+Sets the given `value` as
+the `n`-th user value associated to the given `udata`.
+`udata` must be a full userdata.
+]]
+
+[traceback]
+description = 'Returns a string with a traceback of the call stack. The optional message string is appended at the beginning of the traceback.'
+
+[upvalueid]
+description = 'Returns a unique identifier (as a light userdata) for the upvalue numbered `n` from the given function.'
+
+[upvaluejoin]
+description = 'Make the `n1`-th upvalue of the Lua closure `f1` refer to the `n2`-th upvalue of the Lua closure `f2`.'
diff --git a/server-beta/locale/en-US/libs/@lua/file.lni b/server-beta/locale/en-US/libs/@lua/file.lni
new file mode 100644
index 00000000..58bb2278
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/file.lni
@@ -0,0 +1,91 @@
+[close]
+description = 'Close `file`.'
+
+[flush]
+description = 'Saves any written data to `file`.'
+
+[lines]
+description = [[
+------
+```lua
+for c in file:lines(...) do
+ body
+end
+```
+]]
+[[.enums]]
+name = 'mode'
+enum = '"n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+enum = '"L"'
+description = 'Reads the next line keeping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+[read]
+description = 'Reads the `file`, according to the given formats, which specify what to read.'
+[[.enums]]
+name = 'mode'
+enum = '"n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+enum = '"L"'
+description = 'Reads the next line keeping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+[seek]
+description = 'Sets and gets the file position, measured from the beginning of the file.'
+[[.enums]]
+name = 'whence'
+enum = '"set"'
+description = 'Base is beginning of the file.'
+``````````
+name = 'whence'
+enum = '"cur"'
+description = 'Base is current position.'
+``````````
+name = 'whence'
+enum = '"end"'
+description = 'Base is end of file.'
+
+[setvbuf]
+description = 'Sets the buffering mode for an output file.'
+[[.enums]]
+name = 'mode'
+enum = '"no"'
+description = 'Output operation appears immediately.'
+``````````
+name = 'mode'
+enum = '"full"'
+description = 'Performed only when the buffer is full.'
+``````````
+name = 'mode'
+enum = '"line"'
+description = 'Buffered until a newline is output.'
+
+[write]
+description = 'Writes the value of each of its arguments to `file`.'
diff --git a/server-beta/locale/en-US/libs/@lua/io.lni b/server-beta/locale/en-US/libs/@lua/io.lni
new file mode 100644
index 00000000..2b405f2f
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/io.lni
@@ -0,0 +1,230 @@
+[stdin]
+description = 'standard input.'
+
+[stdout]
+description = 'standard output.'
+
+[stderr]
+description = 'standard error.'
+
+[close]
+description = 'Close `file` or default output file.'
+
+[flush]
+description = 'Saves any written data to default output file.'
+
+[input]
+description = 'Sets `file` as the default input file.'
+
+["lines Lua 5.1"]
+description = [[
+------
+```lua
+for c in io.lines(filename, ...) do
+ body
+end
+```
+]]
+[[.enums]]
+name = 'mode'
+enum = '"*n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"*a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"*l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+["lines Lua 5.3"]
+description = [[
+------
+```lua
+for c in io.lines(filename, ...) do
+ body
+end
+```
+]]
+[[.enums]]
+name = 'mode'
+enum = '"n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+enum = '"L"'
+description = 'Reads the next line keeping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+["lines LuaJIT"]
+description = [[
+------
+```lua
+for c in io.lines(filename, ...) do
+ body
+end
+```
+]]
+[[.enums]]
+name = 'mode'
+enum = '"*n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"*a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"*l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+enum = '"*L"'
+description = 'Reads the next line keeping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+[open]
+description = 'Opens a file, in the mode specified in the string `mode`.'
+[[.enums]]
+name = 'mode'
+enum = '"r"'
+description = 'Read mode.'
+``````````
+name = 'mode'
+enum = '"w"'
+description = 'Write mode.'
+``````````
+name = 'mode'
+enum = '"a"'
+description = 'Append mode.'
+``````````
+name = 'mode'
+enum = '"r+"'
+description = 'Update mode, all previous data is preserved.'
+``````````
+name = 'mode'
+enum = '"w+"'
+description = 'Update mode, all previous data is erased.'
+``````````
+name = 'mode'
+enum = '"a+"'
+description = 'Append update mode, previous data is preserved, writing is only allowed at the end of file.'
+
+[output]
+description = 'Sets `file` as the default output file.'
+
+[popen]
+description = 'Starts program prog in a separated process.'
+[[.enums]]
+name = 'mode'
+enum = '"r"'
+description = 'Read data from this program by `file`.'
+``````````
+name = 'mode'
+enum = '"w"'
+description = 'Write data to this program by `file`.'
+
+["read Lua 5.1"]
+description = 'Reads the `file`, according to the given formats, which specify what to read.'
+[[.enums]]
+name = 'mode'
+enum = '"*n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"*a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"*l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+["read Lua 5.3"]
+description = 'Reads the `file`, according to the given formats, which specify what to read.'
+[[.enums]]
+name = 'mode'
+enum = '"n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+enum = '"L"'
+description = 'Reads the next line keeping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+["read LuaJIT"]
+description = 'Reads the `file`, according to the given formats, which specify what to read.'
+[[.enums]]
+name = 'mode'
+enum = '"*n"'
+description = 'Reads a numeral and returns it as number.'
+``````````
+name = 'mode'
+enum = '"*a"'
+description = 'Reads the whole file.'
+``````````
+name = 'mode'
+enum = '"*l"'
+description = 'Reads the next line skipping the end of line.'
+``````````
+name = 'mode'
+enum = '"*L"'
+description = 'Reads the next line keeping the end of line.'
+``````````
+name = 'mode'
+code = 'number'
+description = 'Reads a string with up to this number of bytes.'
+
+[tmpfile]
+description = 'In case of success, returns a handle for a temporary file.'
+
+[type]
+description = 'Checks whether `obj` is a valid file handle.'
+[[.enums]]
+name = 'type'
+enum = '"file"'
+description = 'Is an open file handle.'
+``````````
+name = 'type'
+enum = '"closed file"'
+description = 'Is a closed file handle.'
+``````````
+name = 'type'
+code = 'nil'
+description = 'Is not a file handle.'
+
+[write]
+description = 'Writes the value of each of its arguments to default output file.'
diff --git a/server-beta/locale/en-US/libs/@lua/math.lni b/server-beta/locale/en-US/libs/@lua/math.lni
new file mode 100644
index 00000000..034153e7
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/math.lni
@@ -0,0 +1,132 @@
+[abs]
+description = 'Returns the absolute value of `x`.'
+
+[acos]
+description = 'Returns the arc cosine of `x` (in radians).'
+
+[asin]
+description = 'Returns the arc sine of `x` (in radians).'
+
+["atan Lua 5.1"]
+description = 'Returns the arc tangent of `x` (in radians).'
+
+["atan Lua 5.3"]
+description = 'Returns the arc tangent of `y/x` (in radians).'
+
+[atan2]
+description = 'Returns the arc tangent of `y/x` (in radians).'
+
+[ceil]
+description = 'Returns the smallest integral value larger than or equal to `x`.'
+
+[cos]
+description = 'Returns the cosine of `x` (assumed to be in radians).'
+
+[cosh]
+description = 'Returns the hyperbolic cosine of `x` (assumed to be in radians).'
+
+[deg]
+description = 'Converts the angle `x` from radians to degrees.'
+
+[exp]
+description = 'Returns the value `e^x` (where `e` is the base of natural logarithms).'
+
+[floor]
+description = 'Returns the largest integral value smaller than or equal to `x`.'
+
+[fmod]
+description = 'Returns the remainder of the division of `x` by `y` that rounds the quotient towards zero.'
+
+[frexp]
+description = 'Decompose `x` into tails and exponents. Returns `m` and `e` such that `x = m * (2 ^ e)`, `e` is an integer and the absolute value of `m` is in the range [0.5, 1) (or zero when `x` is zero).'
+
+[huge]
+description = 'A value larger than any other numeric value.'
+
+[log]
+description = 'Returns the logarithm of `x` in the given base.'
+
+['log Lua 5.1']
+description = 'Returns the natural logarithm of `x` .'
+
+[log10]
+description = 'Returns the base-10 logarithm of x.'
+
+[ldexp]
+description = 'Returns `m * (2 ^ e)` .'
+
+[max]
+description = 'Returns the argument with the maximum value, according to the Lua operator `<`.'
+
+[maxinteger]
+description = 'An integer with the maximum value for an integer.'
+
+[min]
+description = 'Returns the argument with the minimum value, according to the Lua operator `<`.'
+
+[mininteger]
+description = 'An integer with the minimum value for an integer.'
+
+[modf]
+description = 'Returns the integral part of `x` and the fractional part of `x`.'
+
+[pi]
+description = 'The value of *π*.'
+
+[pow]
+description = 'Returns `x ^ y` .'
+
+[rad]
+description = 'Converts the angle `x` from degrees to radians.'
+
+[random]
+description = [[
+* `math.random()`: Returns a float in the range [0,1).
+* `math.random(n)`: Returns a integer in the range [1, n].
+* `math.random(m, n)`: Returns a integer in the range [m, n].
+]]
+
+[randomseed]
+description = 'Sets `x` as the "seed" for the pseudo-random generator.'
+
+["randomseed Lua 5.4"]
+description = [[
+* `math.randomseed(x, y)`: Concatenate `x` and `y` into a 128-bit `seed` to reinitialize the pseudo-random generator.
+* `math.randomseed(x)`: Equate to `math.randomseed(x, 0)` .
+* `math.randomseed()`: Generates a seed with a weak attempt for randomness.
+]]
+
+[sin]
+description = 'Returns the sine of `x` (assumed to be in radians).'
+
+[sinh]
+description = 'Returns the hyperbolic sine of `x` (assumed to be in radians).'
+
+[sqrt]
+description = 'Returns the square root of `x`.'
+
+[tan]
+description = 'Returns the tangent of `x` (assumed to be in radians).'
+
+[tanh]
+description = 'Returns the hyperbolic tangent of `x` (assumed to be in radians).'
+
+[tointeger]
+description = 'If the value `x` is convertible to an integer, returns that integer.'
+
+[type]
+[[.enums]]
+name = 'type'
+enum = '"integer"'
+description = '`x` is an integer.'
+``````````
+name = 'type'
+enum = '"float"'
+description = '`x` is a float.'
+``````````
+name = 'type'
+code = 'nil'
+description = '`x` is not a number.'
+
+[ult]
+description = 'Returns `true` if and only if `m` is below `n` when they are compared as unsigned integers.'
diff --git a/server-beta/locale/en-US/libs/@lua/os.lni b/server-beta/locale/en-US/libs/@lua/os.lni
new file mode 100644
index 00000000..82b7c228
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/os.lni
@@ -0,0 +1,38 @@
+[clock]
+description = 'Returns an approximation of the amount in seconds of CPU time used by the program.'
+
+[data]
+description = 'Returns a string or a table containing date and time, formatted according to the given string `format`.'
+
+[difftime]
+description = 'Returns the difference, in seconds, from time `t1` to time `t2`.'
+
+[execute]
+description = 'Passes `command` to be executed by an operating system shell.'
+
+['execute Lua 5.1']
+description = 'Passes `command` to be executed by an operating system shell.'
+
+[exit]
+description = 'Calls the ISO C function `exit` to terminate the host program.'
+
+['exit Lua 5.1']
+description = 'Calls the C function `exit` to terminate the host program.'
+
+[getenv]
+description = 'Returns the value of the process environment variable `varname`.'
+
+[remove]
+description = 'Deletes the file with the given name.'
+
+[rename]
+description = 'Renames the file or directory named `oldname` to `newname`.'
+
+[setlocale]
+description = 'Sets the current locale of the program.'
+
+[time]
+description = 'Returns the current time when called without arguments, or a time representing the local date and time specified by the given table.'
+
+[tmpname]
+description = 'Returns a string with a file name that can be used for a temporary file.'
diff --git a/server-beta/locale/en-US/libs/@lua/package.lni b/server-beta/locale/en-US/libs/@lua/package.lni
new file mode 100644
index 00000000..1c8b633a
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/package.lni
@@ -0,0 +1,29 @@
+[config]
+description = 'A string describing some compile-time configurations for packages.'
+
+[cpath]
+description = 'The path used by `require` to search for a C loader.'
+
+[loaded]
+description = 'A table used by `require` to control which modules are already loaded.'
+
+[loaders]
+description = 'A table used by `require` to control how to load modules.'
+
+[loadlib]
+description = 'Dynamically links the host program with the C library `libname`.'
+
+[path]
+description = 'The path used by `require` to search for a Lua loader.'
+
+[preload]
+description = 'A table to store loaders for specific modules.'
+
+[searchers]
+description = 'A table used by `require` to control how to load modules.'
+
+[searchpath]
+description = 'Searches for the given `name` in the given `path`.'
+
+[seeall]
+describing = 'Sets a metatable for `module` with its `__index` field referring to the global environment, so that this module inherits values from the global environment. To be used as an option to function `module` .'
diff --git a/server-beta/locale/en-US/libs/@lua/string.lni b/server-beta/locale/en-US/libs/@lua/string.lni
new file mode 100644
index 00000000..2055b16b
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/string.lni
@@ -0,0 +1,72 @@
+[byte]
+description = 'Returns the internal numeric codes of the characters `s[i], s[i+1], ..., s[j]`.'
+
+[char]
+description = 'Returns a string with length equal to the number of arguments, in which each character has the internal numeric code equal to its corresponding argument.'
+
+[dump]
+description = 'Returns a string containing a binary representation (a *binary chunk*) of the given function.'
+
+[find]
+description = 'Looks for the first match of [`pattern`](https://www.lua.org/manual/5.3/manual.html#6.4.1) in the string.'
+
+[format]
+description = 'Returns a formatted version of its variable number of arguments following the description given in its first argument.'
+
+[gmatch]
+description = [[
+----------
+```lua
+s = "hello world from Lua"
+for w in string.gmatch(s, "%a+") do
+ print(w)
+end
+```
+]]
+
+["gmatch Lua 5.4"]
+description = [[
+----------
+```lua
+s = "hello world from Lua"
+for w in string.gmatch(s, "%a+") do
+ print(w)
+end
+```
+]]
+
+[gsub]
+description = 'Returns a copy of s in which all (or the first `n`, if given) occurrences of the [`pattern`](https://www.lua.org/manual/5.3/manual.html#6.4.1) have been replaced by a replacement string specified by `repl`.'
+
+[len]
+description = 'Returns its length.'
+
+[lower]
+description = 'Returns a copy of this string with all uppercase letters changed to lowercase.'
+
+[match]
+description = 'Looks for the first match of [`pattern`](https://www.lua.org/manual/5.3/manual.html#6.4.1) in the string.'
+
+[pack]
+description = 'Returns a binary string containing the values `v1`, `v2`, etc. packed (that is, serialized in binary form) according to the format string [`fmt`](https://www.lua.org/manual/5.3/manual.html#6.4.2).'
+
+[packsize]
+description = 'Returns the size of a string resulting from `string.pack` with the given format.'
+
+[rep]
+description = 'Returns a string that is the concatenation of `n` copies of the string `s` separated by the string `sep`.'
+
+['rep Lua 5.1']
+description = 'Returns a string that is the concatenation of `n` copies of the string `s` .'
+
+[reverse]
+description = 'Returns a string that is the string `s` reversed.'
+
+[sub]
+description = 'Returns the substring of the string that starts at `i` and continues until `j`.'
+
+[unpack]
+description = 'Returns the values packed in string according to the format string [`fmt`](https://www.lua.org/manual/5.3/manual.html#6.4.2).'
+
+[upper]
+description = 'Returns a copy of this string with all lowercase letters changed to uppercase.'
diff --git a/server-beta/locale/en-US/libs/@lua/table.lni b/server-beta/locale/en-US/libs/@lua/table.lni
new file mode 100644
index 00000000..d32ea4ae
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/table.lni
@@ -0,0 +1,39 @@
+[concat]
+description = [[
+--------
+```lua
+return list[i]..sep..list[i+1] ··· sep..list[j]
+```
+]]
+
+[insert]
+description = 'Inserts element `value` at position `pos` in `list`.'
+
+[maxn]
+description = 'Returns the largest positive numerical index of the given table, or zero if the table has no positive numerical indices.'
+
+[move]
+description = [[
+Moves elements from table `a1` to table `a2`.
+```lua
+a2[t],··· = a1[f],···,a1[e]
+return a2
+```
+]]
+
+[pack]
+description = 'Returns a new table with all arguments stored into keys `1`, `2`, etc. and with a field `"n"` with the total number of arguments.'
+
+[remove]
+description = 'Removes from `list` the element at position `pos`, returning the value of the removed element.'
+
+[sort]
+description = 'Sorts list elements in a given order, *in-place*, from `list[1]` to `list[#list]`.'
+
+[unpack]
+description = [[
+-------
+```lua
+return list[i], list[i+1], ···, list[j]
+```
+]]
diff --git a/server-beta/locale/en-US/libs/@lua/utf8.lni b/server-beta/locale/en-US/libs/@lua/utf8.lni
new file mode 100644
index 00000000..c7ab9bf3
--- /dev/null
+++ b/server-beta/locale/en-US/libs/@lua/utf8.lni
@@ -0,0 +1,40 @@
+[char]
+description = 'Receives zero or more integers, converts each one to its corresponding UTF-8 byte sequence and returns a string with the concatenation of all these sequences.'
+
+[charpattern]
+description = 'The pattern which matches exactly one UTF-8 byte sequence, assuming that the subject is a valid UTF-8 string.'
+
+[codes]
+description = [[
+--------
+```lua
+for p, c in utf8.codes(s) do
+ body
+end
+```
+]]
+
+["codes Lua 5.4"]
+description = [[
+--------
+```lua
+for p, c in utf8.codes(s) do
+ body
+end
+```
+]]
+
+[codepoint]
+description = 'Returns the codepoints (as integers) from all characters in `s` that start between byte position `i` and `j` (both included).'
+
+["codepoint Lua 5.4"]
+description = 'Returns the codepoints (as integers) from all characters in `s` that start between byte position `i` and `j` (both included).'
+
+[len]
+description = 'Returns the number of UTF-8 characters in string `s` that start between positions `i` and `j` (both inclusive).'
+
+["len Lua 5.4"]
+description = 'Returns the number of UTF-8 characters in string `s` that start between positions `i` and `j` (both inclusive).'
+
+[offset]
+description = 'Returns the position (in bytes) where the encoding of the `n`-th character of `s` (counting from position `i`) starts.'
diff --git a/server-beta/locale/en-US/script.lni b/server-beta/locale/en-US/script.lni
new file mode 100644
index 00000000..9c108203
--- /dev/null
+++ b/server-beta/locale/en-US/script.lni
@@ -0,0 +1,122 @@
+DIAG_LINE_ONLY_SPACE = 'Line with spaces only.'
+DIAG_LINE_POST_SPACE = 'Line with postspace.'
+DIAG_UNUSED_LOCAL = 'Unused local `{}`.'
+DIAG_UNDEF_GLOBAL = 'Undefined global `{}`.'
+DIAG_UNDEF_ENV_CHILD = 'Undefined variable `{}` (overloaded `_ENV` ).'
+DIAG_UNDEF_FENV_CHILD = 'Undefined variable `{}` (inside module).'
+DIAG_GLOBAL_IN_NIL_ENV = 'Invalid global (`_ENV` is `nil`).'
+DIAG_GLOBAL_IN_NIL_FENV = 'Invalid global (module environment is `nil`).'
+DIAG_UNUSED_LABEL = 'Unused label `{}`.'
+DIAG_UNUSED_FUNCTION = 'Unused functions.'
+DIAG_UNUSED_VARARG = 'Unused vararg.'
+DIAG_REDEFINED_LOCAL = 'Redefined local `{}`.'
+DIAG_DUPLICATE_INDEX = 'Duplicate index `{}`.'
+DIAG_DUPLICATE_METHOD = 'Duplicate method `{}`.'
+DIAG_PREVIOUS_CALL = 'Parsed as function call for the previous line. It may be necessary to add a `;` before.'
+DIAG_OVER_MAX_ARGS = 'The function takes only {:d} parameters, but you passed {:d}.'
+DIAG_OVER_MAX_ARGS = 'Only has {} variables, but you set {} values.'
+DIAG_AMBIGUITY_1 = 'Compute `{}` first. You may need to add brackets.'
+DIAG_LOWERCASE_GLOBAL = 'Global variable in lowercase initial.'
+DIAG_EMPTY_BLOCK = 'Empty block.'
+DIAG_DIAGNOSTICS = 'Lua Diagnostics.'
+DIAG_SYNTAX_CHECK = 'Lua Syntax Check.'
+DIAG_NEED_VERSION = 'Supported in {}, current is {}.'
+DIAG_DEFINED_VERSION = 'Defined in {}, current is {}.'
+DIAG_DEFINED_CUSTOM = 'Defined in {}.'
+DIAG_DUPLICATE_CLASS = 'Duplicate class.'
+DIAG_UNDEFINED_CLASS = 'Undefined Class.'
+DIAG_CYCLIC_EXTENDS = 'Cyclic extends.'
+DIAG_INEXISTENT_PARAM = 'Inexistent param.'
+DIAG_DUPLICATE_PARAM = 'Duplicate param.'
+DIAG_NEED_CLASS = 'Class needs to be defined first.'
+DIAG_DUPLICATE_FIELD = 'Duplicate field.'
+DIAG_SET_CONST = 'Assignment to const variable.'
+
+MWS_NOT_SUPPORT = '{} dose not support multi workspace for now, I may need to restart to support the new workspace ...'
+MWS_RESTART = 'Restart'
+MWS_NOT_COMPLETE = 'Workspace is not complete yet. You may try again later...'
+MWS_COMPLETE = 'Workspace is complete now. You may try again...'
+MWS_MAX_PRELOAD = 'Preloaded files has reached the upper limit ({}), you need to manually open the files that need to be loaded.'
+MWS_UCONFIG_FAILED = 'Saving user setting failed.'
+MWS_UCONFIG_UPDATED = 'User setting updated.'
+MWS_WCONFIG_UPDATED = 'Workspace setting updated.'
+
+PARSER_CRASH = 'Parser crashed! Last words:{}'
+PARSER_UNKNOWN = 'Unknown syntax error...'
+PARSER_MISS_NAME = '<name> expected.'
+PARSER_UNKNOWN_SYMBOL = 'Unexpected symbol `{symbol}`.'
+PARSER_MISS_SYMBOL = 'Missed symbol `{symbol}`.'
+PARSER_MISS_ESC_X = 'Should be 2 hexadecimal digits.'
+PARSER_UTF8_SMALL = 'At least 1 hexadecimal digit.'
+PARSER_UTF8_MAX = 'Should between {min} and {max} .'
+PARSER_ERR_ESC = 'Invalid escape sequence.'
+PARSER_MUST_X16 = 'Should be hexadecimal digits.'
+PARSER_MISS_EXPONENT = 'Missed digits for the exponent.'
+PARSER_MISS_EXP = '<exp> expected.'
+PARSER_MISS_FIELD = '<field> expected.'
+PARSER_MISS_METHOD = '<method> expected.'
+PARSER_ARGS_AFTER_DOTS = '`...` should be the last arg.'
+PARSER_KEYWORD = '<keyword> cannot be used as name.'
+PARSER_EXP_IN_ACTION = 'Unexpected <exp> .'
+PARSER_BREAK_OUTSIDE = '<break> not inside a loop.'
+PARSER_MALFORMED_NUMBER = 'Malformed number.'
+PARSER_ACTION_AFTER_RETURN = '<eof> expected after `return`.'
+PARSER_ACTION_AFTER_BREAK = '<eof> expected after `break`.'
+PARSER_NO_VISIBLE_LABEL = 'No visible label `{label}` .'
+PARSER_REDEFINE_LABEL = 'Label `{label}` already defined.'
+PARSER_UNSUPPORT_SYMBOL = '{version} does not support this grammar.'
+PARSER_UNEXPECT_DOTS = 'Cannot use `...` outside a vararg function.'
+PARSER_UNKNOWN_TAG = 'Unknown tag.'
+PARSER_MULTI_TAG = 'Dose not support multi tags.'
+PARSER_UNEXPECT_LFUNC_NAME = 'Local function can only use identifiers as name.'
+PARSER_ERR_LCOMMENT_END = 'Multi-line annotations should be closed by `{symbol}` .'
+PARSER_ERR_C_LONG_COMMENT = 'Lua should use `--[[ ]]` for multi-line annotations.'
+PARSER_ERR_LSTRING_END = 'Long string should be closed by `{symbol}` .'
+PARSER_ERR_ASSIGN_AS_EQ = 'Should use `=` for assignment.'
+PARSER_ERR_EQ_AS_ASSIGN = 'Should use `==` for equal.'
+PARSER_ERR_UEQ = 'Should use `~=` for not equal.'
+PARSER_ERR_THEN_AS_DO = 'Should use `then` .'
+PARSER_ERR_DO_AS_THEN = 'Should use `do` .'
+PARSER_MISS_END = 'Miss corresponding `end` .'
+PARSER_ERR_COMMENT_PREFIX = 'Lua should use `--` for annotations.'
+PARSER_MISS_SEP_IN_TABLE = 'Miss symbol `,` or `;` .'
+
+SYMBOL_ANONYMOUS = '<Anonymous>'
+
+HOVER_DOCUMENT_LUA51 = '[View documents](http://www.lua.org/manual/5.1/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA52 = '[View documents](http://www.lua.org/manual/5.2/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA53 = '[View documents](http://www.lua.org/manual/5.3/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUA54 = '[View documents](http://www.lua.org/work/doc/manual.html#pdf-{})'
+HOVER_DOCUMENT_LUAJIT = '[View documents](http://www.lua.org/manual/5.1/manual.html#pdf-{})'
+HOVER_MULTI_PROTOTYPE = '({} prototypes)'
+
+ACTION_DISABLE_DIAG = 'Disable diagnostics ({}).'
+ACTION_MARK_GLOBAL = 'Mark `{}` as defined global.'
+ACTION_REMOVE_SPACE = 'Clear all postemptive spaces.'
+ACTION_ADD_SEMICOLON = 'Add `;` .'
+ACTION_ADD_BRACKETS = 'Add brackets.'
+ACTION_RUNTIME_VERSION = 'Change runtime version to {} .'
+ACTION_OPEN_LIBRARY = 'Load globals from {} .'
+ACTION_ADD_DO_END = 'Add `do ... end` .'
+ACTION_FIX_LCOMMENT_END = 'Modify to the correct multi-line annotations closing symbol.'
+ACTION_ADD_LCOMMENT_END = 'Close multi-line annotations.'
+ACTION_FIX_C_LONG_COMMENT = 'Modify to Lua multi-line annotations format.'
+ACTION_FIX_LSTRING_END = 'Modify to the correct long string closing symbol.'
+ACTION_ADD_LSTRING_END = 'Close long string.'
+ACTION_FIX_ASSIGN_AS_EQ = 'Modify to `=` .'
+ACTION_FIX_EQ_AS_ASSIGN = 'Modify to `==` .'
+ACTION_FIX_UEQ = 'Modify to `~=` .'
+ACTION_FIX_THEN_AS_DO = 'Modify to `then` .'
+ACTION_FIX_DO_AS_THEN = 'Modify to `do` .'
+ACTION_ADD_END = 'Add `end` (infer the addition location ny indentations).'
+ACTION_FIX_COMMENT_PREFIX = 'Modify to `--` .'
+
+COMMAND_DISABLE_DIAG = 'Disable diagnostics'
+COMMAND_MARK_GLOBAL = 'Mark defined global'
+COMMAND_REMOVE_SPACE = 'Clear all postemptive spaces'
+COMMAND_ADD_BRACKETS = 'Add brackets'
+COMMAND_RUNTIME_VERSION = 'Change runtime version'
+COMMAND_OPEN_LIBRARY = 'Load globals from 3rd library'
+
+DEBUG_MEMORY_LEAK = "{} I'm sorry for the serious memory leak. The language service will be restarted soon."
+DEBUG_RESTART_NOW = 'Restart now'