Noverwyn Documentation
API set:
148

‹ All natives

Namespace: EVENT API set: server Language: Luau Improve

client:<name>

on("client:vip_wear", function(player, payload) end)

A client sends an event.

Replace <name> with the name chosen on the client with nov_emit.

Parameters#

  • player (Player): the sender
  • payload (string): text sent, 4096 bytes at most

Example#

on("client:vip_wear", function(player, code)
	player:wearVip(code)
end)

Notes#

  • Never trust the content: a modified client can send anything. Check distance, role, bounds.
  • 20 events per second per player; the next ones are ignored.

Namespace: PLAYER

Namespace: ENTITY

Namespace: ZONE

Namespace: TIME

Namespace: SCRIPT

Namespace: EVENT

Namespace: CLIENT

Namespace: CLIENT EVENT

Namespace: UNIFORM

Namespace: WAND

Namespace: LOOK

Namespace: CONTROL

Namespace: GAIT

Namespace: VOICE

Namespace: ATELIER

Namespace: TOOL