UCR and Voting via plugin integrations
These are methods that are loaded when other plugins are detected, adding more features!
Callvote plugin methods
StartVoteStartVoteAndWaitVoteOption
Uncomplicated Custom Roles plugin methods
GetUCRRoleSetUCRRoleUCRRoleInfoGetPlayersWithUCRRole
Admin Toy methods
Used for handling admin toys, like spawning, modifying, teleporting etc.
CreateToy(@Tosoks67)DestroyToy(@Tosoks67)MoveToy(@Tosoks67)SetToyParent(@Tosoks67)SetToyRotationSetToyScaleTPToyPlayer(@Tosoks67)TPToyPos(@Tosoks67)TPToyRoom(@Tosoks67)ToyInfo(@Tosoks67)SetCameraProperties(@Tosoks67)SetLightSourceProperties(@Tosoks67)SetPrimitiveObjectProperties(@Tosoks67)SetShootingTargetProperties(@Tosoks67)SetTextProperties(@Tosoks67)InteractableToyEventflag (@Tosoks67)
Better global variables
- Added verifications for name collisions with other variables.
- Replaced
GlobalVariablemethod withglobalkeyword. (@Tosoks67)
# This will create a global variable
global $myGlobalVar = "hello!"
foreach -> over keyword change
Changed the name of the foreach loop to over loop for better readability.
No functionality was changed.
# This is how it looks
over @all
Print "found player!"
end
over @all
with @plr
Print "found player {@plr name}!"
end
Stricter checks for running scripts
When a script uses !-- OnEvent or !-- CustomCommand, running it by any other mean will not be possible.
Other additions:
- more example scripts
ToFlagsmethodIsLiteralmethodSetAppearancemethod (EXILEDmust be installed)PlayWaveEffectmethodGetVariableByNamemethod- fixed minor bugs
New contributor: @Unbistrackted
Fixed plugin bridge error.