forked from explosivegaming/scenario
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
170 changed files
with
13,359 additions
and
2,219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
return { | ||
admin_as_active = true, --- @setting admin_as_active When true admins will be treated as active regardless of afk time | ||
trust_as_active = true, --- @setting trust_as_active When true trusted players (by playtime) will be treated as active regardless of afk time | ||
active_role = 'Veteran', --- @setting active_role When not nil a player with this role will be treated as active regardless of afk time | ||
afk_time = 3600*10, --- @setting afk_time The time in ticks that must pass for a player to be considered afk | ||
kick_time = 3600*30, --- @setting kick_time The time in ticks that must pass without any active players for all players to be kicked | ||
trust_time = 3600*60*10, --- @setting trust_time The time in ticks that a player must be online for to count as trusted | ||
update_time = 3600*30, --- @setting update_time How often in ticks the script checks for active players | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- This will make commands only work when a valid color from the presets has been selected | ||
-- @config Commands-Color-Parse | ||
|
||
local Commands = require 'expcore.commands' --- @dep expcore.commands | ||
local Colours = require 'utils.color_presets' --- @dep utils.color_presets | ||
|
||
Commands.add_parse('color',function(input, _, reject) | ||
if not input then return end | ||
local color = Colours[input] | ||
if not color then | ||
return reject{'expcore-commands.reject-color'} | ||
else | ||
return input | ||
end | ||
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.