> For the complete documentation index, see [llms.txt](https://docs.mest3rdevelopment.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mest3rdevelopment.com/new-player-mode/events-exports-snippets.md).

# Events, exports, snippets

* Event to manually make the resource check the player's play time and add/remove new player mode if needed.&#x20;

  ```lua
  TriggerServerEvent("mester_newplayerCheck")
  ```
* Export to manually remove new player mode, from a specified player.

  ```lua
  --@type res boolean
  --@type err string
  local res, err = exports["mester_newplayer"]:removeNewPlayer(playerId)
  ```
* Export to get remaining minutes of new player mode, for the specified player.

  ```lua
  --@type mins int, boolean
  --@type err string
  local mins, err = exports["mester_newplayer"]:getNewMinutes(playerId)
  ```
