CustomCommand flag additions
*commandlocal variableResetGlobalCommandCooldownmethodResetPlayerCommandCooldownmethod-- invalidRankMessageargument-- neededPermissionargument-- noPermissionMessageargument-- onCooldownMessageargument-- globalCooldownargument-- onGlobalCooldownMessageargument- Optional arguments for
-- argumentsoption
Enum flag changes
(not to be confused with script flags)
- Added new syntax to define multiple enum values for the same argument using
|syntax
Instead of usingToFlagsmethod, use theVal1|Val2|Val3system instead.
Example:SetPrimitiveObjectProperties *toy _ _ Collidable|Visible
Be sure to NOT put a space there! Doing so will result in SER viewing them as different arguments. - Removed
ToFlagsmethod
Fixes
- Fixed
damageoption ofDamageInfomethod returning text instead of a number - Fixed the description in text arguments saying that text can be provided without quotes when not
- Fixed
Chancemethod having inverted chance of returningtrue - Fixed
stopkeyword crashing the server if used in specific circumstances - Fixed
RespawnWaveInfonot being compatible with all wave references (@Tosoks67) - Fixed EXILED being required for SER to load (@Tosoks67)
- Fixed some enums not being searchable using
serhelpcommand - Fixed obsolete enum values being listed as available to use
- Fixed events tring to create invalid variables
- Fixed
TPRoommethod erroring when not providing optional arguments - Fixed incorrect tracking of running scripts resulting in "ghost scripts"
- Fixed
OnEventflag not erroring when provided with an incorrect event name
Additions
- Added default value of
RemoteAdminforlock reasonargument inLockElevatormethod - Added more example scripts
- Added
attemptandon_errorstatements (@Tosoks67) - Added
Overlappingmethod - Added
FriendlyFiremethod
Improvements
- Checking if script is attempting to use a yielding method inside
{}brackets - Better checking of inputs in enum arguments
- Printing of
StaticTextValueandDynamicTextValuetypes in method help - If script has multiple errors, all of them will be provided in a list, instead of only the first one
- Added hint to use
serhelp <enum name>in enum argument - Better error message formatting for invalid tokens
- Custom error for when an invalid method is used inside
{}brackets