Skip to main content

PropertyPunishActivityCheck

Callable


  • Check if the player character has performed one or more of the passed activities ever since the last PropertyPunishActivityNames refresh.


    Parameters

    • name: ActivityName | readonly ActivityName[] = null

      The name(s) of the activity to check. If null, check if any activity at all is present

    • clearCache: boolean = true

      Whether to automatically remove name from the PropertyPunishActivityNames cache. name == null implies that all entries should be removed.

    Returns boolean