Resource icon

[Open Assets] JoinSFX

After working on console and command related scripting for a few hours, I bring you JoinSFX!

JoinSFX is a script that simply plays a sound whenever a player joins a server. However, that's only the tip of the iceberg.



The sound effect can actually be picked from a list of several different ones that have been coded into the script.


A whole 25 different sound effects are available in this first version, along with a built in default option to disable the join sound outright.


It is also worth mentioning that this script's command is server host exclusive. This means that if you are hosting a server and a normal player tries to use the command, they'll be told of the host requirement instead of being able to see the list, set the sound, etc.


The only quirk at the moment, though, is that rejointimeout is currently not supported by this script. Until the hook handling player rejoins is uncovered, no sound will play for players returning to a server with rejointimeout active.


Only one new command is added, but it has a few arguments to note;


"joinsfx" is said new command, and the arguments are as follows:
nothing/"help" - Will give the user a quick rundown of how to get started.
"list" - Will print a list of applicable SFX in the console.
SFX name - Will set the join SFX to the chosen sound if it is available from the list.


All that being said, enjoy JoinSFX!

Changelog:
v1 - Initial release, 25 sounds.
v2 - Change to .pk3 format, 6 custom sounds added. 32 sounds.
v2.1 - Adjusted volume of some sounds, added 1 custom sound. 33 sounds.
  • giphy.gif
    giphy.gif
    213.9 KB · Views: 148
Author
Icezer
Views
768
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Icezer

Share this resource

Back
Top