Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions addons/FastCS/FastCS.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_addon.name = "FastCS"
_addon.author = "Cairthenn"
_addon.version = "1.3"
_addon.author = "Cairthenn, Nineball"
_addon.version = "1.4"
_addon.commands = {"FastCS","FCS"}

--Requires:
Expand All @@ -11,7 +11,7 @@ require("luau")

defaults = {}
defaults.frame_rate_divisor = 2
defaults.exclusions = S{"home point #1", "home point #2", "home point #3", "home point #4", "home point #5", "igsli", "urbiolaine", "teldro-kesdrodo", "nunaarl bthtrogg", "survival guide", "waypoint"}
defaults.exclusions = S{"home point #1", "home point #2", "home point #3", "home point #4", "home point #5", "igsli", "urbiolaine", "teldro-kesdrodo", "nunaarl bthtrogg", "survival guide", "waypoint", "treasure casket"}
settings = config.load(defaults)

-- Globals:
Expand All @@ -30,6 +30,8 @@ helptext = [[FastCS - Command List:
- The prefix can be used interchangeably. For example, "fastcs fps 2" will set the default to 30 FPS.
3. exclusion [add|remove] <name>
- Adds or removes a target from the exclusions list. Case insensitive.
4. exclusion list
- Shows currently loaded exclusions list.
]]

function disable()
Expand Down Expand Up @@ -125,9 +127,17 @@ windower.register_event("addon command", function (command,...)
if args[1] == "add" then
settings.exclusions:add(args[2]:lower())
notice(args[2] .. " added to the exclusions list.")
settings:save()
elseif args[1] == "remove" then
settings.exclusions:remove(args[2]:lower())
notice(args[2] .. " removed from the exclusions list.")
settings:save()
else
error("The command syntax was invalid.")
end
elseif #args == 1 then
if args[1] == "list" then
notice("exclusions : " .. tostring(settings.exclusions))
else
error("The command syntax was invalid.")
end
Expand Down
6 changes: 3 additions & 3 deletions addons/FastCS/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Author:** Cairthenn<br>
**Version:** 1.2<br>
**Date:** Jan. 31, 2016<br>
**Author:** Cairthenn, Nineball<br>
**Version:** 1.4<br>
**Date:** July 7, 2025<br>

# FastCS #

Expand Down