Changing the default “category” slug is similar to renaming a view: https://theeventscalendar.com/knowledgebase/renaming-views/ The base naming structure will need to remain the same, but you can change the word ‘category’ to something else.
To change “events/category” to “events/new-name-for-category”, the following should be placed in functions.php: