mirror of
https://github.com/etlegacy/etlegacy-lua-scripts.git
synced 2024-11-14 09:00:45 +00:00
Lua scripts for the Legacy mod
07d37a329a
Fix test.lua |
||
---|---|---|
announcehp | ||
CONSTANTS | ||
dynamite | ||
ladm | ||
noq | ||
pm | ||
TESTS | ||
xpsave | ||
zelly@5358d87fb4 | ||
.gitmodules | ||
README.md |
Lua scripts
- Lua scripts for the Legacy mod.
CONSTANTS
- Scripts with useful constants for custom scripts
dynamite
- This Script supports beside legacy mod: ETPro, EtPub & NoQuarter
- Clients can toggle dynatimer with
setu v_dynatimer 1/0
xpsave
- This script is intended for Legacy mod, but may work in NoQuarter 1.2.9 and above
- LuaSQL module with sqlite3 driver is required
- The script could be tweaked to use file backend or other database drivers instead of sqlite3
noq (under construction)
- Game manager, shrubbot and/or ET admin mod replacement
- LuaSQL module with sqlite3 or mysql driver are required
pm - private messages
- use
pm
console command to send a private message to another player - message is sent to the first matched player name
- player name is a colour and case-insensitive pattern, e.g. ton will match player /-^321ToN-/
- usage: pm player Hello, how are you?
ladm - lightweight administration suite
- NOTE: not even alpha state. Do not use.
- manage users on your server
announcehp
- Killer's HP is displayed to their victims.
Notes
- Please always add modname and version to your lua script
modname="NameofLua"
version="1.0"
function et_InitGame()
et.RegisterModname(modname.." "..version)
end